| Package | de.popforge.imageprocessing.filters.color |
| Class | public final class GrayscaleBT709 |
| Inheritance | GrayscaleBT709 Grayscale |
The formula of this filter is y = red * 0.2125 + green * 0.7154 + blue * 0.0721.
Supported formats:
This is a conversion filter so there are no supported formats.
// Set the conversion filter to GrayscaleBT709 Image.grayscale = new GrayscaleBT709(); var video: WebCam = new WebCam( 160, 120 ); var image: Image = new Image( 160, 120, ImageFormat.GRAYSCALE ); image.loadBitmapData( video.getCurrentFrame(), true );
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new GrayscaleBT709 object.
| GrayscaleBT709 | ||
![]() |
Applies the filter to the given Image object.
| Grayscale | |
|
toString():String
Builds and returns a string containing the name of the class.
| GrayscaleBT709 | ||
| GrayscaleBT709 | () | constructor |
public function GrayscaleBT709()Creates a new GrayscaleBT709 object.
| toString | () | method |
public override function toString():StringBuilds and returns a string containing the name of the class.
ReturnsString — A string containing the name of the class.
|