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

Adaptive thresholding using the internal image.

The image processing routine implements local thresholding technique described by Derek Bradley and Gerhard Roth in the "Adaptive Thresholding Using the Integral Image" paper.

The brief idea of the algorithm is that every image's pixel is set to black if its brightness is t percent lower (see PixelBrightnessDifferenceLimit) than the average brightness of surrounding pixels in the window of the specified size (see WindowSize), othwerwise it is set to white.

Sample usage:

// create the filter BradleyLocalThresholding filter = new BradleyLocalThresholding( ); // apply the filter filter.ApplyInPlace( image );

Initial image:

Result image:

상속: BaseInPlaceFilter
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET 1 사용 예제들

공개 메소드들

메소드 설명
BradleyLocalThresholding ( ) : System

Initializes a new instance of the BradleyLocalThresholding class.

보호된 메소드들

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

Process the filter on the specified image.

메소드 상세

BradleyLocalThresholding() 공개 메소드

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

ProcessFilter() 보호된 메소드

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