1 #ifndef __HistoImageCanvas_hh__
2 #define __HistoImageCanvas_hh__
4 #include <bias_config.h>
6 #ifndef BIAS_HAVE_WXWIDGETS
7 # error BIAS_HAVE_WXWIDGETS not defined but required by HistoImageCanvas. Please enable BIAS_HAVE_WXWIDGETS in CMake configure step.
12 #include <Base/Image/Image.hh>
13 #include <Base/Common/BIASpragmaStart.hh>
14 #include <Base/Common/BIASpragmaEnd.hh>
43 const wxPoint& pos = wxDefaultPosition,
44 const wxSize& size = wxSize(272, 216),
45 long style = wxTAB_TRAVERSAL,
46 const wxString& name = wxT(
"HistoImageCanvas"));
51 bool SameName(wxString name,
bool settothenewone);
52 void RefitHistogramm();
56 void OnMouseLeave(wxMouseEvent&);
57 void OnMouseMove(wxMouseEvent &event);
59 void UpdateStatusBar(
unsigned mouseX,
unsigned mouseY);
61 void OnResize(wxSizeEvent & event);
62 void OnPaint(wxPaintEvent& event);
112 DECLARE_EVENT_TABLE()
117 #endif // __HistoImageCanvas_hh__
std::vector< std::vector< Histo_Entry_Float > > histo_float
BIAS::Image< unsigned char > zim_
std::vector< std::vector< int > > histo_UC
It's a Canvas used to compute Histogram for current image working.
std::vector< float > histo_percentage_biggest
std::vector< std::vector< float > > histo_percentage
This is the base class for images in BIAS.