You are here: Start » AVL.NET » AVS.SmoothImage_Quantile Method

AVS.SmoothImage_Quantile Method

Replaces each pixel with a quantile of pixels within a kernel.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SmoothImage_Quantile
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	NullableRef<AvlNet.Region> inSourceRoi,
	float inQuantile,
	AvlNet.SmoothImageMedianKernel inKernel,
	int inRadiusX,
	int? inRadiusY,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of outImage pixels being written. Default value: atl::NIL.
inSourceRoiAvlNet.NullableRef<AvlNet.Region>Range of inImage pixels being read. Default value: atl::NIL.
inQuantilefloat<0.0f, 1.0f>0.8fThe quantile to be calculated for a neighbourhood of each pixel. Default value: 0.8f.
inKernelAvlNet.SmoothImageMedianKernel
inRadiusXint<0, INF>1Nearly half of the kernel's width (2*R+1). Default value: 1.
inRadiusYint?<0, INF>Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL.
outImageAvlNet.ImageOutput image.

Function Overrides

See also