_interpolationCheckBox->SetValue(true);
_opacity = new wxSlider(this, wxID_ANY, 6, 1, 10, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS, wxDefaultValidator);
- _histogram = new Histogram( this , -1, wxPoint(0,0), wxSize(400,400), /*wxNO_BORDER*/ wxBORDER_DEFAULT );
- _histogramMinMaxLevel = new HistogramMinMaxLevel( (HistogramBase*)_histogram );
+ _histogram=NULL;
+ _histogramMinMaxLevel=NULL;
+
+// _histogram = new Histogram( this , -1, wxPoint(0,0), wxSize(400,400), /*wxNO_BORDER*/ wxBORDER_DEFAULT );
+// _histogramMinMaxLevel = new HistogramMinMaxLevel( (HistogramBase*)_histogram );
if (type==0)
{
sizer -> Add( _sl_SliceImageY , 1, wxGROW );
sizer -> Add( _sl_SliceImageZ , 1, wxGROW );
sizer -> Add( _cb_SliceFixDinamic , 1, wxGROW );
- sizer -> Add( _histogramMinMaxLevel->GetWindow() , 1, wxGROW );
+// sizer -> Add( _histogramMinMaxLevel->GetWindow() , 1, wxGROW );
this->SetSizer( sizer );
this->SetAutoLayout( true );
{
if (img!=NULL)
{
+ if (_histogramMinMaxLevel!=NULL)
+ {
_histogramMinMaxLevel->Configure( img );
+ }
_colorLayerImageViewManager->SetImage( img );
double spc[3];