I am developing an omero script which merges an image stack.
I intended to use the function “projectPixels” but I need a little help with this one.
What i did so far:
The user input are Image IDs, which are saved in an array. Then I want to merge each image over time (maximum intensity projection):
def sumPixels(client, conn, image):
Proj_service = conn.getProjectionService()
# get some Image information for the function --> output is correct
# arguments for projectPixels according to https://downloads.openmicroscopy.org/omero/5.4.10/api/slice2html/omero/api/IProjection.html#projectPixels
Proj_service.projectPixels(#all necessary arguments)
Both functions are surrounded by try - catch.
Error message: ‘_BlitzGateway’ object has no attribute ‘getProjectionService’.
Any ideas how to?
Is the function still supported? (I am using omero.server 5.6.1)
Thanks in advance!