You are here: Start » AVL.NET » Function Reference » Image » Image Local Transforms » AVL.SmoothImage_Quantile
Replaces each pixel with a quantile of pixels within a kernel.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SmoothImage_Quantile ( AvlNet.Image inImage, float inQuantile, AvlNet.SmoothImageMedianKernel inKernel, int inRadiusX, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inQuantile | float | <0.0f, 1.0f> | 0.8f | The quantile to be calculated for a neighbourhood of each pixel. Default value: 0.8f. | |
inKernel | AvlNet.SmoothImageMedianKernel | ||||
inRadiusX | int | <0, INF> | 1 | Nearly half of the kernel's width (2*R+1). Default value: 1. | |
outImage | AvlNet.Image | Output image. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Not supported kernel in SmoothImage_Quantile. |
DomainError | Not supported pixel format in SmoothImage_Quantile. |
DomainError | Region exceeds an input image in SmoothImage_Quantile. |
DomainError | Source roi exceeds an input image in SmoothImage_Quantile. |
DomainError | Not supported inImage pixel format in SmoothImage_Quantile. Supported formats: UInt8. |