how to access and perform manipulations on bits of 24 bit RGB image
3 views (last 30 days)
Show older comments
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!!!
Answers (2)
Walter Roberson
on 7 Apr 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()
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!