Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FrequencyFilterMaskCommand Constructor(RasterImage,FourierTransformInformation,Boolean)
See Also 
Leadtools.ImageProcessing.Core Namespace > FrequencyFilterMaskCommand Class > FrequencyFilterMaskCommand Constructor : FrequencyFilterMaskCommand Constructor(RasterImage,FourierTransformInformation,Boolean)



maskImage
RasterImage object that contains the mask image.
fourierTransformInformation
FourierTransformInformation structure. The Data property of the FourierTransformInformation structure is a two-dimensional array holding the frequency components.
onOff
Value that indicates whether the frequency components are removed if the corresponding pixel value is zero. Possible values are:
ValueMeaning
trueIf the pixel value equals zero the frequency components in its location in the Data property of the FourierTransformInformation structure will be removed, otherwise no change. A component is "removed" when both members of the corresponding Complex structure are set to 0.
falseThe frequency component in the pixel location in Data property of the FourierTransformInformation structure will be multiplied by the value of the pixel divided by 255.
Initializes a new FrequencyFilterMaskCommand class object with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal maskImage As RasterImage, _
   ByVal fourierTransformInformation As FourierTransformInformation, _
   ByVal onOff As Boolean _
)
Visual Basic (Usage)Copy Code
Dim maskImage As RasterImage
Dim fourierTransformInformation As FourierTransformInformation
Dim onOff As Boolean
 
Dim instance As FrequencyFilterMaskCommand(maskImage, fourierTransformInformation, onOff)
C# 
public FrequencyFilterMaskCommand( 
   RasterImage maskImage,
   FourierTransformInformation fourierTransformInformation,
   bool onOff
)
C++/CLI 
public:
FrequencyFilterMaskCommand( 
   RasterImage maskImage,
   FourierTransformInformation^ fourierTransformInformation,
   bool onOff
)

Parameters

maskImage
RasterImage object that contains the mask image.
fourierTransformInformation
FourierTransformInformation structure. The Data property of the FourierTransformInformation structure is a two-dimensional array holding the frequency components.
onOff
Value that indicates whether the frequency components are removed if the corresponding pixel value is zero. Possible values are:
ValueMeaning
trueIf the pixel value equals zero the frequency components in its location in the Data property of the FourierTransformInformation structure will be removed, otherwise no change. A component is "removed" when both members of the corresponding Complex structure are set to 0.
falseThe frequency component in the pixel location in Data property of the FourierTransformInformation structure will be multiplied by the value of the pixel divided by 255.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also