←Select platform

FrequencyFilterMaskCommand Constructor(RasterImage,FourierTransformInformation,bool)

Summary

Initializes a new FrequencyFilterMaskCommand class object with explicit parameters.

Syntax
C#
VB
C++
Public Function New( _ 
   ByVal maskImage As RasterImage, _ 
   ByVal fourierTransformInformation As FourierTransformInformation, _ 
   ByVal onOff As Boolean _ 
) 

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

Refer to FrequencyFilterMaskCommand.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly