Changeset 7543


Ignore:
Timestamp:
01/17/11 11:27:54 (9 years ago)
Author:
melissa
Message:

One more adjustment to SizeX/SizeY calculations. See #643.

File:
1 edited

Legend:

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

    r7541 r7543  
    562562      } 
    563563 
     564      if ((long) getSizeX() * getSizeY() > plane) { 
     565        core[i].sizeX = (int) Math.sqrt(plane); 
     566        core[i].sizeY = getSizeX(); 
     567      } 
     568 
    564569      int nPlanes = getSizeZ() * getSizeC(); 
    565570      core[i].sizeT = (int) (pixels / (getSizeX() * getSizeY() * nPlanes)); 
Note: See TracChangeset for help on using the changeset viewer.