see I am executing the code at the link given, but why it is not working on a 512* 512 , 8 bit image
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
tina jain
am 25 Apr. 2015
Bearbeitet: Stephen23
am 25 Apr. 2015
http://in.mathworks.com/matlabcentral/fileexchange/39925-1d-2d-discrete-wavelet-transform/content/DWT/dwt.m While the code is working well with the given png image, also on 256 * 256 any 8 bit image but not with 512 * 512 image. why it is so?
0 Kommentare
Akzeptierte Antwort
Stephen23
am 25 Apr. 2015
Bearbeitet: Stephen23
am 25 Apr. 2015
I don't see any reason why the size of an image should make a difference to that code. It may be that your image is an indexed image, in which case that code will not work. To find out if it is an indexed image simply run this code:
>> [X,map] = imread(filename);
and then have a look at the variable map: if this is not empty then your image is indexed, and you will need to convert it to RGB/Grayscale before using that code, perhaps using ind2rgb.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Discrete Multiresolution Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!