Basic Image AlgorithmS Library
2.8.0
|
It's a Canvas used to compute Histogram for current image working. More...
#include <Gui/HistoImageCanvas.hh>
Public Member Functions | |
HistoImageCanvas (wxWindow *parent, wxStatusBar *sbar=NULL, int sbarid=0, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(272, 216), long style=wxTAB_TRAVERSAL, const wxString &name=wxT("HistoImageCanvas")) | |
void | NewImage (BIAS::ImageBase &im) |
void | RefitHistogramm () |
bool | SameName (wxString name, bool settothenewone) |
void | UpdateHistogramm (ImageBase image) |
~HistoImageCanvas () | |
Protected Member Functions | |
void | OnMouseLeave (wxMouseEvent &) |
void | OnMouseMove (wxMouseEvent &event) |
void | OnPaint (wxPaintEvent &event) |
void | OnResize (wxSizeEvent &event) |
void | UpdateStatusBar (unsigned mouseX, unsigned mouseY) |
Protected Attributes | |
wxBitmap * | Bitmap_ |
int | histo_channels |
std::vector< std::vector < Histo_Entry_Float > > | histo_float |
float | histo_float_min |
float | histo_float_step |
int | histo_float_steps |
int | histo_float_zero |
wxString | histo_name |
std::vector< std::vector< float > > | histo_percentage |
std::vector< float > | histo_percentage_biggest |
int | histo_size |
int | histo_type |
std::vector< std::vector< int > > | histo_UC |
wxCoord | histoZoom_ |
unsigned int | mousex_ |
unsigned int | mousey_ |
BIAS::ImageBase | origim_ |
wxMutex | origim_mutex_ |
wxStatusBar * | SBar_ |
int | SBarID_ |
BIAS::Image< unsigned char > | ucim_ |
int | wheight_ |
int | wwidth_ |
wxMutex | wxbitmap_mutex_ |
wxImage * | wximage_ |
BIAS::Image< unsigned char > | zim_ |
It's a Canvas used to compute Histogram for current image working.
Definition at line 38 of file HistoImageCanvas.hh.
HistoImageCanvas::HistoImageCanvas | ( | wxWindow * | parent, |
wxStatusBar * | sbar = NULL , |
||
int | sbarid = 0 , |
||
wxWindowID | id = -1 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(272, 216) , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxT("HistoImageCanvas") |
||
) |
Definition at line 12 of file HistoImageCanvas.cpp.
References histo_channels, histo_float_min, histo_float_step, histo_float_steps, histo_type, histoZoom_, OnPaint(), SBar_, and SBarID_.
HistoImageCanvas::~HistoImageCanvas | ( | ) |
Definition at line 52 of file HistoImageCanvas.cpp.
void HistoImageCanvas::NewImage | ( | BIAS::ImageBase & | im | ) |
Definition at line 499 of file HistoImageCanvas.cpp.
References UpdateHistogramm().
|
protected |
Definition at line 68 of file HistoImageCanvas.cpp.
|
protected |
Definition at line 76 of file HistoImageCanvas.cpp.
References mousex_, mousey_, and UpdateStatusBar().
|
protected |
Definition at line 395 of file HistoImageCanvas.cpp.
References histo_channels, histo_float_steps, histo_percentage, histo_percentage_biggest, histo_type, and histoZoom_.
Referenced by HistoImageCanvas(), OnResize(), and UpdateHistogramm().
|
protected |
Definition at line 516 of file HistoImageCanvas.cpp.
References OnPaint().
void HistoImageCanvas::RefitHistogramm | ( | ) |
Definition at line 490 of file HistoImageCanvas.cpp.
bool HistoImageCanvas::SameName | ( | wxString | name, |
bool | settothenewone | ||
) |
Definition at line 505 of file HistoImageCanvas.cpp.
References histo_name.
void HistoImageCanvas::UpdateHistogramm | ( | ImageBase | image | ) |
Definition at line 133 of file HistoImageCanvas.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageData(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), histo_channels, histo_float, histo_float_min, histo_float_step, histo_float_steps, histo_float_zero, histo_percentage, histo_percentage_biggest, histo_size, histo_type, histo_UC, BIAS::ImageBase::IsInterleaved(), BIAS::ImageBase::IsPlanar(), OnPaint(), BIAS::ImageBase::ST_float, BIAS::ImageBase::ST_unsignedchar, and BIAS::Histo_Entry_Float::value_count.
Referenced by NewImage().
|
protected |
Definition at line 88 of file HistoImageCanvas.cpp.
References BIAS::AsciiToWx(), histo_channels, histo_float_min, histo_float_step, histo_float_steps, histo_percentage, histo_type, histoZoom_, SBar_, and SBarID_.
Referenced by OnMouseMove().
|
protected |
Definition at line 64 of file HistoImageCanvas.hh.
|
protected |
Definition at line 102 of file HistoImageCanvas.hh.
Referenced by HistoImageCanvas(), OnPaint(), UpdateHistogramm(), and UpdateStatusBar().
|
protected |
Definition at line 92 of file HistoImageCanvas.hh.
Referenced by UpdateHistogramm().
|
protected |
Definition at line 96 of file HistoImageCanvas.hh.
Referenced by HistoImageCanvas(), UpdateHistogramm(), and UpdateStatusBar().
|
protected |
Definition at line 97 of file HistoImageCanvas.hh.
Referenced by HistoImageCanvas(), UpdateHistogramm(), and UpdateStatusBar().
|
protected |
Definition at line 94 of file HistoImageCanvas.hh.
Referenced by HistoImageCanvas(), OnPaint(), UpdateHistogramm(), and UpdateStatusBar().
|
protected |
Definition at line 93 of file HistoImageCanvas.hh.
Referenced by UpdateHistogramm().
|
protected |
Definition at line 110 of file HistoImageCanvas.hh.
Referenced by SameName().
|
protected |
Definition at line 104 of file HistoImageCanvas.hh.
Referenced by OnPaint(), UpdateHistogramm(), and UpdateStatusBar().
|
protected |
Definition at line 105 of file HistoImageCanvas.hh.
Referenced by OnPaint(), and UpdateHistogramm().
|
protected |
Definition at line 108 of file HistoImageCanvas.hh.
Referenced by UpdateHistogramm().
|
protected |
Definition at line 88 of file HistoImageCanvas.hh.
Referenced by HistoImageCanvas(), OnPaint(), UpdateHistogramm(), and UpdateStatusBar().
|
protected |
Definition at line 100 of file HistoImageCanvas.hh.
Referenced by UpdateHistogramm().
|
protected |
Definition at line 72 of file HistoImageCanvas.hh.
Referenced by HistoImageCanvas(), OnPaint(), and UpdateStatusBar().
|
protected |
Definition at line 76 of file HistoImageCanvas.hh.
Referenced by OnMouseMove().
|
protected |
Definition at line 76 of file HistoImageCanvas.hh.
Referenced by OnMouseMove().
|
protected |
Definition at line 67 of file HistoImageCanvas.hh.
|
protected |
Definition at line 80 of file HistoImageCanvas.hh.
|
protected |
Definition at line 68 of file HistoImageCanvas.hh.
Referenced by HistoImageCanvas(), and UpdateStatusBar().
|
protected |
Definition at line 74 of file HistoImageCanvas.hh.
Referenced by HistoImageCanvas(), and UpdateStatusBar().
|
protected |
Definition at line 66 of file HistoImageCanvas.hh.
|
protected |
Definition at line 78 of file HistoImageCanvas.hh.
|
protected |
Definition at line 78 of file HistoImageCanvas.hh.
|
protected |
Definition at line 80 of file HistoImageCanvas.hh.
|
protected |
Definition at line 65 of file HistoImageCanvas.hh.
|
protected |
Definition at line 66 of file HistoImageCanvas.hh.