Changeset 7821 for trunk/projects


Ignore:
Timestamp:
12/02/11 20:58:15 (8 years ago)
Author:
aivar
Message:

Experimented with MyFloatProcessor and DataColorizer2 to get IJ LUTs working. FloatProcessor doesn't like to display my updates, but I found a workaround.

Location:
trunk/projects/slim-plugin/src/main/java
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/slim-plugin/src/main/java/loci/slim/MyStackWindow.java

    r7677 r7821  
    5757    public MyStackWindow(ImagePlus imp) { 
    5858        super(imp); 
     59        System.out.println("MyStackWindow " + imp.getTitle());         
    5960        m_height = imp.getHeight(); 
    6061        if (null != sliceSelector) { 
  • trunk/projects/slim-plugin/src/main/java/loci/slim/SLIMProcessor.java

    r7811 r7821  
    6464import loci.slim.binning.SLIMBinning; 
    6565import loci.slim.colorizer.DataColorizer; 
     66 import loci.slim.colorizer.DataColorizer2; 
     67 
    6668import loci.slim.ui.ExcitationPanel; 
    6769import loci.slim.ui.IStartStopListener; 
     
    10051007        if (m_visibleFit) { 
    10061008            // show colorized image 
    1007             DataColorizer dataColorizer = new DataColorizer(m_width, m_height, m_algorithm + " Fitted Lifetimes"); 
     1009            DataColorizer2 dataColorizer = new DataColorizer2(m_width, m_height, m_algorithm + " Fitted Lifetimes"); 
    10081010 
    10091011            ChunkyPixelEffectIterator pixelIterator = new ChunkyPixelEffectIterator(new ChunkyPixelTableImpl(), m_width, m_height); 
     
    14051407     * @param pixels parallel list of rectangles with which to draw the fitted pixel 
    14061408     */ 
    1407     void colorizePixels(DataColorizer dataColorizer, int channel, ICurveFitData data[], ChunkyPixel pixels[]) { 
     1409    void colorizePixels(DataColorizer2 dataColorizer, int channel, ICurveFitData data[], ChunkyPixel pixels[]) { 
    14081410 
    14091411        // draw as you go; 'chunky' pixels get smaller as the overall fit progresses 
     
    14531455    } 
    14541456     
    1455     void colorizePixelsII(DataColorizer dataColorizer, int channel, double[] lifetime, ChunkyPixel pixels[]) { 
     1457    void colorizePixelsII(DataColorizer2 dataColorizer, int channel, double[] lifetime, ChunkyPixel pixels[]) { 
    14561458 
    14571459        // draw as you go; 'chunky' pixels get smaller as the overall fit progresses 
Note: See TracChangeset for help on using the changeset viewer.