Ignore:
Timestamp:
12/19/11 01:35:32 (8 years ago)
Author:
aivar
Message:

Continued work on histogram, add fields to user interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/slim-plugin/src/main/java/imagej/slim/fitting/AbstractBaseFittedImage.java

    r7833 r7838  
    107107     */ 
    108108    public void recalcHistogram() { 
    109         _histogramData.setAuto(true); //TODO KLUDGE!!! NOT HERE!!! WHERE DOES AUTO GET SET? 
    110         double[] minMax = _histogramData.getMinMax(); 
     109        double[] minMaxLUT = _histogramData.recalcHistogram(); 
    111110 
    112         if (null != minMax) { 
     111        if (null != minMaxLUT) { 
    113112            // update palette bounds 
    114             _image.setMinAndMax(minMax[0], minMax[1]); 
    115             System.out.println("min max " + minMax[0] + " " +  minMax[1]); 
     113            _image.setMinAndMax(minMaxLUT[0], minMaxLUT[1]); 
     114            System.out.println("min max " + minMaxLUT[0] + " " +  minMaxLUT[1]); 
    116115        } 
    117116        else System.out.println("min max null"); 
Note: See TracChangeset for help on using the changeset viewer.