ConvolutionFilter 类

Summary: The kernel matrix provider class.

Module: aspose.imaging.imagefilters.convolution

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

Methods

Name描述
get_blur_box(size)获取盒式模糊核。
get_blur_motion(size, angle)获取运动模糊核。
get_emboss_3x3()获取 3x3 浮雕核。
get_emboss_5x5()获取 5x5 浮雕核。
get_gaussian(size, sigma)获取高斯核。
get_sharpen_3x3()获取 3x3 锐化核。
get_sharpen_5x5()获取 5x5 锐化核。
to_complex(kernel)kernel 转换为 Complex 核。

Method: get_blur_box(size) [static]

 get_blur_box(size) 

获取盒式模糊核。

Parameters:

参数TypeDescription
sizeint核大小。

Returns

TypeDescription
float[]盒式模糊核。

Method: get_blur_motion(size, angle) [static]

 get_blur_motion(size, angle) 

获取运动模糊核。

Parameters:

参数TypeDescription
sizeint核大小。
角度float运动角度。

Returns

TypeDescription
float[]运动模糊核。

Method: get_emboss_3x3() [static]

 get_emboss_3x3() 

获取 3x3 浮雕核。

Returns

TypeDescription
float[]

Method: get_emboss_5x5() [static]

 get_emboss_5x5() 

获取 5x5 浮雕核。

Returns

TypeDescription
float[]

Method: get_gaussian(size, sigma) [static]

 get_gaussian(size, sigma) 

获取高斯核。

Parameters:

参数TypeDescription
sizeint核大小。
sigmafloat范围 (0…] 内的 sigma 值。

Returns

TypeDescription
float[]Gaussian 核。

Method: get_sharpen_3x3() [static]

 get_sharpen_3x3() 

获取 3x3 锐化核。

Returns

TypeDescription
float[]

Method: get_sharpen_5x5() [static]

 get_sharpen_5x5() 

获取 5x5 锐化核。

Returns

TypeDescription
float[]

Method: to_complex(kernel) [static]

 to_complex(kernel) 

kernel 转换为 Complex 核。

Parameters:

参数TypeDescription
float[]该核。

Returns

TypeDescription
Complex[]一个 Complex 核。