how to access and perform manipulations on bits of 24 bit RGB image

3 vues (au cours des 30 derniers jours)
vishwanatha B.A
vishwanatha B.A le 6 Avr 2016
I want to apply functions to the (8)bits of pixels of an image. how could i do that with respect to Gray image and also especially with RGB image.
And i need to hide RGB mosaic image pixels inside another RGB target image at specified bits. can anyone could help me!!!

Réponses (2)

Walter Roberson
Walter Roberson le 7 Avr 2016
If the 24 bits per pixel are 8 bits of Red, 8 of Green, 8 of Blue, then just imread() the image, as that is a very common format.
I suspect your question is how to convert the data to "binary". For that see dec2bin()

Image Analyst
Image Analyst le 7 Avr 2016
See attached example on LSB watermarking.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by