Interface ConvolutionOptions

interface ConvolutionOptions {
    borderType?: BorderType;
    borderValue?: number;
    normalize?: boolean;
    out?: Image;
}

Properties

borderType?: BorderType

Specify how the borders should be handled.

Default

'reflect101'

borderValue?: number

Value of the border if BorderType is 'constant'.

Default

0

normalize?: boolean

Whether the kernel should be normalized.

Default

false

out?: Image

Image to which to output.