Clear Filters
Clear Filters

Size of an image?

1 view (last 30 days)
SNEHA P S
SNEHA P S on 18 Jul 2017
Commented: SNEHA P S on 18 Jul 2017
I got the image size as below when i use size('image_name'). What does this 3 means?
>> size(image)
ans =
204 204 3

Accepted Answer

Adam
Adam on 18 Jul 2017
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.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!