SobelFilter

Apply a Sobel filter to an image.

Constructor

new SobelFilter()

Methods

getName() → {string}

Get the name of the filter.

Returns:

The name of the filter.

Type: 
string

getOriginalImage() → {Image}

Get the original image.

Returns:

The original image.

Type: 
Image

setOriginalImage(image)

Set the original image.

Parameters:
NameTypeDescription
imageImage

The original image.

update() → {Image}

Transform the main image using this filter.

Returns:

The transformed image.

Type: 
Image