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
Input value inDirectionsImage Image
Input value inRadiusX int 0 - 1 Horizontal radius of the kernel (width is 2r+1)
Input value inRadiusY int | None 0 - None Vertical radius of the kernel (height is 2r+1)
Input value inQuantizationLevel int 1 - 5 5 Determines angular quantization level; the lower the better but slower
Input value inMinSampleCount int 1 - 1 A window is evaluated to 0 if it contains less than this number of non-zero pixels
Output value outDirectionsImage Image