UpsampleFilterDepthSensitivity Property |
Namespace: DigitalRune.Graphics.PostProcessing
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.)