Changeset 4863


Ignore:
Timestamp:
02/27/09 18:00:21 (11 years ago)
Author:
curtis
Message:

Record extended header objects, but not individual
header fields, into the original metadata table.

File:
1 edited

Legend:

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

    r4862 r4863  
    450450      // -- record original metadata -- 
    451451 
    452       /* NB: Sloooow... 
     452      // NB: It adds a little overhead to record the extended headers into the 
     453      // original metadata table, but not as much as registering every header 
     454      // field individually. With this approach it is still easy to 
     455      // programmatically access any given extended header field. 
    453456      String prefix = "Extended header Z" + z + " W" + w + " T" + t; 
    454       addMeta(prefix + " - Photosensor reading", hdr.photosensorReading); 
    455       addMeta(prefix + " - Time stamp (in s)", hdr.timeStampSeconds); 
    456       addMeta(prefix + " - X stage coordinates", hdr.stageXCoord); 
    457       addMeta(prefix + " - Y stage coordinates", hdr.stageYCoord); 
    458       addMeta(prefix + " - Z stage coordinates", hdr.stageZCoord); 
    459       addMeta(prefix + " - Minimum intensity", hdr.minInten); 
    460       addMeta(prefix + " - Maximum intensity", hdr.maxInten); 
    461       addMeta(prefix + " - Exposure time (in ms)", hdr.expTime); 
    462       addMeta(prefix + " - Neutral density value", hdr.ndFilter); 
    463       addMeta(prefix + " - Excitation filter wavelength", hdr.exWavelen); 
    464       addMeta(prefix + " - Emission filter wavelength", hdr.emWavelen); 
    465       addMeta(prefix + " - Intensity scaling factor", hdr.intenScaling); 
    466       addMeta(prefix + " - Energy conversion factor", hdr.energyConvFactor); 
    467       */ 
     457      addMeta(prefix, hdr); 
     458      //addMeta(prefix + " - Photosensor reading", hdr.photosensorReading); 
     459      //addMeta(prefix + " - Time stamp (in s)", hdr.timeStampSeconds); 
     460      //addMeta(prefix + " - X stage coordinates", hdr.stageXCoord); 
     461      //addMeta(prefix + " - Y stage coordinates", hdr.stageYCoord); 
     462      //addMeta(prefix + " - Z stage coordinates", hdr.stageZCoord); 
     463      //addMeta(prefix + " - Minimum intensity", hdr.minInten); 
     464      //addMeta(prefix + " - Maximum intensity", hdr.maxInten); 
     465      //addMeta(prefix + " - Exposure time (in ms)", hdr.expTime); 
     466      //addMeta(prefix + " - Neutral density value", hdr.ndFilter); 
     467      //addMeta(prefix + " - Excitation filter wavelength", hdr.exWavelen); 
     468      //addMeta(prefix + " - Emission filter wavelength", hdr.emWavelen); 
     469      //addMeta(prefix + " - Intensity scaling factor", hdr.intenScaling); 
     470      //addMeta(prefix + " - Energy conversion factor", hdr.energyConvFactor); 
    468471 
    469472      // -- record OME metadata -- 
     
    828831    //private float exFilter; 
    829832 
    830     ///** Emiision filter number. */ 
     833    ///** Emission filter number. */ 
    831834    //private float emFilter; 
    832835 
Note: See TracChangeset for help on using the changeset viewer.