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

Jitter filter.

The filter moves each pixel of a source image in random direction within a window of specified radius.

The filter accepts 8 bpp grayscale images and 24/32 color images for processing.

Sample usage:

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

Initial image:

Result image:

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

공개 메소드들

메소드 설명
Jitter ( ) : System

Initializes a new instance of the Jitter class.

Jitter ( int radius ) : System

Initializes a new instance of the Jitter class.

보호된 메소드들

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

Process the filter on the specified image.

메소드 상세

Jitter() 공개 메소드

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

Jitter() 공개 메소드

Initializes a new instance of the Jitter class.
public Jitter ( int radius ) : System
radius int Jittering radius.
리턴 System

ProcessFilter() 보호된 메소드

Process the filter on the specified image.
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