ConvolutionFilter Class
Summary: The kernel matrix provider class.
Module: aspose.imaging.imagefilters.convolution
Full Name: aspose.imaging.imagefilters.convolution.ConvolutionFilter
Methods
Name | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
size | int | The kernel size. |
Returns
Type | Description |
---|---|
double | The box blur kernel. |
Method: get_blur_motion(size, angle) [static]
get_blur_motion(size, angle)
Gets the motion blur kernel.
Parameters:
Parameter | Type | Description |
---|---|---|
size | int | The kernel size. |
angle | double | The motion angle. |
Returns
Type | Description |
---|---|
double | The motion blur kernel. |
Method: get_emboss_3x3() [static]
get_emboss_3x3()
Gets the 3x3 Emboss kernel.
Returns
Type | Description |
---|---|
double |
Method: get_emboss_5x5() [static]
get_emboss_5x5()
Gets the 5x5 Emboss kernel.
Returns
Type | Description |
---|---|
double |
Method: get_gaussian(size, sigma) [static]
get_gaussian(size, sigma)
Gets the Gaussian kernel.
Parameters:
Parameter | Type | Description |
---|---|---|
size | int | The kernel size. |
sigma | double | The sigma value in range (0…]. |
Returns
Type | Description |
---|---|
double | The Gaussian kernel. |
Method: get_sharpen_3x3() [static]
get_sharpen_3x3()
Gets the 3x3 sharpen kernel.
Returns
Type | Description |
---|---|
double |
Method: get_sharpen_5x5() [static]
get_sharpen_5x5()
Gets the 5x5 sharpen kernel.
Returns
Type | Description |
---|---|
double |
Method: to_complex(kernel) [static]
to_complex(kernel)
Converts kernel to a Complex kernel.
Parameters:
Parameter | Type | Description |
---|---|---|
kernel | double | The kernel. |
Returns
Type | Description |
---|---|
Complex[] | A Complex kernel. |