Changeset 3919


Ignore:
Timestamp:
04/14/08 12:24:46 (12 years ago)
Author:
melissa
Message:

Fixed RGB/indexed values for single-image series.

File:
1 edited

Legend:

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

    r3854 r3919  
    898898      if (core.rgb[i]) core.sizeC[i] *= 3; 
    899899      core.sizeT[i] += 1; 
     900      if (core.sizeZ[i] == 0) core.sizeZ[i] = 1; 
     901      if (!core.rgb[i] && core.imageCount[i] == 1) {  
     902        tiff[i][0].setId((String) files[i].get(0)); 
     903        core.rgb[i] = tiff[i][0].isRGB();  
     904        core.indexed[i] = tiff[i][0].isIndexed();  
     905        core.sizeC[i] = tiff[i][0].getSizeC();  
     906      } 
    900907      core.currentOrder[i] = core.sizeC[i] == 1 ? "XYZTC" : "XYCZT"; 
    901       if (core.sizeZ[i] == 0) core.sizeZ[i] = 1; 
    902908 
    903909      if (i < timestamps.length && timestamps[i] != null) { 
Note: See TracChangeset for help on using the changeset viewer.