Visual Basic (Declaration) | |
---|---|
Public Class MathematicalFunctionCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class MathematicalFunctionCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class MathematicalFunctionCommand : public RasterCommand, IRasterCommand |
Run the MathematicalFunctionCommand on an image with square function selected and factor = 50.
Visual Basic | Copy Code |
---|---|
Public Sub MathematicalFunctionCommandExample() |
C# | Copy Code |
---|---|
public void MathematicalFunctionCommandExample() |
This class uses the RGB color space. This class makes it possible to apply one of five mathematical functions to an image's pixel values: square, square root, logarithm, sine and cosine. Set the mathematical operation to be performed on each pixel's values in the Type property. The resulting values are multiplied by the Factor property value. The Factor property can be any value greater than 0. It is divided internally by different amounts, according to the type of the function being used. If the image has a region, the effect will be applied on the region only. This class supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits. This command does not support 32-bit grayscale images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Color.MathematicalFunctionCommand
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
Reference
MathematicalFunctionCommand MembersLeadtools.ImageProcessing.Color Namespace
Changing Brightness and Contrast
AddCommand Class
CombineCommand
ShadowCommand
ChangeHueSaturationIntensityCommand Class
ColorReplaceCommand Class
ColorThresholdCommand Class
DiscreteFourierTransformCommand
FastFourierTransformCommand
FourierTransformDisplayCommand
FrequencyFilterCommand
FrequencyFilterMaskCommand
RevEffectCommand
SegmentCommand Class
SubtractBackgroundCommand
UserFilterCommand