#include <ImageTypes.h>
Protected Attributes | |
| const ImageTypes * | img |
| unsigned int | dimx |
| unsigned int | dimy |
| bool | mergeChannels |
| double | scaleVal |
| double | offsetVal |
| cimg_library::CImg< unsigned int > | histogram |
| cimg_library::CImg< bool > | image |
| type::Vec< 2, T > | clamp |
Public Member Functions | |
| Histogram (const unsigned int _dimx=256, const unsigned int _dimy=256, const bool _mergeChannels=false) | |
| void | setInput (const ImageTypes &_img) |
| const cimg_library::CImg< bool > & | getImage () const |
| const cimg_library::CImg< unsigned int > & | getHistogram () const |
| const type::Vec< 2, T > & | getClamp () const |
| void | setClamp (const type::Vec< 2, T > _clamp) |
| const bool & | getMergeChannels () const |
| void | setMergeChannels (const bool _mergeChannels) |
| void | update () |
| T | fromHistogram (const unsigned int i) const |
| unsigned int | toHistogram (const T i) const |
Static Public Member Functions | |
| static const char * | Name () |
Friends | |
| std::istream & | operator>> (std::istream &in, Histogram &h) |
| std::ostream & | operator<< (std::ostream &out, const Histogram &h) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |