cimg.dimensions: Image dimensions
Description
Image dimensionsUsage
width(im)height(im)
spectrum(im)
depth(im)
nPix(im)
Functions
width: Width of the image (in pixels)height: Height of the image (in pixels)spectrum: Number of colour channelsdepth: Depth of the image/number of frames in a videonPix: Total number of pixels (prod(dim(im)))