Changeset 2466


Ignore:
Timestamp:
03/16/07 14:21:18 (13 years ago)
Author:
curtis
Message:

Populate calibration and file info in Image5D.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/Importer.java

    r2458 r2466  
    11911191        if (imp.getStackSize() == sizeZ * sizeT) sizeC = 1; 
    11921192 
    1193         // reorder stack to Image5D's preferred order: XYZTC 
     1193        // reorder stack to Image5D's preferred order: XYCZT 
    11941194        ImageStack is; 
    11951195        ImageStack stack = imp.getStack(); 
     
    12161216        ru.setVar("sizeT", sizeT); 
    12171217        ru.exec("i5d = new Image5D(title, stack, sizeC, sizeZ, sizeT)"); 
     1218        ru.setVar("cal", imp.getCalibration()); 
     1219        ru.setVar("fi", imp.getFileInfo()); 
     1220        ru.exec("i5d.setCalibration(cal)"); 
     1221        ru.exec("i5d.setFileInfo(fi)"); 
     1222        //ru.exec("i5d.setDimensions(sizeC, sizeZ, sizeT)"); 
    12181223        ru.exec("i5d.show()"); 
    12191224      } 
Note: See TracChangeset for help on using the changeset viewer.