Back to FabImage Library website
You are here: Start » Function Reference » Surface » Surface Interpolations » SmoothSurface_Gauss

SmoothSurface_Gauss
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DStandard |
Smooths a surface using a gaussian kernel.
Applications: Removal of gaussian noise from surfaces.
Syntax
C++
C#
void fil::SmoothSurface_Gauss ( const fil::Surface& inSurface, ftl::Optional<const fil::Region&> inRoi, float inStdDevX, ftl::Optional<float> inStdDevY, const float inKernelRelativeSize, fil::Surface& outSurface, int& diagKernelRadiusX, int& diagKernelRadiusY )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inSurface | const Surface& | |||
![]() |
inRoi | Optional<const Region&> | NIL | Range of output points to be computed | |
![]() |
inStdDevX | float | 0.0 - ![]() |
1.0f | Horizontal smoothing standard deviation |
![]() |
inStdDevY | Optional<float> | 0.0 - ![]() |
NIL | Vertical smoothing standard deviation |
![]() |
inKernelRelativeSize | const float | 0.0 - 3.0 | 2.0f | A multiple of the standard deviation determining the size of the kernel |
![]() |
outSurface | Surface& | |||
![]() |
diagKernelRadiusX | int& | Horizontal radius of Gaussian kernel being used | ||
![]() |
diagKernelRadiusY | int& | Vertical radius of Gaussian kernel being used |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region of interest exceeds a surface in SmoothSurface_Gauss. |