what does 4D of an image indicates?

22 views (last 30 days)
2D means, row and columns of an image.. 3D means.. row,column,RGB... in 4D, what are the dimensions it indicates?

Accepted Answer

Image Analyst
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.
  1 Comment
Sivakumaran Chandrasekaran
thanks image analyst and thanks walter.. you have multiple frames taken at different times. So the 4th dimension is time. this will match my requirement.

Sign in to comment.

More Answers (1)

Jan
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
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
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.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!