Visual Basic (Declaration) | |
---|---|
Public Class MathematicalFunctionCommandBitmapEffect Inherits RasterCommandBitmapEffect |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class MathematicalFunctionCommandBitmapEffect : RasterCommandBitmapEffect |
Managed Extensions for C++ | |
---|---|
public __gc class MathematicalFunctionCommandBitmapEffect : public RasterCommandBitmapEffect |
C++/CLI | |
---|---|
public ref class MathematicalFunctionCommandBitmapEffect : public RasterCommandBitmapEffect |
Run the MathematicalFunctionCommandBitmapEffect on an image with square function selected and factor = 50.
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. 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.
Leadtools.Windows.Media.Effects.RasterCommandBitmapEffect
Leadtools.Windows.Media.Effects.Color.MathematicalFunctionCommandBitmapEffect
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