why i cannot display an image

14 visualizzazioni (ultimi 30 giorni)
Sapam Jaya
Sapam Jaya il 21 Feb 2014
Risposto: john il 24 Mag 2019
I have done wavedec2 on an image and extracted the approximate coefficients using appcoef2.I want to display the approximate image but its showing total white.why is it so. how to get the image?
  1 Commento
Dishant Arora
Dishant Arora il 21 Feb 2014
Modificato: Dishant Arora il 21 Feb 2014
show us your code, it would be easier to find where you went wrong.

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 21 Feb 2014
use imagesc() or use imshow() with [] as the second parameter.
  3 Commenti
Walter Roberson
Walter Roberson il 21 Feb 2014
imagesc() picks up the current colormap, whatever that happens to be.
Sapam Jaya
Sapam Jaya il 22 Feb 2014
it helped..thnx

Accedi per commentare.

Più risposte (1)

john
john il 24 Mag 2019
please solve this issue , i have try hundred of times
command line error is
Attempt to execute SCRIPT image as a function:
C:\Users\ejaz\Desktop\working space\image.m
Error in images.internal.basicImageDisplay (line 24)
hh = image(cdata, ...
Error in imshow (line 293)
hh = images.internal.basicImageDisplay(fig_handle,ax_handle,...

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by