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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)