Changeset 1982


Ignore:
Timestamp:
12/29/06 13:10:56 (13 years ago)
Author:
chris
Message:

Importer/Browser:
1) merging RGB almost works, although there's a bug with the
amount of channels detected.

Location:
trunk/loci/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/Importer.java

    r1981 r1982  
    197197 
    198198      if (stackFormat.equals(VIEW_BROWSER)) { 
    199         LociDataBrowser ldb = new LociDataBrowser(id); 
     199        LociDataBrowser ldb = new LociDataBrowser(id,mergeChannels); 
    200200        ldb.run(""); 
    201201        return; 
  • trunk/loci/plugins/browser/LociDataBrowser.java

    r1981 r1982  
    103103  } 
    104104   
     105  public LociDataBrowser(boolean merged) { 
     106    fStitch = new FileStitcher(); 
     107    if(merged) reader = new ChannelMerger(fStitch); 
     108    else reader = new ChannelSeparator(fStitch); 
     109  } 
     110   
     111  public LociDataBrowser(String name, boolean merged) { 
     112    this(merged); 
     113    id = name; 
     114    virtual = true; 
     115  } 
     116   
    105117  public LociDataBrowser(IFormatReader r, FileStitcher fs, String name) { 
    106118    virtual = true; 
     
    108120    fStitch = fs; 
    109121    id = name; 
    110     run(""); 
    111122  } 
    112123 
Note: See TracChangeset for help on using the changeset viewer.