what does 4D of an image indicates?
19 views (last 30 days)
Show older comments
2D means, row and columns of an image.. 3D means.. row,column,RGB... in 4D, what are the dimensions it indicates?
0 Comments
Accepted Answer
Image Analyst
on 12 Mar 2013
If you have multiple multispectral images then it's a 4D image, for example a stack of color confocal microscopy images where each slice/layer is a 3 color (RGB) image. Or the Visible Human though they may store their data in some special format on disk.
Another example would be a color video where each color frame is a 3D image but you have multiple frames taken at different times. So the 4th dimension is time.
More Answers (1)
Jan
on 12 Mar 2013
It depends. The 4th component could mean an alpha channel, see "RGBA". Or the image is not stored in RGB colors, but in the CMYK color model. Or you have 4 different layers of grayscale images, e.g. stored in a TIFF file. Or it is any other 4 channel image taken by a camera which records 4 different wavelengths, perhaps green and 3 different infra-read-channels.
3 Comments
Walter Roberson
on 12 Mar 2013
The 4th dimension is probably for an image sequence. I(:,:,:,J) being for the J'th image.
Image Analyst
on 12 Mar 2013
A multispectral image is a 3D image no matter how many spectral channels it has. If you have multiple multispectral images then it's a 4D image, for example a stack of color confocal microscopy images where each slice/layer is a 3 color (RGB) image.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!