C# 클래스 AForge.Imaging.Filters.TopHat

Top-hat operator from Mathematical Morphology.

Top-hat morphological operator subtracts result of morphological opening on the input image from the input image itself.

Applied to binary image, the filter allows to get all those object (their parts) which were removed by opening filter, but never restored.

The filter accepts 8 and 16 bpp grayscale images and 24 and 48 bpp color images for processing.

Sample usage:

// create filter TopHat filter = new TopHat( ); // apply the filter filter.Apply( image );

Initial image:

Result image:

상속: BaseInPlaceFilter
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET

공개 메소드들

메소드 설명
TopHat ( ) : System

Initializes a new instance of the TopHat class.

TopHat ( short se ) : System

Initializes a new instance of the TopHat class.

보호된 메소드들

메소드 설명
ProcessFilter ( UnmanagedImage image ) : void

Process the filter on the specified image.

메소드 상세

ProcessFilter() 보호된 메소드

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage image ) : void
image UnmanagedImage Source image data.
리턴 void

TopHat() 공개 메소드

Initializes a new instance of the TopHat class.
public TopHat ( ) : System
리턴 System

TopHat() 공개 메소드

Initializes a new instance of the TopHat class.
public TopHat ( short se ) : System
se short Structuring element to pass to operator.
리턴 System