Changeset 4800


Ignore:
Timestamp:
02/11/09 11:47:52 (11 years ago)
Author:
melissa
Message:

Fixed Pixels IDs.

File:
1 edited

Legend:

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

    r4762 r4800  
    239239    for (int i=0; i<r.getSeriesCount(); i++) { 
    240240      r.setSeries(i); 
    241       store.setPixelsID("Pixels:0", i, 0); 
    242       store.setImageDefaultPixels("Pixels:0", i); 
     241      store.setPixelsID("Pixels:" + i, i, 0); 
     242      store.setImageDefaultPixels("Pixels:" + i, i); 
    243243      store.setPixelsSizeX(new Integer(r.getSizeX()), i, 0); 
    244244      store.setPixelsSizeY(new Integer(r.getSizeY()), i, 0); 
     
    258258            store.setChannelComponentIndex( 
    259259              new Integer(c * r.getRGBChannelCount() + rgb), i, c, rgb); 
    260             store.setChannelComponentPixels("Pixels:0", i, c, rgb); 
     260            store.setChannelComponentPixels("Pixels:" + i, i, c, rgb); 
    261261          } 
    262262        } 
Note: See TracChangeset for help on using the changeset viewer.