ConvolutionFilter Class

Summary: The kernel matrix provider class.

Module: aspose.imaging.imagefilters.convolution

Full Name: aspose.imaging.imagefilters.convolution.ConvolutionFilter

Methods

NameDescription
get_blur_box(size)Gets the box blur kernel.
get_blur_motion(size, angle)Gets the motion blur kernel.
get_emboss_3x3()Gets the 3x3 Emboss kernel.
get_emboss_5x5()Gets the 5x5 Emboss kernel.
get_gaussian(size, sigma)Gets the Gaussian kernel.
get_sharpen_3x3()Gets the 3x3 sharpen kernel.
get_sharpen_5x5()Gets the 5x5 sharpen kernel.
to_complex(kernel)Converts kernel to a Complex kernel.

Method: get_blur_box(size) [static]

 get_blur_box(size) 

Gets the box blur kernel.

Parameters:

ParameterTypeDescription
sizeintThe kernel size.

Returns

TypeDescription
doubleThe box blur kernel.

Method: get_blur_motion(size, angle) [static]

 get_blur_motion(size, angle) 

Gets the motion blur kernel.

Parameters:

ParameterTypeDescription
sizeintThe kernel size.
angledoubleThe motion angle.

Returns

TypeDescription
doubleThe motion blur kernel.

Method: get_emboss_3x3() [static]

 get_emboss_3x3() 

Gets the 3x3 Emboss kernel.

Returns

TypeDescription
double

Method: get_emboss_5x5() [static]

 get_emboss_5x5() 

Gets the 5x5 Emboss kernel.

Returns

TypeDescription
double

Method: get_gaussian(size, sigma) [static]

 get_gaussian(size, sigma) 

Gets the Gaussian kernel.

Parameters:

ParameterTypeDescription
sizeintThe kernel size.
sigmadoubleThe sigma value in range (0…].

Returns

TypeDescription
doubleThe Gaussian kernel.

Method: get_sharpen_3x3() [static]

 get_sharpen_3x3() 

Gets the 3x3 sharpen kernel.

Returns

TypeDescription
double

Method: get_sharpen_5x5() [static]

 get_sharpen_5x5() 

Gets the 5x5 sharpen kernel.

Returns

TypeDescription
double

Method: to_complex(kernel) [static]

 to_complex(kernel) 

Converts kernel to a Complex kernel.

Parameters:

ParameterTypeDescription
kerneldoubleThe kernel.

Returns

TypeDescription
Complex[]A Complex kernel.