MATLAB: Size of an image

size;

I got the image size as below when i use size('image_name'). What does this 3 means?
>> size(image)
ans =
204 204 3

Best Answer

It means it is a true RGB image with Red, Green and Blue data channels rather than an indexed image that requires a colourmap to visualise it.
Related Question