# opentl::cvprocess::PixelCount Class Reference

Computes the sum of all white(value == 255) pixels Derived class from GpuStdShaders. ATTENTION: This filter works with a source texture of type GL_TEXTURE_RECTANGLE_ARB only. More...

Inherits opentl::cvprocess::GpuStdShaders.

List of all members.

## Public Member Functions
unsigned int | getCount ()
unsigned int | getNofTiles ()
| PixelCount ()
| Constructor.
void | prepareDisplayList ()
| Prepare display lists required for 1:1 pixel to texel mapping.
void | setMaxNofTiles (unsigned int size)
virtual | ~PixelCount ()
| Destructor.

## Detailed Description

Computes the sum of all white(value == 255) pixels Derived class from GpuStdShaders. ATTENTION: This filter works with a source texture of type GL_TEXTURE_RECTANGLE_ARB only.

Author:
  Thorsten Roeder <roeder@in.tum.de>

## Constructor & Destructor Documentation

opentl::cvprocess::PixelCount::PixelCount | ( |  | ) |

Constructor.

virtual opentl::cvprocess::PixelCount::~PixelCount | ( |  | ) | `[virtual]`

Destructor.

## Member Function Documentation

unsigned int opentl::cvprocess::PixelCount::getCount | ( |  | ) |

unsigned int opentl::cvprocess::PixelCount::getNofTiles | ( |  | ) |

void opentl::cvprocess::PixelCount::prepareDisplayList | ( |  | ) | `[virtual]`

Prepare display lists required for 1:1 pixel to texel mapping.

Reimplemented from opentl::cvprocess::GpuStdShaders.

void opentl::cvprocess::PixelCount::setMaxNofTiles | ( | unsigned int | size | ) |