Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

reading and viewing image "Image Hiding"

3 vues (au cours des 30 derniers jours)
Anmar Mohammed
Anmar Mohammed le 26 Jan 2019
Clôturé : MATLAB Answer Bot le 20 Août 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 commentaire
Walter Roberson
Walter Roberson le 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.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by