Changeset 3327


Ignore:
Timestamp:
10/30/07 08:04:51 (12 years ago)
Author:
melissa
Message:

Set pixel type correctly for signed images.

File:
1 edited

Legend:

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

    r3217 r3327  
    145145      case 1: 
    146146        pixel = "16 bit signed integer"; 
    147         core.pixelType[0] = FormatTools.UINT16; 
     147        core.pixelType[0] = FormatTools.INT16; 
    148148        bytesPerPixel = 2; 
    149149        break; 
     
    154154        break; 
    155155      case 3: 
    156         pixel = "32 bit complex"; 
    157         core.pixelType[0] = FormatTools.UINT32; 
     156        pixel = "16 bit complex"; 
     157        core.pixelType[0] = FormatTools.INT16; 
    158158        bytesPerPixel = 4; 
    159159        break; 
     
    429429  } 
    430430 
     431  // -- DeltavisionReader API methods -- 
     432 
    431433  /** 
    432434   * Given any specific Z, W, and T of a plane, determine the totalOffset from 
Note: See TracChangeset for help on using the changeset viewer.