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

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개)

카테고리

도움말 센터File Exchange에서 Display Image에 대해 자세히 알아보기

질문:

2013년 4월 14일

댓글:

2017년 5월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by