- Code: Select all
rawPixelsStore = session.createRawPixelsStore()
image = gateway.getImage( iid )
pid = image.getPixels( 0 ).getId().getValue();
pixels = session.getPixelsService().retrievePixDescription(pid);
rawPixelsStore.setPixelsId( pid, True )
plane = utils.downloadPlane( rawPixelsStore, pixels, 0, 0, 0 );
~Josh
P.S. I've added http://trac.openmicroscopy.org.uk/omero/ticket/3186 for loading the pixels automatically. Sorry for the trouble.