ImageDimensions

ImageDimensions[image]

gives the pixel dimensions of an Image or Image3D object image.

Details

Examples

open allclose all

Basic Examples  (2)

Width and height of an image:

Width, depth, and height of a 3D image:

Properties & Relations  (3)

ImageDimensions returns width and height:

Dimensions on image data returns rows and columns, and therefore reverses the result:

ImageDimensions returns width and height:

For multichannel images, Dimensions of image data also returns the number of channels:

ImageDimensions for a 3D image returns width, depth and height:

Dimensions on image data returns slices, rows and columns, and therefore reverses the result:

Possible Issues  (1)

Image dimensions are not affected by the displayed size:

Introduced in 2008
 (7.0)
 |
Updated in 2012
 (9.0)