How to convert the color image into binary sequence?
Ältere Kommentare anzeigen
I am M.Tech scholar and working on watermarking. I imported color immage of size 512*512 and i want to convert that color image into binary sequence and that sequence has used in embedding of watermark.
Then, how to convert image into binary sequence?
Akzeptierte Antwort
Weitere Antworten (2)
gonzalo Mier
am 2 Mär. 2019
1 Stimme
I suppose you have a filter of color of [100,150,30], so to convert the image M you can do:
sol = squeeze( M(:,:,1) > 100 & M(:,:,2) > 150 & M(:,:,3) > 30 )
1 Kommentar
Walter Roberson
am 2 Mär. 2019
This would be a form of conversion from color to black and white, which is not what was being asked about.
Image Analyst
am 2 Mär. 2019
1 Stimme
I do that in my attached demo.
For more info, click the tag on the right that says "watermark".
Kategorien
Mehr zu Watermarking finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!