24 #ifndef _FIREVISION_FVUTILS_COLORMAP_GENERATOR_H__ 25 #define _FIREVISION_FVUTILS_COLORMAP_GENERATOR_H__ 27 #include <fvutils/base/roi.h> 32 namespace firevision {
42 virtual void set_buffer(
unsigned char *buffer,
unsigned int width,
unsigned int height) = 0;
46 virtual void calc() = 0;
47 virtual void undo() = 0;
48 virtual void reset() = 0;
virtual void set_buffer(unsigned char *buffer, unsigned int width, unsigned int height)=0
Set image buffer.
virtual void calc()=0
Calculate LUT.
virtual void reset_undo()=0
Reset undo buffer.
virtual void reset()=0
Reset the generator.
virtual std::map< hint_t, Histogram * > * get_histograms()=0
Get histograms.
virtual void consider()=0
Considers the given buffer and extracts the needed information.
virtual bool has_histograms()=0
Check if this generator has histograms.
virtual YuvColormap * get_current()=0
Get the current colormap.
virtual ~ColormapGenerator()
Virtual empty destructor.
Interface for colormap generators.
virtual void undo()=0
Undo last calls to consider().