LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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:
Value Meaning
true If 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.
false The 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 Leadtools.ImageProcessing.Core.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 New 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:
Value Meaning
true If 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.
false The 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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also