I have an image file to view in MATLAB. When I do "a = imread(filename)" and "image(a)", it gives the following errors:
Error using imageColor data must be an m-by-n-by-3 or m-by-n matrix.Error in display_jp2 (line 5)image(a)
The variable "a" is an m-by-n-by-4 matrix.
Best Answer