Info

This question is closed. Reopen it to edit or answer.

reading and viewing image "Image Hiding"

1 view (last 30 days)
Anmar Mohammed
Anmar Mohammed on 26 Jan 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comment
Walter Roberson
Walter Roberson on 26 Jan 2019
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by