Changeset 2972


Ignore:
Timestamp:
07/13/07 12:00:06 (13 years ago)
Author:
melissa
Message:

For now, don't stitch files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/ome/notes/Notes.java

    r2965 r2972  
    545545  private void openFile(String file) throws Exception { 
    546546    currentFile = file;  
    547     FileStitcher stitcher = new FileStitcher(); 
    548     stitcher.setOriginalMetadataPopulated(true);  
     547    ImageReader reader = new ImageReader(); 
     548    reader.setNormalized(true);  
     549    reader.setOriginalMetadataPopulated(true);  
    549550    progress.setString("Reading " + currentFile); 
    550551    
     
    561562      } 
    562563 
    563       stitcher.setMetadataStore(new OMEXMLMetadataStore()); 
    564       stitcher.setId(currentFile);  
     564      reader.setMetadataStore(new OMEXMLMetadataStore()); 
     565      reader.setId(currentFile);  
    565566      OMEXMLMetadataStore store =  
    566         (OMEXMLMetadataStore) stitcher.getMetadataStore(); 
     567        (OMEXMLMetadataStore) reader.getMetadataStore(); 
    567568 
    568569      if (companion.exists()) { 
     
    583584      // grab thumbnails 
    584585 
    585       for (int i=0; i<stitcher.getSeriesCount(); i++) {  
    586         stitcher.setSeries(i);  
    587         thumb.add(stitcher.openThumbImage(0)); 
     586      for (int i=0; i<reader.getSeriesCount(); i++) {  
     587        reader.setSeries(i);  
     588        thumb.add(reader.openThumbImage(0)); 
    588589      }  
    589590 
    590       stitcher.close(); 
     591      reader.close(); 
    591592    }  
    592593    progress.setString("Populating fields...");  
Note: See TracChangeset for help on using the changeset viewer.