Click or drag to resize
DigitalRuneUpsampleFilterDepthSensitivity Property
Bilateral Upsampling: Gets or sets the depth sensitivity.

Namespace: DigitalRune.Graphics.PostProcessing
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float DepthSensitivity { get; set; }

Property Value

Type: Single
The depth sensitivity for bilateral upsampling. The default value is 1000.
Remarks

This property is only relevant when Mode is set to Bilateral.

Joint (cross) bilateral upsampling: The filter uses bilinear interpolation when upsampling the low-resolution image, except at edges. The depth of the low-resolution pixels is compared with the depth of the original full-resolution image. Low-resolution pixels that have a small depth difference have more weight than pixels with are large depth difference.

A small depth sensitivity creates smooth images, but edges may be blurred. Use a large depth sensitivity to maintain hard edges, but the image quality at non-edges may be reduced.

Setting DepthSensitivity to 0 disables joint bilateral upsampling. (The result will be the equivalent to bilinear interpolation.)

See Also