24 #ifndef __FIREVISION_FVUTILS_COLORMAP_GENERATOR_H__ 25 #define __FIREVISION_FVUTILS_COLORMAP_GENERATOR_H__ 27 #include <fvutils/base/roi.h> 47 unsigned int width,
unsigned int height) = 0;
51 virtual void calc() = 0;
52 virtual void undo() = 0;
53 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().