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 |
|---|---|
| float[] | 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 | float | The motion angle. |
Returns
| Type | Description |
|---|---|
| float[] | The motion blur kernel. |
Method: get_emboss_3x3() [static]
get_emboss_3x3()
Gets the 3x3 Emboss kernel.
Returns
| Type | Description |
|---|---|
| float[] |
Method: get_emboss_5x5() [static]
get_emboss_5x5()
Gets the 5x5 Emboss kernel.
Returns
| Type | Description |
|---|---|
| float[] |
Method: get_gaussian(size, sigma) [static]
get_gaussian(size, sigma)
Gets the Gaussian kernel.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| size | int | The kernel size. |
| sigma | float | The sigma value in range (0…]. |
Returns
| Type | Description |
|---|---|
| float[] | The Gaussian kernel. |
Method: get_sharpen_3x3() [static]
get_sharpen_3x3()
Gets the 3x3 sharpen kernel.
Returns
| Type | Description |
|---|---|
| float[] |
Method: get_sharpen_5x5() [static]
get_sharpen_5x5()
Gets the 5x5 sharpen kernel.
Returns
| Type | Description |
|---|---|
| float[] |
Method: to_complex(kernel) [static]
to_complex(kernel)
Converts kernel to a Complex kernel.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| kernel | float[] | The kernel. |
Returns
| Type | Description |
|---|---|
| Complex[] | A Complex kernel. |