| Package | de.popforge.imageprocessing.filters.color |
| Class | public final class RedEyeRemoval |
| Implements | IFilter |
Supported formats:
| Method | Defined by | ||
|---|---|---|---|
|
RedEyeRemoval(tolerance:int = 70, newSaturation:Number = .9)
Creates a new RedEyeRemoval object.
| RedEyeRemoval | ||
|
Applies the filter to the given Image object.
| RedEyeRemoval | ||
|
toString():String
Builds and returns a string containing the name of the class.
| RedEyeRemoval | ||
| RedEyeRemoval | () | constructor |
public function RedEyeRemoval(tolerance:int = 70, newSaturation:Number = .9)Creates a new RedEyeRemoval object.
Parameterstolerance:int (default = 70) — Tolerance for the distance between red value and blue/green from 0 to 255.
|
|
newSaturation:Number (default = .9) — The new scale for the red value from 0 to 1.
|
| apply | () | method |
public function apply(image:Image):voidApplies the filter to the given Image object.
Parametersimage:Image — The image that will be manipulated.
|
| toString | () | method |
public function toString():StringBuilds and returns a string containing the name of the class.
ReturnsString — A string containing the name of the class.
|