SmoothImage_Median_Mask
Replaces each pixel with the median of pixels within a 3x3 rectangular kernel (faster).
Syntax
C++
Python
def SmoothImage_Median_Mask( inImage: Image, outImage: Image, /, *, inRoi: Region | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region | None | None | Range of outImage pixels to be computed |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


