Let, i have an lena image of 512*512 pixels. if the consecutive pixels of an image are less than 100 i want to apply 3 LSB, but if the consecutive pixels or any one of them are more than 100 then i want to use PIXEL VALUE DIFFERENCING( PVD) METHOD.

1 回表示 (過去 30 日間)
I need to hide text inside an image,Let, i have an lena image of 512*512 pixels. if the consecutive pixels of an image are less than 100 i want to apply 3 LSB METHOD, but if the consecutive pixels or any one of them are more than 100 then i want to use pixel value differencing(PVD) method to hide 4 LSB OR 5 LSB basing upon the difference value between the consecutive pixels.i.e if the difference value is between 0 to 15 then 4 LSB ELSE 5 LSB. kindly give a suggestion?
  1 件のコメント
Walter Roberson
Walter Roberson 2017 年 4 月 30 日
How many consecutive pixels are being referred to? Consecutive in which directions ?

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2017 年 4 月 30 日
I don't have a demo for exactly what you want to do (two different methods). I don't even know what you mean by "3 LSB METHOD", "4 LSB METHOD" or "5 LSB METHOD", but I do have a demo for LSB encoding of text in an image in my File Exchange. It's also attached.
Feel free to modify it or study how it works.

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by