Clear Filters
Clear Filters

Can you please explain the meaning for below error meessage code

2 views (last 30 days)
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 Comment
shalitha ramanayake
shalitha ramanayake on 6 May 2017
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.

Sign in to comment.

Accepted Answer

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

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!