| Package | de.popforge.imageprocessing.filters.noise |
| Class | public final class AverageCut |
| Implements | IFilter |
Supported formats:
var filter: AverageCut = new AverageCut(); var video: WebCam = new WebCam( 160, 120 ); var image: Image = new Image( 160, 120, ImageFormat.RGB ); image.loadBitmapData( video.getCurrentFrame(), true ); filter.apply( image );
See also
| Method | Defined by | ||
|---|---|---|---|
|
AverageCut(structuringFunction:StructuringFunction = null)
Creates a new AverageCut object.
| AverageCut | ||
|
Applies the filter to the given Image object.
| AverageCut | ||
|
toString():String
Builds and returns a string containing the name of the class.
| AverageCut | ||
| AverageCut | () | constructor |
public function AverageCut(structuringFunction:StructuringFunction = null)Creates a new AverageCut object.
If no structuring function has been passed there will be a default 3x3
matrix used.
[ 1, 1, 1 ]
[ 1, 1, 1 ]
[ 1, 1, 1 ]
structuringFunction:StructuringFunction (default = null) — The structuring function used with this filter.
|
See also
| 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.
|