Packagede.popforge.imageprocessing.filters.color
Classpublic class Infrared
ImplementsIFilter

The Infrared class is a filter that fakes an infrared effect.

This filter uses color normalization and automatic levels correction.

Supported formats:


Example
  
  var filter: Infrared = new Infrared();
  
  var video: WebCam = new WebCam( 160, 120 );
  var image: Image = new Image( 160, 120, ImageFormat.RGB );
  
  image.loadBitmapData( video.getCurrentFrame(), true );
  
  filter.apply( image );
  



Public Methods
 MethodDefined by
  
Creates a new Infrared object.
Infrared
  
apply(image:Image):void
Applies the filter to the given Image object.
Infrared
  
toString():String
Builds and returns a string containing the name of the class.
Infrared
Constructor detail
Infrared()constructor
public function Infrared()

Creates a new Infrared object.

Method detail
apply()method
public function apply(image:Image):void

Applies the filter to the given Image object.

Parameters
image:Image — The image that will be manipulated.
toString()method 
public function toString():String

Builds and returns a string containing the name of the class.

Returns
String — A string containing the name of the class.