You are here: Start » AVL.NET » Invoke.SmoothImage_Bilateral
Smooths an image while preserving sharp edges.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void SmoothImage_Bilateral ( Avl.Image inImage, Optional<Avl.Image> inEdgesImage, Optional<Avl.Region> inRoi, float inDistanceSigma, float inColorSigma, Avl.BilateralSamplingMethod inSamplingMethod, int inIterationCount, Avl.Image outImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Input image. | ||
![]()  | inEdgesImage | Atl.Optional<Avl.Image> | Image to be used for edge detection. Default value: atl::NIL. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]()  | 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 | Avl.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 | Avl.Image | Output image. | 


