Changeset 2290


Ignore:
Timestamp:
02/16/07 10:59:40 (13 years ago)
Author:
melissa
Message:

Fixed getRGBChannelCount and getEffectiveSizeC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/FileStitcher.java

    r2288 r2290  
    274274  /* @see IFormatReader#getEffectiveSizeC(String) */ 
    275275  public int getEffectiveSizeC(String id) throws FormatException, IOException { 
    276     return reader.getEffectiveSizeC(id); 
     276    return getSizeC(id) / getRGBChannelCount(id); 
    277277  } 
    278278 
    279279  /* @see IFormatReader#getRGBChannelCount(String) */ 
    280280  public int getRGBChannelCount(String id) throws FormatException, IOException { 
    281     return reader.getRGBChannelCount(id); 
     281    return getSizeC(id) / (getImageCount(id) / (getSizeZ(id) * getSizeT(id))); 
    282282  } 
    283283 
Note: See TracChangeset for help on using the changeset viewer.