rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvLuminanceToAlphaFilter Class Reference

Luminance To Alpha filter. More...

#include <ilviews/bitmaps/filters/colmatrix.h>

Inheritance diagram for IlvLuminanceToAlphaFilter:
IlvColorMatrixFilter IlvBitmapFilter

List of all members.

Public Member Functions

 IlvLuminanceToAlphaFilter ()
 Constructor. Initializes a new instance of an IlvLuminanceToAlphaFilter.

Detailed Description

Luminance To Alpha filter.

Library: ilvbmpflt

This bitmap filter lets you convert luminance values to alpha values. The luminance to alpha operation is equivalent to the following matrix operation:

 R' =       0       0      0   0   0    R
 G' =       0       0      0   0   0    G
 B' =       0       0      0   0   0    B
 A' =  0.2125  0.7154 0.0721   0   0    A
 1  =       0       0      0   0   1    1
 
See also:
IlvRGBBitmapData, IlvBitmapFilter, IlvColorMatrixFilter, IlvSaturationFilter, IlvHueRotateFilter
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.