Methods
getMax() → {number}
Get the threshold maximum.
- Source
Returns:
The threshold maximum.
- Type:
- number
getMin() → {number}
Get the threshold minimum.
- Source
Returns:
The threshold minimum.
- Type:
- number
getName() → {string}
Get the name of the filter.
- Source
Returns:
The name of the filter.
- Type:
- string
getOriginalImage() → {Image}
Get the original image.
- Source
Returns:
The original image.
- Type:
- Image
setMax(val)
Set the threshold maximum.
Parameters:
Name | Type | Description |
---|---|---|
val | number | The threshold maximum. |
- Source
setMin(val)
Set the threshold minimum.
Parameters:
Name | Type | Description |
---|---|---|
val | number | The threshold minimum. |
- Source
setOriginalImage(image)
Set the original image.
Parameters:
Name | Type | Description |
---|---|---|
image | Image | The original image. |
- Source
update() → {Image}
Transform the main image using this filter.
- Source
Returns:
The transformed image.
- Type:
- Image