Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

PLFilterThreshold Class Reference

#include <plfilterthreshold.h>

Inheritance diagram for PLFilterThreshold:

PLFilter List of all members.

Public Member Functions

 PLFilterThreshold (int threshold_min, int threshold_max, int channel)
virtual void Apply (PLBmp *pBmpSource, PLBmp *pBmpDest) const

Protected Attributes

int m_threshold_min
int m_threshold_max
int m_channel

Detailed Description

Returns an 8 bpp grayscale bitmap that contains only the channel selected and is black wherever this channel has values <= threshold_min or >= threshold_max.

Definition at line 24 of file plfilterthreshold.h.


Member Function Documentation

virtual void PLFilterThreshold::Apply PLBmp pBmpSource,
PLBmp pBmpDest
const [virtual]
 

Applies the Filter to pBmpSource and stores the result in pBmpDest. The base-class version copies the bitmap before calling ApplyInPlace (pBmpDest).

Reimplemented from PLFilter.


The documentation for this class was generated from the following file:
Generated on Sun Jun 6 13:42:23 2004 for paintlib by doxygen 1.3.2