| Package | de.popforge.imageprocessing.filters.distortion |
| Class | public class GeometricDisplacedBlur |
| Implements | IFilter |
Generally this filter is exactly what the GeometricDisplacementMap is but instead of interpolating the color value this filter takes the distance between the origin and the displaced point and blurs over the distance.
Supported formats:
var map: RippleMap = new RippleMap( 8, 8, .06126, .06126 ); var filter: GeometricDisplacedBlur = new GeometricDisplacedBlur( map ); var video: WebCam = new WebCam( 160, 120 ); var image: Image = new Image( 160, 120, ImageFormat.RGB ); image.loadBitmapData( video.getCurrentFrame(), true ); filter.apply( image );
| Method | Defined by | ||
|---|---|---|---|
|
GeometricDisplacedBlur(displacementMap:GeometricMap)
Creates a new GeometricDisplacedBlur object.
| GeometricDisplacedBlur | ||
|
Applies the filter to the given Image object.
| GeometricDisplacedBlur | ||
|
toString():String
Builds and returns a string containing the name of the class.
| GeometricDisplacedBlur | ||
| GeometricDisplacedBlur | () | constructor |
public function GeometricDisplacedBlur(displacementMap:GeometricMap)Creates a new GeometricDisplacedBlur object.
ParametersdisplacementMap:GeometricMap — The type of displacement map that should be used.
|
| 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.
|