How can I embedd data to an image
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have an M X N image with each pixel grayscale value x∈[0,255]. I need to embedd some binary data to this image. For that I need to perform the following operations.
1. Scan the image, once meet the pixel (whose grayscale value is a), check the to-be-embedded bit. If the to-beembedded bit is “1”, the pixel grayscale value is changed to a+1. If the bit is “0”, the pixel value remains a.
2 Kommentare
Jan
am 17 Jan. 2013
These are detailed instructions. But what is your question? What have you tried so far and which problems occurred?
What kind of help do you expect from a forum?
Antworten (1)
Image Analyst
am 17 Jan. 2013
% Shift histogram right by one bin:
[maxCounts, indexOfMax] = max(counts) % counts is your histogram
counts(indexOfMax:end) = count(indexOfMax-1:end-1);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Filtering and Enhancement finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!