Ignore:
Timestamp:
02/01/12 18:30:55 (8 years ago)
Author:
aivar
Message:

Improved setting the LUT bounds with the histogram tool.

File:
1 edited

Legend:

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

    r7875 r7879  
    111111 
    112112        if (null != minMaxLUT) { 
    113             //TODO horrible kludge here!!!  But why on earth would these be zero? 
    114             //TODO #2 wound up enabling this again, otherwise you don't get any images except current image 
    115             if (true) { // 0 != minMaxLUT[0] && 0 != minMaxLUT[1]) { 
    116                 redisplay(minMaxLUT); 
    117             } 
     113            redisplay(minMaxLUT); 
    118114        } 
    119115    } 
     
    133129    private void redisplay(double[] minMaxLUT) { 
    134130        minMaxLUT = PaletteFix.adjustMinMax(minMaxLUT[0], minMaxLUT[1]); 
     131        System.out.println("***** REDISPLAY 256-COLOR SPECS ***** " + minMaxLUT[0] + " " + minMaxLUT[1]); 
    135132        _image.setMinAndMax(minMaxLUT[0], minMaxLUT[1]); 
    136133        _imagePlus.setProcessor(_image.duplicate()); 
Note: See TracChangeset for help on using the changeset viewer.