FftFilterCreateBandStop Method (FftImage, Single, Single, Single)

CVB.Net Documentation
Create a Fourier space representation of a band stop filter.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static FftImage CreateBandStop(
	FftImage img,
	float center1,
	float center2,
	float width
)

Parameters

img
Type: Stemmer.Cvb.FoundationFftImage

Image to apply the filter on.

This input image will not directly be processed - it is required to determine the necessary size of the result image only.

center1
Type: SystemSingle
Lower cutoff position of the filter relative to the frequency range (range [0...1]).
center2
Type: SystemSingle
Upper cutoff position of the filter relative to the frequency range (range [0...1]).
width
Type: SystemSingle
Width of the filter cutoff region (range [0...1]). Helps to reduce ring artifacts.

Return Value

Type: FftImage
Filter's Fourier representation
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img is null
ObjectDisposedExceptionIf the input img has already been disposed
Remarks

Such a filter can be applied to an image by multiplying the image's Fourier transform with this filter image and then transforming the result back to Cartesian space.
See Also

Reference