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

Post Reply
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

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

Post by matlab1 »

IMG must be an array of either grayscale or RGB images.
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests