| EdgeFilterNormalThreshold Property |
Gets or sets the normal vector threshold of the edge detection.
Namespace: DigitalRune.Graphics.PostProcessingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float NormalThreshold { get; set; }
Public Property NormalThreshold As Single
Get
Set
public:
property float NormalThreshold {
float get ();
void set (float value);
}
member NormalThreshold : float32 with get, set
Property Value
Type:
SingleThe normal vector threshold of the edge detection. The default value is 0.1.
Remarks
The normal vector of the source image is used to find crease edges. The normal threshold
determines the minimum difference between normal vectors that is required to detect an edge.
Use the following equation to convert from angles to the normal threshold:
normalThreshold = 1 - cos(α)
See Also