Changeset 7401


Ignore:
Timestamp:
12/11/10 12:51:32 (9 years ago)
Author:
melissa
Message:

Override openBytes, so that correct pixels are returned for each series.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/in/ImaconReader.java

    r6881 r7401  
    9393  } 
    9494 
     95  /** 
     96   * @see loci.formats.IFormatReader#openBytes(int, byte[], int, int, int, int) 
     97   */ 
     98  public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) 
     99    throws FormatException, IOException 
     100  { 
     101    FormatTools.checkPlaneParameters(this, no, buf.length, x, y, w, h); 
     102 
     103    tiffParser.getSamples(ifds.get(getSeries()), buf, x, y, w, h); 
     104    return buf; 
     105  } 
     106 
    95107  // -- Internal BaseTiffReader API methods -- 
    96108 
     
    122134      core[i].indexed = photo == PhotoInterp.RGB_PALETTE; 
    123135      core[i].dimensionOrder = "XYCZT"; 
    124       core[i].interleaved = ifd.getPlanarConfiguration() == 2; 
     136      core[i].interleaved = false; 
    125137    } 
    126138 
Note: See TracChangeset for help on using the changeset viewer.