how to save an double image with no changing in matlab?

2 ビュー (過去 30 日間)
Jack Moriss
Jack Moriss 2016 年 7 月 9 日
回答済み: Image Analyst 2016 年 7 月 9 日
hi i am working on image steganography project and my problem is that after hiding the message in image my image became double and when i save it as jpeg or png or tiff the data value changes. but when i save it by matlab tiff class i can extract the correct data but the image can not be seen on computer and no program can not open the image.is there a solution to this problem?

回答 (1 件)

Image Analyst
Image Analyst 2016 年 7 月 9 日
Cast it to uint8 before saving. Of course the data will change slightly. Whether your recovery algorithm can still get out a "good enough" image to interpret depends on how robust your recovery algorithm is.

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by