Functions |
VImage | VMask (VImage src, VImage dest, VImage mask) |
VImage | VMaskRange (VImage src, VImage dest, VDouble xmin, VDouble xmax) |
| pixels beyond the given grey value range [xmin,xmax] are set to zero.
|
Detailed Description
Masking a raster image
Pixels that are not covered by a given mask are set to zero.
Function Documentation
VImage VMask |
( |
VImage |
src, |
|
|
VImage |
dest, |
|
|
VImage |
mask | |
|
) |
| | |
- Parameters:
-
| src | input image (any repn) |
| dest | output image (any repn) |
| mask | mask image (bit repn) |
VImage VMaskRange |
( |
VImage |
src, |
|
|
VImage |
dest, |
|
|
VDouble |
xmin, |
|
|
VDouble |
xmax | |
|
) |
| | |
pixels beyond the given grey value range [xmin,xmax] are set to zero.
- Parameters:
-
| src | input image (any repn) |
| dest | output image (any repn) |
| xmin | min grey value |
| xmax | max grey value |