Inheritance diagram for threshold_Filter:
This filter only thresholds one channel (R,G or B for RGB colorspaces / H,S or V for HSV colorspaces). To threshold more than one channel in a color space multiple threshold_Filter instances should be used.
The specific channel value in each pixel is compared to the value parameter. If the channel's value is greater than the value parameter, the value is set to the maximum value for the channel type (255 for 8-bit/uint8_t channels). If the channel's value is less than the value parameter, the value is set to the minimum value for the channel type (0 for 8-bit/uint8_t channels).
Supports the following formats:
add example image inputs and processed image outputs
add example application code that shows how the processed images were output
Definition at line 79 of file threshold_Filter.h.
Public Member Functions
|threshold_Filter (uint32_t channel=0, uint32_t value=0)|
|int||set (uint32_t channel=0, uint32_t value=0)|
|phFilter *||cloneFilter ()|
Protected Member Functions
|Copyright (C) 2002 - 2007||
Philip D.S. Thoren ( email@example.com )
University Of Massachusetts at Lowell