Can you please explain the meaning for below error meessage code

1 次查看(过去 30 天)
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 个评论
shalitha ramanayake
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.

请先登录,再进行评论。

采纳的回答

Youssef  Khmou
Youssef Khmou 2013-4-14
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)

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by