what does the dimensions in an image represent

I = imread('IR_00206_1.tif');
size(I);
on executing the above code the MATLAB outputs as following:
ans =
480 640 4
In this what does 480,640 and 4 refer to .

Answers (1)

Read about size
480 640 4
480 corresponds to number of rows.
640 corresponds to number of columns.
4 corresponds to the number of slices presen tin the image.

2 Comments

what does no. of slices represent in the image
It should be Red, Green, Blue and alpha value.

Sign in to comment.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Products

Asked:

on 3 Jun 2019

Commented:

on 6 Jun 2019

Community Treasure Hunt

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

Start Hunting!