Changeset 6512


Ignore:
Timestamp:
06/09/10 15:37:11 (9 years ago)
Author:
melissa
Message:

Fixed a couple of minor channel bugs. testColorizeSubcases should pass now.

Location:
trunk/components/loci-plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/loci-plugins/src/loci/plugins/in/ImagePlusReader.java

    r6502 r6512  
    320320      int mode = -1; 
    321321      boolean indexed = reader.isIndexed(); 
    322       int sizeC = reader.getSizeC(); 
     322      int sizeC = reader.getEffectiveSizeC(); 
    323323      if (sizeC == 1 && 
    324324        (options.isColorModeColorized() || options.isColorModeCustom())) 
  • trunk/components/loci-plugins/test/loci/plugins/in/ImporterTest.java

    r6511 r6512  
    21452145      lutLen = 3; 
    21462146     
    2147     if ((indexed) && (!falseColor)) 
     2147    if ((indexed) && (!falseColor)) { 
    21482148      expectedSizeC *= lutLen; 
     2149    } 
     2150    else if (indexed && falseColor) { 
     2151      expectedSizeC /= rgb; 
     2152    } 
    21492153       
    21502154    //System.out.println("  chans channsPerPlane planes expectedSizeC "+totalChannels+" "+channelsPerPlane+" "+totalPlanes+" "+expectedSizeC); 
Note: See TracChangeset for help on using the changeset viewer.