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

Binary dilatation operator from Mathematical Morphology with 3x3 structuring element.

The filter represents an optimized version of Dilatation filter, which is aimed for binary images (containing black and white pixels) processed with 3x3 structuring element. This makes this filter ideal for growing objects in binary images – it puts white pixel to the destination image in the case if there is at least one white neighbouring pixel in the source image.

See Dilatation filter, which represents generic version of dilatation filter supporting custom structuring elements and wider range of image formats.

The filter accepts 8 bpp grayscale (binary) images for processing.

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

공개 메소드들

메소드 설명
BinaryDilatation3x3 ( ) : System

Initializes a new instance of the BinaryDilatation3x3 class.

보호된 메소드들

메소드 설명
ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect ) : void

Process the filter on the specified image.

메소드 상세

BinaryDilatation3x3() 공개 메소드

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

ProcessFilter() 보호된 메소드

Process the filter on the specified image.
Processing rectangle mast be at least 3x3 in size.
protected ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect ) : void
sourceData UnmanagedImage Source image data.
destinationData UnmanagedImage Destination image data.
rect System.Drawing.Rectangle Image rectangle for processing by the filter.
리턴 void