Fawkes API
Fawkes Development Version
|
#include <>>
Public Member Functions | |
virtual | ~ColormapGenerator () |
Virtual empty destructor. More... | |
virtual void | set_buffer (unsigned char *buffer, unsigned int width, unsigned int height)=0 |
virtual YuvColormap * | get_current ()=0 |
virtual void | consider ()=0 |
virtual void | calc ()=0 |
virtual void | undo ()=0 |
virtual void | reset ()=0 |
virtual void | reset_undo ()=0 |
virtual bool | has_histograms ()=0 |
virtual std::map< hint_t, Histogram * > * | get_histograms ()=0 |
Interface for colormap generators.
Definition at line 41 of file generator.h.
|
virtual |
Virtual empty destructor.
Definition at line 84 of file generator.cpp.
|
pure virtual |
Calculate LUT. Does the calculation of the lookup table without extracting any further information from the given buffer.
Implemented in firevision::BayesColormapGenerator.
|
pure virtual |
Considers the given buffer and extracts the needed information.
Implemented in firevision::BayesColormapGenerator.
|
pure virtual |
Get the current colormap. With this method you can access the current LUT. This is useful to display the current results as "what would happen if we'd use this LUT?".
Implemented in firevision::BayesColormapGenerator.
|
pure virtual |
Get histograms.
Implemented in firevision::BayesColormapGenerator.
|
pure virtual |
Check if this generator has histograms.
Implemented in firevision::BayesColormapGenerator.
|
pure virtual |
Reset the generator. This throws away all results accumulated up to now and starts from scratch with the generation process.
Implemented in firevision::BayesColormapGenerator.
|
pure virtual |
Reset undo buffer. This throws away all undo information and starts a new undo buffer.
Implemented in firevision::BayesColormapGenerator.
|
pure virtual |
Set image buffer. Set the image buffer that is to be considered next.
buffer | image buffer (YUV422 planar format assumed) |
width | width of image in pixels |
height | height of image in pixels |
Implemented in firevision::BayesColormapGenerator.
|
pure virtual |
Undo last calls to consider(). This will eliminate all calls to consider() since the last call to resetUndo(), reset() or object generation.
Implemented in firevision::BayesColormapGenerator.