ConvolveImage
Computes a convolution of the input image with a user-specified mask.
Applications:Non-standard local transforms defined by the user.
Syntax
C++
Python
def ConvolveImage( inImage: Image, inMask: Matrix, outImage: Image, /, *, inRoi: Region | None = None, inNormalizeMaskValues: bool = False, inMaskOrigin: Location | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region | None | None | Range of outImage pixels to be computed |
![]() |
inMask | Matrix | Image convolution kernel | |
![]() |
inNormalizeMaskValues | bool | False | Normalize sum of weights in mask to one |
![]() |
inMaskOrigin | Location | None | None | Relative location of point to its mask |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
This operation supports processing on OpenCL compatible device (when inRoi=NIL).


