Can you please explain the meaning for below error meessage code

figure,imshow(im);
Error using imageDisplayValidateParams>validateCData (line 117)
Unsupported dimension.
Error in imageDisplayValidateParams (line 31)
common_args.CData = validateCData(common_args.CData,image_type);
Error in imageDisplayParseInputs (line 79)
common_args = imageDisplayValidateParams(common_args);
Error in imshow (line 198)
[common_args,specific_args] = ...

1 commentaire

i allso have the same question.when i am use i=imread('iamge.tif') and then type the i=imshow(i) it didn't show the image .it was gave the above error.and i check the size of the image it have same row and colums.so how can i fix these error and how to get a out put image.

Connectez-vous pour commenter.

 Réponse acceptée

hi,
Your matrix is neither M-by-N nor M-N-3 check :
whos im
In order to visualize it, you need to adjust the size, if its an image sequences then try :
mplay(im)

Plus de réponses (0)

Catégories

En savoir plus sur Display Image dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by