CImage:Planes
The Planes method returns the number of planes in the CImage, which is defined as the length of axis 3. The Planes method still is supported but has been replaced by the more general Len method.
nPlanes = CImage:Planes() where |
nPlanes is the length of image axis 3.
On failure, this method returns 0.
Suppose that CImage I has dimension 1024 x 512 x 64. Then
|
-- returns nLen = 64 |
|
-- returns nLen = 33554432 |