Changeset 7137


Ignore:
Timestamp:
10/26/10 10:21:54 (9 years ago)
Author:
melissa
Message:

Fixed timestamp indices, see  omero:#3121.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/components/bio-formats/src/loci/formats/in/NativeND2Reader.java

    r7124 r7137  
    602602          for (int series=0; series<getSeriesCount(); series++) { 
    603603            setSeries(series); 
    604             for (int plane=0; plane<getImageCount(); plane++) { 
     604            int count = split ? getImageCount() / getSizeC() : getImageCount(); 
     605            for (int plane=0; plane<count; plane++) { 
    605606              // timestamps are stored in ms; we want them in seconds 
    606607              double time = in.readDouble() / 1000; 
  • trunk/components/bio-formats/src/loci/formats/in/NativeND2Reader.java

    r7124 r7137  
    602602          for (int series=0; series<getSeriesCount(); series++) { 
    603603            setSeries(series); 
    604             for (int plane=0; plane<getImageCount(); plane++) { 
     604            int count = split ? getImageCount() / getSizeC() : getImageCount(); 
     605            for (int plane=0; plane<count; plane++) { 
    605606              // timestamps are stored in ms; we want them in seconds 
    606607              double time = in.readDouble() / 1000; 
Note: See TracChangeset for help on using the changeset viewer.