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 Comment

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)

This question is closed.

Asked:

on 26 Jan 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!