SmoothSurface_Mean


Smooths a surface by averaging heights within a rectangular kernel.

Applications:Usually used for computing features related to local surface "windows". Can be also used for noise removal, but Gauss is superior here.

Syntax

C++
C#
Python
 
def SmoothSurface_Mean(
	inSurface: Surface,
	outSurface: Surface,
	/,
	*,
	inRoi: Region | None = None,
	inKernel: KernelShape = KernelShape.Box,
	inRadiusX: int = 1,
	inRadiusY: int | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inSurface Surface
Input value inRoi Region | None None Range of points to be computed
Input value inKernel KernelShape KernelShape.Box Kernel shape
Input value inRadiusX int 0 - 1 Nearly half of the kernel's width (2*R+1)
Input value inRadiusY int | None 0 - None Nearly half of the kernel's height (2*R+1), or same as inRadiusX
Output value outSurface Surface

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.