Changeset 7514


Ignore:
Timestamp:
01/12/11 10:39:41 (9 years ago)
Author:
melissa
Message:

Fixed indexed flag and LUT parsing. Closes #633.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/in/FV1000Reader.java

    r7386 r7514  
    825825        stream.close(); 
    826826        for (int q=0; q<buffer.length; q+=4) { 
    827           lut[c][0][q / 4] = buffer[q + 1]; 
    828           lut[c][1][q / 4] = buffer[q + 2]; 
    829           lut[c][2][q / 4] = buffer[q + 3]; 
     827          lut[c][0][q / 4] = buffer[q + 2]; 
     828          lut[c][1][q / 4] = buffer[q + 1]; 
     829          lut[c][2][q / 4] = buffer[q]; 
    830830        } 
    831831      } 
     
    844844      core[i].interleaved = false; 
    845845      core[i].metadataComplete = true; 
    846       core[i].indexed = false; 
     846      core[i].indexed = lut != null; 
    847847      core[i].falseColor = false; 
    848848    } 
Note: See TracChangeset for help on using the changeset viewer.