what does the dimensions in an image represent
Show older comments
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)
KSSV
on 3 Jun 2019
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
malai guhan
on 6 Jun 2019
Edited: malai guhan
on 6 Jun 2019
KSSV
on 6 Jun 2019
It should be Red, Green, Blue and alpha value.
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!