Threshold property (LEADDlgImgEffect Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT Threshold

Delphi Syntax

Threshold: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the Threshold value.

This property is associated with the following dialog boxes:

AntiAlias dialog box

In this case it represents which pixels to smooth. The application of the anti-aliasing filter on the image associates a value with each pixel. Only pixels with values above this threshold are smoothed. Possible values are:

 

If the image is:

Range of possible values:

 

12-bit.

0-4095

 

16-bit, 48-bit, or 64-bit.

0-65535

 

Other bits per pixel.

0-255

 

ContourFilter dialog box

In this case it represents the gradient magnitude. Values below this will be considered as background, and will be set to 0. Values can be from 1 to 254. A lower threshold provides a better quality image.

UnsharpMask dialog box

In this case it represents the threshold for modifying the original value of the pixel. Possible values range from 0 - 255.

EdgeDetector dialog box

In this case it represents Threshold value used to determine which pixels are edge pixels. Possible values depend on the image, as shown here:

 

If the image is:

Possible values are:

 

The image is 16-bit gray, 48-bit, or 64-bit.

0-65535

 

The image is 12-bit.

0-4095

 

Otherwise.

0-255

See Also

Elements:

ShowAntiAliasDlg method, ShowContourFilterDlg method, ShowUnsharpMaskDlg method, ShowEdgeDetectorDlg method, EdgeDetectionFilterType property, Amount property, Radius property, UnshrpMaskFlags property, DeltaDirection property, MaxError property, Option property, OptionFlags property, Dimension property, AntiAliasFilterType property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events