DWVv0.37.0

SharpenFilter

Source: filter.js:115

Sharpen an image using a sharpen convolution matrix.


Constructor

new SharpenFilter(): SharpenFilter

Instance Methods

getName(): string

Get the name of the filter.

Returns

  • string — The name of the filter.

setOriginalImage(image: Image)

Set the original image.

Parameters

  • image (Image) — The original image.

getOriginalImage(): Image

Get the original image.

Returns

  • Image — The original image.

update(): Image

Transform the main image using this filter.

Returns

  • Image — The transformed image.