reading and viewing image "Image Hiding"

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
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개)

이 질문은 마감되었습니다.

질문:

2019년 1월 26일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by