ThresholdSmoothedRegion_Mean
Returns region of pixels witch collect minAmount of pixels in rectangle in input region.
Syntax
C++
C#
Python
def ThresholdSmoothedRegion_Mean( inRegion: Region, inRadiusX: int, inMinCount: float, outRegion: Region, /, *, inRadiusY: int | None = None ) -> outMinAmount: int
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRegion | Region | Input region | ||
![]() |
inRadiusX | int | Nearly half of the kernel's width (2*R+1) | ||
![]() |
inRadiusY | int | None | None | Nearly half of the kernel's height (2*R+1), or same as inRadiusX | |
![]() |
inMinCount | float | 0.0 - 1.0 | Minimal part of pixels in rectangle to be in region | |
![]() |
outMinAmount | int | |||
![]() |
outRegion | Region | Output region |


