Changeset 6560


Ignore:
Timestamp:
06/22/10 17:38:11 (9 years ago)
Author:
curtis
Message:

Add a TODO note about discontinuous 16-bit LUT resampling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/loci-plugins/src/loci/plugins/util/ImageProcessorReader.java

    r6554 r6560  
    251251        // averaging approach taken below. 
    252252 
     253        // TODO: For non-continuous LUTs, this approach does not work well. 
     254        // 
     255        // For an example, try: 
     256        //   'i16&pixelType=uint16&indexed=true&falseColor=true.fake' 
     257        // 
     258        // To fully resolve this issue, we would need to redither the image. 
     259        // 
     260        // At minimum, we should issue a warning to the ImageJ log whenever 
     261        // this convertTo8Bit routine is invoked, so the user is informed. 
     262 
    253263        int valuesPerBin = shortTable[c].length / byteTable[c].length; 
    254264        double average = 0; 
Note: See TracChangeset for help on using the changeset viewer.