Info
此问题已关闭。 请重新打开它进行编辑或回答。
reading and viewing image "Image Hiding"
1 次查看(过去 30 天)
显示 更早的评论
Hi every one,
I'm working on image steganography and it works very well but later i noticed when i first read image (512x512x8) even before doing anything concerning image hiding the displayed image look like attached one,
bw = double (imread('barbara512.bmp'));
imshow(bw,[])
any ideas why?
thanks in advance.
1 个评论
Walter Roberson
2019-1-26
Do not use double(imread()) for this purpose. Use im2double(imread()) . And try imshow() without the []
The variable you are using hints you are expecting black and white, but it looks to me as if you probably are using grayscale.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!