Pixel Value Editing of image

1 回表示 (過去 30 日間)
Prateek
Prateek 2011 年 8 月 28 日
I am implementing LSB encoded steganography .For it firstly I want to get the no. of pixels in the image and second-edit the least significant bit of each pixel according to my data.How can I do it?
Thanx in advance......

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 8 月 29 日
Number of pixels in the image IMG is size(IMG,1) * size(IMG,2)
Editing the LSB of each pixel is something that I will leave for you to figure out. LSB steganography is a common class assignment that for an experienced programmer is usually only a few lines long, but I have seen students stuck on the assignment for literally more than 6 months. It would be unfair to the other students to give you the easy answer when so many students struggle for long times with the assignment.
For whatever reason, it has turned out to be an assignment that separates those who "get" computer programming from those those who do not "get" computer programming, so I have found it best not to interfere in this "rite of passage".

カテゴリ

Help Center および File ExchangeEncryption / Cryptography についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by