Changeset 1780


Ignore:
Timestamp:
11/09/06 14:37:08 (13 years ago)
Author:
melissa
Message:

Fixed plane offsets in ND2Reader.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/ND2Reader.java

    r1778 r1780  
    167167      r.exec("pl = new ParameterList(defpl)"); 
    168168 
    169       long[] offs = (long[]) r.getVar("offsets"); 
    170       int off = (int) offs[no]; 
     169      int off = (int) offsets[no]; 
    171170      r.setVar("off", off); 
    172171 
     
    278277    offsets = tempOffsets; 
    279278    numImages = offsets.length; 
    280  
     279  
    281280    sizeC[0] = img.getRaster().getNumBands(); 
    282281    sizeT[0] = numImages; 
     
    285284    currentOrder[0] = sizeC[0] == 3 ? "XYCTZ" : "XYTZC"; 
    286285    pixelType[0] = ImageTools.getPixelType(img); 
    287    
     286  
    288287    MetadataStore store = getMetadataStore(id); 
    289288    store.setPixels( 
Note: See TracChangeset for help on using the changeset viewer.