SmoothImage_DirAndPresence
Smooths the result of GradientDirAndPresenceImage.
Syntax
C++
C#
Python
def SmoothImage_DirAndPresence( inDirectionsImage: Image, outDirectionsImage: Image, /, *, inRadiusX: int = 1, inRadiusY: int | None = None, inQuantizationLevel: int = 5, inMinSampleCount: int = 1 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inDirectionsImage | Image | |||
![]() |
inRadiusX | int | 0 - ![]() |
1 | Horizontal radius of the kernel (width is 2r+1) |
![]() |
inRadiusY | int | None | 0 - ![]() |
None | Vertical radius of the kernel (height is 2r+1) |
![]() |
inQuantizationLevel | int | 1 - 5 | 5 | Determines angular quantization level; the lower the better but slower |
![]() |
inMinSampleCount | int | 1 - ![]() |
1 | A window is evaluated to 0 if it contains less than this number of non-zero pixels |
![]() |
outDirectionsImage | Image |



