Changeset 7090


Ignore:
Timestamp:
10/19/10 14:04:03 (9 years ago)
Author:
melissa
Message:

Override get*LookupTable() so that LUTs are returned where appropriate. See QA #2921.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/components/bio-formats/src/loci/formats/in/PerkinElmerReader.java

    r7007 r7090  
    162162  public int fileGroupOption(String id) throws FormatException, IOException { 
    163163    return FormatTools.MUST_GROUP; 
     164  } 
     165 
     166  /* @see loci.formats.IFormatReader#get8BitLookupTable() */ 
     167  public byte[][] get8BitLookupTable() throws FormatException, IOException { 
     168    if (isTiff && tiff != null) { 
     169      return tiff.get8BitLookupTable(); 
     170    } 
     171    return null; 
     172  } 
     173 
     174  /* @see loci.formats.IFormatReader#get16BitLookupTable() */ 
     175  public short[][] get16BitLookupTable() throws FormatException, IOException { 
     176    if (isTiff && tiff != null) { 
     177      return tiff.get16BitLookupTable(); 
     178    } 
     179    return null; 
    164180  } 
    165181 
  • trunk/components/bio-formats/src/loci/formats/in/PerkinElmerReader.java

    r6881 r7090  
    162162  public int fileGroupOption(String id) throws FormatException, IOException { 
    163163    return FormatTools.MUST_GROUP; 
     164  } 
     165 
     166  /* @see loci.formats.IFormatReader#get8BitLookupTable() */ 
     167  public byte[][] get8BitLookupTable() throws FormatException, IOException { 
     168    if (isTiff && tiff != null) { 
     169      return tiff.get8BitLookupTable(); 
     170    } 
     171    return null; 
     172  } 
     173 
     174  /* @see loci.formats.IFormatReader#get16BitLookupTable() */ 
     175  public short[][] get16BitLookupTable() throws FormatException, IOException { 
     176    if (isTiff && tiff != null) { 
     177      return tiff.get16BitLookupTable(); 
     178    } 
     179    return null; 
    164180  } 
    165181 
Note: See TracChangeset for help on using the changeset viewer.