Threshold property (ILEADRasterDlgImgEfx)

Visual Basic example

Visual C++ example

 

Syntax

long Threshold

Overview

Refer to Using Imaging Common Dialogs

Remarks

Gets or sets the Threshold value.

The Threshold 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 the 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, ShowContourFilterDlg, ShowUnsharpMaskDlg, ShowEdgeDetectorDlg, EdgeDetectionFilterType, Amount, Radius, DeltaDirection, MaxError, ContourOption, OptionFlags, Dimension, AntiAliasFilterType