Name
compress_image_mask - Returns an 1-D image that contains pixels from a 1-2-3D image selected by the mask
Usage
output = Util.compress_image_mask(image, mask)
Input
- image
- input image
- mask
- image mask . Note: mask has to have the same dimensions as the input image
Output
- output
the output 1-D image containing only pixels under mask (i.e., regions where mask values are > 0.5)
Author / Maintainer
Pawel A. Penczek
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.