Name
decimate - decimate the image by an specified integer factor with center as the reference point,
Usage
output = Util.decimate(image, [ix, iy, iz])
Input
- image
- The input image which needs to decimated
- ix
- The integer factor by which the image is decimated in x-dimension, i.e., every ix'th point is selected.(required)
- iy
- The integer factor by which the image is decimated in y-dimension.(optional: default=1)
- iz
- The integer factor by which the image is decimated in z-dimension.(optional: default=1)
Output
- output
- The decimated image
Description
The input parameters are checked for consistency and if new image size exceeds the input image size an error is reported. (Note: The center of the input image is the reference point and hence the center of the decimated image is same as that of the input image).
Author / Maintainer
Bharath K Narayanan
Keywords
- category 1
- UTILITIES
- category 2
- SPATIAL
Files
util_sparx.cpp
See also
Maturity
- stable
- works for most people, has been tested; test cases/examples available.
Bugs
None. It is perfect.