C# 클래스 Accord.Imaging.Filters.BottomHat

Bottop-hat operator from Mathematical Morphology.

Bottom-hat morphological operator subtracts input image from the result of morphological closing on the the input image.

Applied to binary image, the filter allows to get all object parts, which were added by closing filter, but were not removed after that due to formed connections/fillings.

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

Sample usage:

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

Initial image:

Result image:

상속: BaseInPlaceFilter
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
BottomHat ( ) : System

Initializes a new instance of the BottomHat class.

BottomHat ( short se ) : System

Initializes a new instance of the BottomHat class.

보호된 메소드들

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

Process the filter on the specified image.

메소드 상세

BottomHat() 공개 메소드

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

BottomHat() 공개 메소드

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

ProcessFilter() 보호된 메소드

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