CImage:Axes


The Axes method returns the number of axes in the CImage.

Syntax

nAxes = CImage:Axes()

where

    nAxis is the number of axes in the CImage.

    On failure, this method returns 0.

Example

Suppose a CImage object I is attached to an image having 1024 columns x 800 rows. Then

nAxes = I:Axes()

-- returns nAxes = 2

Related Topics

Len

Cols

Rows

Planes

CImage class