[ome-users] Omero -> Matlab

Shawn Garbett shawn.p.garbett at vanderbilt.edu
Wed Mar 10 21:00:41 GMT 2010


On Mar 10, 2010, at 2:57 PM, Josh Moore wrote:
> 
> Shawn Garbett writes:
>> I'm writing Omero to matlab code and I've run into the following
>> problem:
>> 
>>>> gateway.getPlane(pixelsId, 0, 0, 0) ??? No method 'getPlane'
>> with matching signature found for class
>> 'omero.api.GatewayPrxHelper'.
>> 
>> I looked into javadoc and couldn't find any documentation for
>> omero.api.GatewayPrxHelper. So I dove into the source code and
>> found the routine. The function exists, but not from
>> 
>> --------------------------
>> OmeroMatlab Toolbox 
>> Beta-4.2.0-DEV-r6240-b2918
>> --------------------------
>> 
>> Suggestions?
> 
> Documentation for Gateway.getPlane is available here:
> http://hudson.openmicroscopy.org.uk/job/OMERO/javadoc/slice2html/omero/api/Gateway.html#getPlane
> 
> It requires a long for the first parameter. How did you set the
> pixelsId variable?
> 
>>> c = loadOmero('myserver');
> --------------------------
> OmeroMatlab Toolbox 
> Beta-4.2.0-DEV-r6240-S1995
> --------------------------
> 
>>> sf = c.createSession('demo','ome');
>>> sf = c.createSession('demo','omero');
>>> g = sf.createGateway();
>>> p = g.getPlane(936,0,0,0);
>>> 
> 

Ah,  g.getPlane(pixelsId.getValue(), 0, 0, 0); works.

Shawn Garbett <shawn.p.garbett at vanderbilt.edu>
Vanderbilt Cancer Biology
220 Pierce Ave, PRB 715AA
Nashville, TN 37232
Office: 615.936.1975
Cell: 615.397.8737




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20100310/b02d36b7/attachment.html>


More information about the ome-users mailing list