Changeset 3557 for trunk/utils


Ignore:
Timestamp:
01/15/08 16:19:57 (12 years ago)
Author:
curtis
Message:

Fix bugs Gerald Gordon found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils/Read_Image.java

    r3556 r3557  
    99import ij.plugin.PlugIn; 
    1010import ij.process.ImageProcessor; 
    11 import java.io.File; 
    1211import java.io.IOException; 
    1312import loci.formats.FormatException; 
     
    2120    String dir = od.getDirectory(); 
    2221    String name = od.getFileName(); 
    23     String id = dir + File.separator + name; 
     22    String id = dir + name; 
    2423    ImageReader r = new ImageReader(); 
    2524    try { 
     
    2827      int num = r.getImageCount(); 
    2928      int width = r.getSizeX(); 
    30       int height = r.getSizeX(); 
     29      int height = r.getSizeY(); 
    3130      ImageStack stack = new ImageStack(width, height); 
    3231      for (int i=0; i<num; i++) { 
Note: See TracChangeset for help on using the changeset viewer.