Ignore:
Timestamp:
12/10/10 13:38:28 (9 years ago)
Author:
curtis
Message:

Update slim-plugin to use new IJ2 project layout.

Location:
branches/maven/projects/slim-plugin/src/main/java/loci/slim
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/maven/projects/slim-plugin/src/main/java/loci/slim/GrayScaleImage.java

    r7293 r7398  
    7878 
    7979        // building an image stack 
    80         m_imageStack = new ImageStack(m_width, m_height, ColorModel.getRGBdefault(), null); 
     80        m_imageStack = new ImageStack(m_width, m_height, ColorModel.getRGBdefault()); 
    8181        m_saveOutPixels = new byte[channels][]; 
    8282 
  • branches/maven/projects/slim-plugin/src/main/java/loci/slim/SLIMPlugInAuto.java

    r7164 r7398  
    3636import ij.process.ImageProcessor; 
    3737 
     38import imagej.ij1bridge.ImgLibImageStack; 
    3839import imagej.plugin.Dimensions; 
    3940import imagej.plugin.IAutoDisplayPlugin; 
     
    5556        System.out.println("SLIMPlugInAuto.setup " + ip); 
    5657        ImageStack imageStack = ip.getImageStack(); 
    57         if (null != imageStack) { 
    58             m_image = imageStack.getStorage(); 
     58        if (imageStack instanceof ImgLibImageStack) { 
     59            // CTR FIXME: remove dependency on ij1-bridge 
     60            m_image = ((ImgLibImageStack) imageStack).getStorage(); 
    5961            System.out.println("imageStack.getStorage is " + m_image); 
    6062        } 
  • branches/maven/projects/slim-plugin/src/main/java/loci/slim/SLIMProcessor.java

    r7294 r7398  
    4343import ij.process.ImageProcessor; 
    4444 
    45 import imagej.process.ImageUtils; 
    46  
    47 import imagej.io.ImageOpener; 
     45import imagej.imglib.process.ImageUtils; 
    4846 
    4947import java.awt.Canvas; 
     
    8179import mpicbg.imglib.image.Image; 
    8280import mpicbg.imglib.image.ImageFactory; 
     81import mpicbg.imglib.io.ImageOpener; 
    8382import mpicbg.imglib.type.numeric.RealType; 
    8483import mpicbg.imglib.type.numeric.real.DoubleType; 
  • branches/maven/projects/slim-plugin/src/main/java/loci/slim/analysis/plugins/VisADAnalysisPlugin.java

    r7299 r7398  
    99import ij.ImagePlus; 
    1010 
    11 import imagej.process.ImageUtils; 
     11// CTR FIXME: remove dependency on ij1bridge 
     12import imagej.ij1bridge.process.ImageUtils; 
    1213 
    1314import loci.slim.ui.IUserInterfacePanel.FitFunction; 
Note: See TracChangeset for help on using the changeset viewer.