[ome-users] Omero -> Matlab

Josh Moore josh at glencoesoftware.com
Wed Mar 10 20:57:55 GMT 2010


Shawn,

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);
>> 




More information about the ome-users mailing list