Package ome.services.blitz.impl
Class RawPixelsStoreI
- java.lang.Object
-
- ome.services.blitz.impl.AbstractAmdServant
-
- ome.services.blitz.impl.AbstractCloseableAmdServant
-
- ome.services.blitz.impl.AbstractPyramidServant
-
- ome.services.blitz.impl.RawPixelsStoreI
-
- All Implemented Interfaces:
_PyramidServiceOperations
,_RawPixelsStoreOperations
,_ServiceInterfaceOperations
,_StatefulServiceInterfaceOperations
,CloseableServant
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class RawPixelsStoreI extends AbstractPyramidServant implements _RawPixelsStoreOperations
Implementation of the RawPixelsStore service.- Since:
- 3.0-Beta4
- See Also:
RawPixelsStore
-
-
Field Summary
-
Fields inherited from class ome.services.blitz.impl.AbstractPyramidServant
RESOLUTION_DESCRIPTIONS
-
-
Constructor Summary
Constructors Constructor Description RawPixelsStoreI(ome.api.RawPixelsStore service, BlitzExecutor be)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculateMessageDigest_async(AMD_RawPixelsStore_calculateMessageDigest __cb, Ice.Current __current)
Calculates a SHA-1 message digest for the entire pixel store.void
findMinMax_async(AMD_RawPixelsStore_findMinMax __cb, int[] channels, Ice.Current __current)
Find the minimum and maximum pixel values for the specified channels by iterating over a full plane.void
getByteWidth_async(AMD_RawPixelsStore_getByteWidth __cb, Ice.Current __current)
Returns the byte width for the pixel store.void
getCol_async(AMD_RawPixelsStore_getCol __cb, int x, int z, int c, int t, Ice.Current __current)
Retrieves a particular column from this pixel store.void
getHistogram_async(AMD_RawPixelsStore_getHistogram __cb, int[] channels, int binCount, boolean globalRange, PlaneDef plane, Ice.Current __current)
Retrieves the histogram data for the specified plane and channels.void
getHypercube_async(AMD_RawPixelsStore_getHypercube __cb, java.util.List<java.lang.Integer> offset, java.util.List<java.lang.Integer> size, java.util.List<java.lang.Integer> step, Ice.Current __current)
Retrieves a n-dimensional block from this pixel store.void
getPixelsId_async(AMD_RawPixelsStore_getPixelsId __cb, Ice.Current __current)
Returns the current Pixels set identifier.void
getPixelsPath_async(AMD_RawPixelsStore_getPixelsPath __cb, Ice.Current __current)
Returns the current Pixels path.void
getPlane_async(AMD_RawPixelsStore_getPlane __cb, int z, int c, int t, Ice.Current __current)
Retrieves a particular 2D image plane from this pixel store.void
getPlaneOffset_async(AMD_RawPixelsStore_getPlaneOffset __cb, int z, int c, int t, Ice.Current __current)
Retrieves the offset for a particular 2D image plane in this pixel store.void
getPlaneRegion_async(AMD_RawPixelsStore_getPlaneRegion __cb, int z, int c, int t, int size, int offset, Ice.Current __current)
Retrieves a region from a given plane from this pixel store.void
getPlaneSize_async(AMD_RawPixelsStore_getPlaneSize __cb, Ice.Current __current)
Retrieves the in memory size of a 2D image plane in this pixel store.void
getRegion_async(AMD_RawPixelsStore_getRegion __cb, int size, long offset, Ice.Current __current)
Retrieves a region from this pixel store.void
getRow_async(AMD_RawPixelsStore_getRow __cb, int y, int z, int c, int t, Ice.Current __current)
Retrieves a particular row or scanline from this pixel store.void
getRowOffset_async(AMD_RawPixelsStore_getRowOffset __cb, int y, int z, int c, int t, Ice.Current __current)
Retrieves the offset for a particular row or scanline in this pixel store.void
getRowSize_async(AMD_RawPixelsStore_getRowSize __cb, Ice.Current __current)
Retrieves the in memory size of a row or scanline of pixels in this pixel store.void
getStack_async(AMD_RawPixelsStore_getStack __cb, int c, int t, Ice.Current __current)
Retrieves the the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.void
getStackOffset_async(AMD_RawPixelsStore_getStackOffset __cb, int c, int t, Ice.Current __current)
Retrieves the offset for the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.void
getStackSize_async(AMD_RawPixelsStore_getStackSize __cb, Ice.Current __current)
Retrieves the in memory size of the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.void
getTile_async(AMD_RawPixelsStore_getTile __cb, int z, int c, int t, int x, int y, int w, int h, Ice.Current __current)
Retrieves a tile from this pixel buffer.void
getTimepoint_async(AMD_RawPixelsStore_getTimepoint __cb, int t, Ice.Current __current)
Retrieves the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.void
getTimepointOffset_async(AMD_RawPixelsStore_getTimepointOffset __cb, int t, Ice.Current __current)
Retrieves the in memory size of the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.void
getTimepointSize_async(AMD_RawPixelsStore_getTimepointSize __cb, Ice.Current __current)
Retrieves the in memory size of the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.void
getTotalSize_async(AMD_RawPixelsStore_getTotalSize __cb, Ice.Current __current)
Retrieves the in memory size of the entire pixel store.void
isFloat_async(AMD_RawPixelsStore_isFloat __cb, Ice.Current __current)
Returns whether or not the pixel buffer has floating point pixels.void
isSigned_async(AMD_RawPixelsStore_isSigned __cb, Ice.Current __current)
Returns whether or not the pixel store has signed pixels.void
prepare_async(AMD_RawPixelsStore_prepare __cb, java.util.List<java.lang.Long> pixelsIds, Ice.Current __current)
Prepares the stateful service with a cache of loaded Pixels objects.void
save_async(AMD_RawPixelsStore_save __cb, Ice.Current __current)
Save the current state of the pixels, updating the SHA1.void
setPixelsId_async(AMD_RawPixelsStore_setPixelsId __cb, long pixelsId, boolean bypassOriginalFile, Ice.Current __current)
Initializes the stateful service for a given Pixels set.void
setPlane_async(AMD_RawPixelsStore_setPlane __cb, byte[] buf, int z, int c, int t, Ice.Current __current)
Sets a particular 2D image plane in this pixel store.void
setRegion_async(AMD_RawPixelsStore_setRegion __cb, int size, long offset, byte[] buffer, Ice.Current __current)
Sets a region in this pixel buffer.void
setRow_async(AMD_RawPixelsStore_setRow __cb, byte[] buf, int y, int z, int c, int t, Ice.Current __current)
Sets a particular row or scanline in this pixel store.void
setStack_async(AMD_RawPixelsStore_setStack __cb, byte[] buf, int z, int c, int t, Ice.Current __current)
Sets the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.void
setTile_async(AMD_RawPixelsStore_setTile __cb, byte[] buf, int z, int c, int t, int x, int y, int w, int h, Ice.Current __current)
Sets a tile in this pixel buffer.void
setTimepoint_async(AMD_RawPixelsStore_setTimepoint __cb, byte[] buf, int t, Ice.Current __current)
Sets the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.-
Methods inherited from class ome.services.blitz.impl.AbstractPyramidServant
getResolutionDescriptions_async, getResolutionLevel_async, getResolutionLevels_async, getTileSize_async, postClose, preClose, requiresPixelsPyramid_async, setResolutionLevel_async
-
Methods inherited from class ome.services.blitz.impl.AbstractCloseableAmdServant
close, close_async
-
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.api._PyramidServiceOperations
getResolutionDescriptions_async, getResolutionLevel_async, getResolutionLevels_async, getTileSize_async, requiresPixelsPyramid_async, setResolutionLevel_async
-
Methods inherited from interface omero.api._StatefulServiceInterfaceOperations
activate_async, close_async, getCurrentEventContext_async, passivate_async
-
-
-
-
Constructor Detail
-
RawPixelsStoreI
public RawPixelsStoreI(ome.api.RawPixelsStore service, BlitzExecutor be)
-
-
Method Detail
-
calculateMessageDigest_async
public void calculateMessageDigest_async(AMD_RawPixelsStore_calculateMessageDigest __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Calculates a SHA-1 message digest for the entire pixel store.- Specified by:
calculateMessageDigest_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getByteWidth_async
public void getByteWidth_async(AMD_RawPixelsStore_getByteWidth __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Returns the byte width for the pixel store.- Specified by:
getByteWidth_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getPlaneOffset_async
public void getPlaneOffset_async(AMD_RawPixelsStore_getPlaneOffset __cb, int z, int c, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the offset for a particular 2D image plane in this pixel store.- Specified by:
getPlaneOffset_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.z
- offset across the Z-axis of the pixel buffer.t
- offset across the T-axis of the pixel buffer.__current
- The Current object for the invocation.- Throws:
ServerError
-
getPlaneRegion_async
public void getPlaneRegion_async(AMD_RawPixelsStore_getPlaneRegion __cb, int z, int c, int t, int size, int offset, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves a region from a given plane from this pixel store.- Specified by:
getPlaneRegion_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.z
- offset across the Z-axis of the pixel store.t
- offset across the T-axis of the pixel store.offset
- the offset at which to retrievesize
pixels.__current
- The Current object for the invocation.- Throws:
ServerError
-
getPlaneSize_async
public void getPlaneSize_async(AMD_RawPixelsStore_getPlaneSize __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the in memory size of a 2D image plane in this pixel store.- Specified by:
getPlaneSize_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getPlane_async
public void getPlane_async(AMD_RawPixelsStore_getPlane __cb, int z, int c, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves a particular 2D image plane from this pixel store.- Specified by:
getPlane_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.z
- offset across the Z-axis of the pixel store.t
- offset across the T-axis of the pixel store.__current
- The Current object for the invocation.- Throws:
ServerError
-
getHypercube_async
public void getHypercube_async(AMD_RawPixelsStore_getHypercube __cb, java.util.List<java.lang.Integer> offset, java.util.List<java.lang.Integer> size, java.util.List<java.lang.Integer> step, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves a n-dimensional block from this pixel store.- Specified by:
getHypercube_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.offset
- offset for each dimension within pixel store.step
- needed of each dimension (dependent on dimension).__current
- The Current object for the invocation.- Throws:
ServerError
-
getRegion_async
public void getRegion_async(AMD_RawPixelsStore_getRegion __cb, int size, long offset, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves a region from this pixel store.- Specified by:
getRegion_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.size
- byte width of the region to retrieve.__current
- The Current object for the invocation.- Throws:
ServerError
-
getRowOffset_async
public void getRowOffset_async(AMD_RawPixelsStore_getRowOffset __cb, int y, int z, int c, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the offset for a particular row or scanline in this pixel store.- Specified by:
getRowOffset_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.y
- offset across the Y-axis of the pixel buffer.c
- offset across the C-axis of the pixel buffer.__current
- The Current object for the invocation.- Throws:
ServerError
-
getRowSize_async
public void getRowSize_async(AMD_RawPixelsStore_getRowSize __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the in memory size of a row or scanline of pixels in this pixel store.- Specified by:
getRowSize_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getRow_async
public void getRow_async(AMD_RawPixelsStore_getRow __cb, int y, int z, int c, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves a particular row or scanline from this pixel store.- Specified by:
getRow_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.y
- offset across the Y-axis of the pixel store.c
- offset across the C-axis of the pixel store.__current
- The Current object for the invocation.- Throws:
ServerError
-
getStackOffset_async
public void getStackOffset_async(AMD_RawPixelsStore_getStackOffset __cb, int c, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the offset for the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.- Specified by:
getStackOffset_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.c
- offset across the C-axis of the pixel buffer.__current
- The Current object for the invocation.- Throws:
ServerError
-
getStackSize_async
public void getStackSize_async(AMD_RawPixelsStore_getStackSize __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the in memory size of the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.- Specified by:
getStackSize_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getStack_async
public void getStack_async(AMD_RawPixelsStore_getStack __cb, int c, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.- Specified by:
getStack_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.c
- offset across the C-axis of the pixel store.__current
- The Current object for the invocation.- Throws:
ServerError
-
getTimepointOffset_async
public void getTimepointOffset_async(AMD_RawPixelsStore_getTimepointOffset __cb, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the in memory size of the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.- Specified by:
getTimepointOffset_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.t
- offset across the T-axis of the pixel buffer.__current
- The Current object for the invocation.- Throws:
ServerError
-
getTimepointSize_async
public void getTimepointSize_async(AMD_RawPixelsStore_getTimepointSize __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the in memory size of the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.- Specified by:
getTimepointSize_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getTimepoint_async
public void getTimepoint_async(AMD_RawPixelsStore_getTimepoint __cb, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.- Specified by:
getTimepoint_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.t
- offset across the T-axis of the pixel store.__current
- The Current object for the invocation.- Throws:
ServerError
-
getTotalSize_async
public void getTotalSize_async(AMD_RawPixelsStore_getTotalSize __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the in memory size of the entire pixel store.- Specified by:
getTotalSize_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
isFloat_async
public void isFloat_async(AMD_RawPixelsStore_isFloat __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Returns whether or not the pixel buffer has floating point pixels.- Specified by:
isFloat_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
isSigned_async
public void isSigned_async(AMD_RawPixelsStore_isSigned __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Returns whether or not the pixel store has signed pixels.- Specified by:
isSigned_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
setPixelsId_async
public void setPixelsId_async(AMD_RawPixelsStore_setPixelsId __cb, long pixelsId, boolean bypassOriginalFile, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Initializes the stateful service for a given Pixels set.- Specified by:
setPixelsId_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.pixelsId
- Pixels set identifier.__current
- The Current object for the invocation.- Throws:
ServerError
-
getPixelsId_async
public void getPixelsId_async(AMD_RawPixelsStore_getPixelsId __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Returns the current Pixels set identifier.- Specified by:
getPixelsId_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getPixelsPath_async
public void getPixelsPath_async(AMD_RawPixelsStore_getPixelsPath __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Returns the current Pixels path.- Specified by:
getPixelsPath_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
prepare_async
public void prepare_async(AMD_RawPixelsStore_prepare __cb, java.util.List<java.lang.Long> pixelsIds, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Prepares the stateful service with a cache of loaded Pixels objects. This method is designed to combat query overhead, where many sets of Pixels are to be read from or written to, by loading all the Pixels sets at once. Multiple calls will result in the existing cache being overwritten.- Specified by:
prepare_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.pixelsIds
- Pixels IDs to cache.__current
- The Current object for the invocation.- Throws:
ServerError
-
setPlane_async
public void setPlane_async(AMD_RawPixelsStore_setPlane __cb, byte[] buf, int z, int c, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Sets a particular 2D image plane in this pixel store.- Specified by:
setPlane_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.buf
- a byte array of the data comprising this 2D image plane.c
- offset across the C-axis of the pixel store.__current
- The Current object for the invocation.- Throws:
ServerError
-
setRegion_async
public void setRegion_async(AMD_RawPixelsStore_setRegion __cb, int size, long offset, byte[] buffer, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Sets a region in this pixel buffer.- Specified by:
setRegion_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.size
- byte width of the region to set.buffer
- a byte array of the data. See Read-only caveat underRawPixelsStore
__current
- The Current object for the invocation.- Throws:
ServerError
-
setRow_async
public void setRow_async(AMD_RawPixelsStore_setRow __cb, byte[] buf, int y, int z, int c, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Sets a particular row or scanline in this pixel store.- Specified by:
setRow_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.buf
- a byte array of the data comprising this row or scanline.z
- offset across the Z-axis of the pixel store.t
- offset across the T-axis of the pixel store. See Read-only caveat underRawPixelsStore
__current
- The Current object for the invocation.- Throws:
ServerError
-
setStack_async
public void setStack_async(AMD_RawPixelsStore_setStack __cb, byte[] buf, int z, int c, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Sets the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.- Specified by:
setStack_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.buf
- a byte array of the data comprising this stack.t
- offset across the T-axis of the pixel store. See Read-only caveat underRawPixelsStore
__current
- The Current object for the invocation.- Throws:
ServerError
-
setTimepoint_async
public void setTimepoint_async(AMD_RawPixelsStore_setTimepoint __cb, byte[] buf, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Sets the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.- Specified by:
setTimepoint_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.buf
- a byte array of the data comprising this timepoint.__current
- The Current object for the invocation.- Throws:
ServerError
-
getHistogram_async
public void getHistogram_async(AMD_RawPixelsStore_getHistogram __cb, int[] channels, int binCount, boolean globalRange, PlaneDef plane, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves the histogram data for the specified plane and channels. This method can currently only handle non-pyramid images.- Specified by:
getHistogram_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.channels
- the channels to generate the histogram data forplane
- the plane (optional, default: whole region of first z/t plane)__current
- The Current object for the invocation.- Throws:
ServerError
-
findMinMax_async
public void findMinMax_async(AMD_RawPixelsStore_findMinMax __cb, int[] channels, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Find the minimum and maximum pixel values for the specified channels by iterating over a full plane. In case of multi-z/t images only the 'middle' plane with index maxZ/2, respectively maxT/2 is taken into account. Note: This method can currently only handle non-pyramid images, otherwise an empty map will be returned.- Specified by:
findMinMax_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.channels
- the channels__current
- The Current object for the invocation.- Throws:
ServerError
-
getCol_async
public void getCol_async(AMD_RawPixelsStore_getCol __cb, int x, int z, int c, int t, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves a particular column from this pixel store.- Specified by:
getCol_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.x
- offset across the X-axis of the pixel store.c
- offset across the C-axis of the pixel store.__current
- The Current object for the invocation.- Throws:
ServerError
-
save_async
public void save_async(AMD_RawPixelsStore_save __cb, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Save the current state of the pixels, updating the SHA1. This should only be called AFTER all data is successfully set. Future invocations of set methods may be disallowed. This read-only status will allow background processing (generation of thumbnails, compression, etc.) to begin. More information underRawPixelsStore
. A null instance will be returned if no save was performed.- Specified by:
save_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getTile_async
public void getTile_async(AMD_RawPixelsStore_getTile __cb, int z, int c, int t, int x, int y, int w, int h, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Retrieves a tile from this pixel buffer.- Specified by:
getTile_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.z
- offset across the Z-axis of the pixel buffer.t
- offset across the T-axis of the pixel buffer.y
- Top left corner of the tile, Y offset.h
- Height of the tile.__current
- The Current object for the invocation.- Throws:
ServerError
-
setTile_async
public void setTile_async(AMD_RawPixelsStore_setTile __cb, byte[] buf, int z, int c, int t, int x, int y, int w, int h, Ice.Current __current) throws ServerError
Description copied from interface:_RawPixelsStoreOperations
Sets a tile in this pixel buffer.- Specified by:
setTile_async
in interface_RawPixelsStoreOperations
- Parameters:
__cb
- The callback object for the operation.buf
- A byte array of the data.c
- offset across the C-axis of the pixel buffer.x
- Top left corner of the tile, X offset.w
- Width of the tile.__current
- The Current object for the invocation.- Throws:
ServerError
-
-