C# Class AForge.Imaging.Filters.Threshold

Threshold binarization
Inheritance: IFilter
ファイルを表示 Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Protected Properties

Property Type Description
threshold int

Public Methods

Method Description
Threshold ( ) : System

Initializes a new instance of the Threshold class.

Threshold ( int threshold ) : System

Initializes a new instance of the Threshold class.

Protected Methods

Method Description
ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void

Process the filter on the specified image.

Method Details

ProcessFilter() protected method

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void
image UnmanagedImage Source image data.
rect System.Drawing.Rectangle Image rectangle for processing by the filter.
return void

Threshold() public method

Initializes a new instance of the Threshold class.
public Threshold ( ) : System
return System

Threshold() public method

Initializes a new instance of the Threshold class.
public Threshold ( int threshold ) : System
threshold int Threshold value.
return System

Property Details

threshold protected_oe property

Threshold value.
protected int threshold
return int