[ome-devel] Using ome-xml format

Andrew Patterson ajpatterson at lifesci.dundee.ac.uk
Wed Dec 12 11:43:27 GMT 2012


Hello Alexandre,

> I can add an "Instrument" element and add many "Objective" elements
> but then I want to link them with their corresponding "Image" element.
This is the best way to do it.

You would then link each Image to the correct Objective using an "ObjectiveSettings" element.
Your sample XML would look like

> <OME xmlns=...>
> <Image ID="Image:0">
>  <AcquisitionDate>...</AcquisitionDate>
  <Instrument ID="Instrument:1" ...>
  <ObjectiveSettings ID="Objective:0"/>
>  <Pixels ...></Pixels>
> </Image>
> <Image ID="Image:2">
>  <AcquisitionDate>...</AcquisitionDate>
  <Instrument ID="Instrument:1" ...>
  <ObjectiveSettings ID="Objective:1"/>
>  <Pixels ...></Pixels>
> </Image>
> 
> <!-- here is what I want to add, 
> Need to link with above images -->
> <Instrument ID=Instrument:1" ...>
>  <Objective NominalMagnification="20"
                     ID="Objective:0"
>                    .../>
>  <Objective NominalMagnification="5" 
                     ID="Objective:1" 
>                    .../>
> </Instrument>
> </OME>

Hope this helps,

Andrew

--
Andrew Patterson
Software Developer, Open Microscopy Environment
Wellcome Trust Centre for Gene Regulation and Expression
University of Dundee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20121212/d7f7030a/attachment.html>


More information about the ome-devel mailing list