Changeset 2798


Ignore:
Timestamp:
05/18/07 11:16:13 (13 years ago)
Author:
curtis
Message:

Eliminate no-longer-necessary override of getRGBChannelCount.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/SDTReader.java

    r2797 r2798  
    9595  /* @see loci.formats.IFormatReader#isThisType(byte[]) */ 
    9696  public boolean isThisType(byte[] block) { return false; } 
    97  
    98   /* @see loci.formats.IFormatReader#getRGBChannelCount(String) */ 
    99   public int getRGBChannelCount() { 
    100     FormatTools.assertId(currentId, true, 1); 
    101     return intensity ? 1 : timeBins; 
    102   } 
    10397 
    10498  /* @see loci.formats.IFormatReader#getChannelDimLengths() */ 
     
    209203    core.currentOrder[0] = "XYZTC"; 
    210204    core.pixelType[0] = FormatTools.UINT16; 
    211     core.rgb[0] = getRGBChannelCount() > 1; 
     205    core.rgb[0] = !intensity; 
    212206    core.littleEndian[0] = true; 
    213207    core.imageCount[0] = channels; 
Note: See TracChangeset for help on using the changeset viewer.