GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / FxConvolution Method
GdPicture image identifier.
The 2D array specifying the convolution kernel. It must be squared, odd and in the [3, 99] range (see example).
Specifies if the alpha channel must be processed.





In This Topic
FxConvolution Method (GdPictureImaging)
In This Topic
Performs a convolution filter on a GdPicture image or on an area of a GdPicture image defined by SetROI() method.
Syntax
'Declaration
 
Public Function FxConvolution( _
   ByVal ImageID As Integer, _
   ByVal Kernel(,) As Single, _
   ByVal ProcessAlpha As Boolean _
) As GdPictureStatus
public GdPictureStatus FxConvolution( 
   int ImageID,
   float[,] Kernel,
   bool ProcessAlpha
)
public function FxConvolution( 
    ImageID: Integer;
    Kernel: Singlearray of;
    ProcessAlpha: Boolean
): GdPictureStatus; 
public function FxConvolution( 
   ImageID : int,
   Kernel : float[,],
   ProcessAlpha : boolean
) : GdPictureStatus;
public: GdPictureStatus FxConvolution( 
   int ImageID,
   float[,]* Kernel,
   bool ProcessAlpha
) 
public:
GdPictureStatus FxConvolution( 
   int ImageID,
   array<float>^ Kernel,
   bool ProcessAlpha
) 

Parameters

ImageID
GdPicture image identifier.
Kernel
The 2D array specifying the convolution kernel. It must be squared, odd and in the [3, 99] range (see example).
ProcessAlpha
Specifies if the alpha channel must be processed.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the Image Documents component to run.

See Also