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

Difference of Gaussians filter.

In imaging science, the difference of Gaussians is a feature enhancement algorithm that involves the subtraction of one blurred version of an original image from another, less blurred version of the original.

In the simple case of grayscale images, the blurred images are obtained by convolving the original grayscale images with Gaussian kernels having differing standard deviations. Blurring an image using a Gaussian kernel suppresses only high-frequency spatial information. Subtracting one image from the other preserves spatial information that lies between the range of frequencies that are preserved in the two blurred images. Thus, the difference of Gaussians is a band-pass filter that discards all but a handful of spatial frequencies that are present in the original grayscale image.

This filter implementation has been contributed by Diego Catalano.

References: Wikipedia contributors. "Difference of Gaussians." Wikipedia, The Free Encyclopedia. Wikipedia, The Free Encyclopedia, 1 Jun. 2013. Web. 10 Feb. 2014.

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

공개 메소드들

메소드 설명
DifferenceOfGaussians ( ) : System

Initializes a new instance of the DifferenceOfGaussians class.

DifferenceOfGaussians ( int windowSize1, int windowSize2 ) : System

Initializes a new instance of the DifferenceOfGaussians class.

DifferenceOfGaussians ( int windowSize1, int windowSize2, double sigma ) : System

Initializes a new instance of the DifferenceOfGaussians class.

DifferenceOfGaussians ( int windowSize1, int windowSize2, double sigma1, double sigma2 ) : System

Initializes a new instance of the DifferenceOfGaussians class.

보호된 메소드들

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

Process the filter on the specified image.

메소드 상세

DifferenceOfGaussians() 공개 메소드

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

DifferenceOfGaussians() 공개 메소드

Initializes a new instance of the DifferenceOfGaussians class.
public DifferenceOfGaussians ( int windowSize1, int windowSize2 ) : System
windowSize1 int The first window size. Default is 3
windowSize2 int The second window size. Default is 4.
리턴 System

DifferenceOfGaussians() 공개 메소드

Initializes a new instance of the DifferenceOfGaussians class.
public DifferenceOfGaussians ( int windowSize1, int windowSize2, double sigma ) : System
windowSize1 int The window size for the first Gaussian. Default is 3
windowSize2 int The window size for the second Gaussian. Default is 4.
sigma double The sigma for both Gaussian filters. Default is 0.4.
리턴 System

DifferenceOfGaussians() 공개 메소드

Initializes a new instance of the DifferenceOfGaussians class.
public DifferenceOfGaussians ( int windowSize1, int windowSize2, double sigma1, double sigma2 ) : System
windowSize1 int The window size for the first Gaussian. Default is 3
windowSize2 int The window size for the second Gaussian. Default is 4.
sigma1 double The sigma for the first Gaussian. Default is 0.4.
sigma2 double The sigma for the second Gaussian. Default is 0.4
리턴 System

ProcessFilter() 보호된 메소드

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