Page 1 of 1

IMG must be an array of either grayscale or RGB images.

Posted: Wed Feb 08, 2017 4:29 pm
by matlab1
IMG must be an array of either grayscale or RGB images.

Re: IMG must be an array of either grayscale or RGB images.

Posted: Wed Dec 30, 2020 8:32 am
by matlab1
solution :



image in MATLAB can be grayscale or RGB.

Grayscale image are two-dimensional.

RGB images are three-dimensional.

https://www.mathworks.com/help/matlab/ref/rgb2gray.html