Ignore:
Timestamp:
01/27/12 19:47:49 (8 years ago)
Author:
aivar
Message:

Continued refactoring. Fitted image working better now.

Location:
trunk/projects/slim-plugin/src/main/java/imagej/slim/histogram
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/slim-plugin/src/main/java/imagej/slim/histogram/HistogramData.java

    r7865 r7875  
    200200        minLUT = maxLUT = 0.0; 
    201201        minView = maxView = 0.0; 
    202         if (_displayChannels || _combineChannels) { 
     202        if (1 < _channel.length && (_displayChannels || _combineChannels)) { 
    203203            minData = Double.MAX_VALUE; 
    204204            maxData = Double.MIN_VALUE; 
     
    243243 
    244244        if (null != _listener) { 
    245             System.out.println("tell listener " + _minView + " " + _maxView + "," + _minLUT + " " + _maxLUT); 
    246245            _listener.minMaxChanged(_minView, _maxView, _minLUT, _maxLUT); 
    247246        } 
     
    260259            bin[i] = 0; 
    261260        } 
    262         System.out.println("bin[3] is " + bin[3] + " bin[33] " + bin[33]); 
    263         System.out.println("_minView is " + _minView + " max " + _maxView); 
    264         System.out.println("_minLUT is " + _minLUT + " maxLUT " + _maxLUT); 
    265261         
    266262        if (_displayChannels) { 
  • trunk/projects/slim-plugin/src/main/java/imagej/slim/histogram/HistogramTool.java

    r7861 r7875  
    215215        public void minMaxChanged(double minView, double maxView, 
    216216                double minLUT, double maxLUT) { 
    217             System.out.println("CHANGED " + minView + " " + maxView + ", " + minLUT + " " + maxLUT); 
    218217            changed(minView, maxView, minLUT, maxLUT); 
    219218        } 
Note: See TracChangeset for help on using the changeset viewer.