You are here: Start » AVL.NET » AVS.SmoothImage_Bilateral Method
AVS.SmoothImage_Bilateral Method
Smooths an image while preserving sharp edges.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void SmoothImage_Bilateral ( AvlNet.Image inImage, float inDistanceSigma, float inColorSigma, AvlNet.BilateralSamplingMethod inSamplingMethod, int inIterationCount, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inDistanceSigma | float | <0.0f, 128.0f> | 5.0f | Sigma used when calculating the gaussian difference two pixel positions. Default value: 5.0f. | |
inColorSigma | float | <0.0f, INF> | 35.0f | Sigma used when calculating the gaussian difference between two colors. Default value: 35.0f. | |
inSamplingMethod | AvlNet.BilateralSamplingMethod | Poisson | Whether to use a naive (full) or a subsampling method. Default value: Poisson. | ||
inIterationCount | int | <1, INF> | 1 | Determines how many times the bilateral filter will be run. Default value: 1. | |
outImage | AvlNet.Image | Output image. |