[ome-devel] ome access with c++
Ilya Goldberg
igg at nih.gov
Mon Sep 26 15:45:25 BST 2005
On Sep 27, 2005, at 5:44 AM, gerhard wrote:
>
> Thanks for your answers,
> At the moment I deal with QT so I just thought about a
> simple application to query the database and get a specific picture out
> of OME.
> Because QT has classes for http and xml it should be no problem to use
> them to access OME.
> But how works OME inside. The use of XML-RPC can only query the
> database. So I can use this to get an specific Picture ID out of OME
> and
> then use the ID to contact OMEIS. Is this right?
Yes. Specifically, the ID you want to send OMEIS is
Image.default_pixels.ImageServerID
The URL to the OMEIS server that's storing the given pixels (there may
be more than one OMMEIS defined) is
Image.default_pixels.Repository.ImageServerURL
You can request that OMEIS render the pixels for you (3 channels max)
and return a tiff, jpeg or png:
http://www.openmicroscopy.org/api/omeis/composite.html
Or you can get an arbitrarily-sized thumbnail of the previously-set
"view" for the image, or you can request arbitrary planes/stacks/ROIs
of raw pixel data and render them yourself.
> And what happens if I import an picture to OMEIS. Am I responsible for
> calling the proper methods so that OME (Database) knows about the new
> picture?
OMEIS and OME operate independently. More exactly, OMEIS doesn't know
anything about OME. So yes, you would import a File (or Pixels) into
OMEIS, then create a new OME Image and a new set of Pixels (or another
set of Pixels for an existing Image), and specify the ImageServerID you
get from the OMEIS FinishPixels call (as well as a reference to the
correct Repository object).
-Ilya
>
>
>
>
>
>
> _______________________________________________
> ome-devel mailing list
> ome-devel at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
>
More information about the ome-devel
mailing list