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

3 ビュー (過去 30 日間)
vishwanatha B.A
vishwanatha B.A 2016 年 4 月 6 日
回答済み: Image Analyst 2016 年 4 月 7 日
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!!!

回答 (2 件)

Walter Roberson
Walter Roberson 2016 年 4 月 7 日
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 2016 年 4 月 7 日
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