Changeset 6037


Ignore:
Timestamp:
03/17/10 16:06:36 (10 years ago)
Author:
melissa
Message:

Add key/value pairs that map normalized channel indices to 'real' channel indices.

File:
1 edited

Legend:

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

    r6026 r6037  
    830830        if (key.equals("Image Channel Index")) { 
    831831          cIndex = Integer.parseInt(value); 
     832          int v = 0; 
     833          while (getGlobalMeta(key + " " + v) != null) v++; 
     834          if (!getGlobalMetadata().containsValue(cIndex)) { 
     835            addGlobalMeta(key + " " + v, cIndex); 
     836          } 
     837          continue; 
    832838        } 
    833839        else if (key.equals("ImageWidth")) { 
Note: See TracChangeset for help on using the changeset viewer.