Changeset 7073


Ignore:
Timestamp:
10/13/10 16:12:31 (9 years ago)
Author:
melissa
Message:

Populate physical sizes for all series.

Files:
2 edited

Legend:

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

    r7007 r7073  
    357357 
    358358    // populate Dimensions 
    359     store.setPixelsPhysicalSizeX(voxelX, 0); 
    360     store.setPixelsPhysicalSizeY(voxelY, 0); 
    361     store.setPixelsPhysicalSizeZ(voxelZ, 0); 
    362     store.setPixelsTimeIncrement(voxelT, 0); 
     359    for (int i=0; i<getSeriesCount(); i++) { 
     360      store.setPixelsPhysicalSizeX(voxelX, i); 
     361      store.setPixelsPhysicalSizeY(voxelY, i); 
     362      store.setPixelsPhysicalSizeZ(voxelZ, i); 
     363      store.setPixelsTimeIncrement(voxelT, i); 
     364    } 
    363365 
    364366    // populate LogicalChannel data 
  • trunk/components/bio-formats/src/loci/formats/in/FluoviewReader.java

    r6881 r7073  
    357357 
    358358    // populate Dimensions 
    359     store.setPixelsPhysicalSizeX(voxelX, 0); 
    360     store.setPixelsPhysicalSizeY(voxelY, 0); 
    361     store.setPixelsPhysicalSizeZ(voxelZ, 0); 
    362     store.setPixelsTimeIncrement(voxelT, 0); 
     359    for (int i=0; i<getSeriesCount(); i++) { 
     360      store.setPixelsPhysicalSizeX(voxelX, i); 
     361      store.setPixelsPhysicalSizeY(voxelY, i); 
     362      store.setPixelsPhysicalSizeZ(voxelZ, i); 
     363      store.setPixelsTimeIncrement(voxelT, i); 
     364    } 
    363365 
    364366    // populate LogicalChannel data 
Note: See TracChangeset for help on using the changeset viewer.