[ome-devel] Using ome-xml format

Alexandre Granier alexandre.granier at mri.cnrs.fr
Thu Dec 13 09:49:54 GMT 2012


High Andrew,
thanks for your reply, I will do it this way.
regards,
Alexandre
> 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
> 
> 

-- 
Alexandre Granier
Ingénieur développement logiciel
UMS Biocampus Montpellier
Montpellier RIO Imaging
CNRS 
1919, route de Mende
04 34 35 95 66




More information about the ome-devel mailing list