Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | image |
The shape of an image is a vector holding the length of each axis of the image. Although this information is also available in the summary function, it is so useful that it has been separated out into a separate function.
- imshape := im.shape() - npixels := prod(imshape) # imshape[1]*imshape[2]*...*imshape[n]