[ome-devel] Using the Gateway object to create a new Image, then viewing it with OMERO.insight?
Jerome Avondo
jeromeavondo at msn.com
Mon Jul 13 13:52:34 BST 2009
Thanks Bernhard!
Got it working, I was indeed missing the statsinfo.
But I also ended up not using the gateway function, and just doing it the long way round...
j.
> From: bernhard.hollaender at gmail.com
> Date: Mon, 13 Jul 2009 14:00:31 +0200
> Subject: Re: [ome-devel] Using the Gateway object to create a new Image, then viewing it with OMERO.insight?
> To: jeromeavondo at msn.com
> CC: ome-devel at lists.openmicroscopy.org.uk
>
> Hi Jerome!
>
> I'm not sure if it applies to the Gateway::createImage method, but I
> think you need to set the stats info for each channel before the
> Insight client is able to get a rendered image from the server. At
> least this was the trick I had to do before I could see the channels
> of images I created through the API in the Insight client.
>
> Hope that helps! Bernhard
>
>
> On Mon, Jul 13, 2009 at 1:21 PM, Jerome Avondo<jeromeavondo at msn.com> wrote:
> > Hi,
> >
> > I am trying to create a new Image object on the omero server using the Java
> > API.
> >
> > I use the gateway function, createImage().
> >
> > From what I can tell this seems to work fine,
> >
> > I create the image with the gateway function, and then fill up the planes
> > with some byte[] data. All this seems to work ok.
> > I can also export the Image to an OME-TIFF using that code I posted a while
> > back, so this would point me to think that the Image is valid.
> >
> > The problem I have is when I use OMERO.insight 4.0.3, to look at my Image,
> > it does not see any channels for the Image object.
> > And when I try to view it says; "The image could not be opened. The image is
> > not a valid image."
> >
> > I dug into the API and see that the gateway does create the Channel and
> > attached LogicalChannels objects, with the createImage().
> > So Im not too sure what else it needs to get insight to see it as a valid
> > Image.
> >
> > I can post code upon request if needed... Any help would be great.
> > Thanks,
> >
> > J.
> >
> >
> >
> > ________________________________
> > Beyond Hotmail - see what else you can do with Windows Live. Find out more.
> > _______________________________________________
> > ome-devel mailing list
> > ome-devel at lists.openmicroscopy.org.uk
> > http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
> >
> >
_________________________________________________________________
Get the best of MSN on your mobile
http://clk.atdmt.com/UKM/go/147991039/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20090713/1a9658b1/attachment.htm
More information about the ome-devel
mailing list