Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cimg.dimensions

Image dimensions


Description

Image dimensions

Usage

width(im)

height(im)

spectrum(im)

depth(im)

nPix(im)

Arguments

im

an image

Functions

  • width: Width of the image (in pixels)

  • height: Height of the image (in pixels)

  • spectrum: Number of colour channels

  • depth: Depth of the image/number of frames in a video

  • nPix: Total number of pixels (prod(dim(im)))


imager

Image Processing Library Based on 'CImg'

v0.42.10
LGPL-3
Authors
Simon Barthelme [aut], David Tschumperle [ctb], Jan Wijffels [ctb], Haz Edine Assemlal [ctb], Shota Ochi [cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.