public interface _RawPixelsStoreOperationsNC extends _PyramidServiceOperationsNC
Pixels
instance, this service can provide
various slices, stacks, regions of the 5-dimensional (X-Y planes with
multiple Z-sections and Channels over Time). The byte array returned
by the getter methods and passed to the setter methods can and will
be interpreted according to results of getByteWidth
,
isFloat
, and isSigned
.
Read-only caveat: Mutating methods (set*) are only available during the first access. Once the Pixels data has been successfully saved (via the save or close methods on this interface), then the data should be treated read-only. If Pixels data writing fails and the service is inadvertently closed, delete the Pixels object, and create a new one. Any partially written data will be removed.
Modifier and Type | Method and Description |
---|---|
void |
calculateMessageDigest_async(AMD_RawPixelsStore_calculateMessageDigest __cb)
Calculates a SHA-1 message digest for the entire pixel store.
|
void |
findMinMax_async(AMD_RawPixelsStore_findMinMax __cb,
int[] channels)
Find the minimum and maximum pixel values for the specified channels by iterating over a full plane.
|
void |
getByteWidth_async(AMD_RawPixelsStore_getByteWidth __cb)
Returns the byte width for the pixel store.
|
void |
getCol_async(AMD_RawPixelsStore_getCol __cb,
int x,
int z,
int c,
int t)
Retrieves a particular column from this pixel store.
|
void |
getHistogram_async(AMD_RawPixelsStore_getHistogram __cb,
int[] channels,
int binCount,
boolean globalRange,
PlaneDef plane)
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)
Retrieves a n-dimensional block from this pixel store.
|
void |
getPixelsId_async(AMD_RawPixelsStore_getPixelsId __cb)
Returns the current Pixels set identifier.
|
void |
getPixelsPath_async(AMD_RawPixelsStore_getPixelsPath __cb)
Returns the current Pixels path.
|
void |
getPlane_async(AMD_RawPixelsStore_getPlane __cb,
int z,
int c,
int t)
Retrieves a particular 2D image plane from this pixel store.
|
void |
getPlaneOffset_async(AMD_RawPixelsStore_getPlaneOffset __cb,
int z,
int c,
int t)
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)
Retrieves a region from a given plane from this pixel store.
|
void |
getPlaneSize_async(AMD_RawPixelsStore_getPlaneSize __cb)
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)
Retrieves a region from this pixel store.
|
void |
getRow_async(AMD_RawPixelsStore_getRow __cb,
int y,
int z,
int c,
int t)
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)
Retrieves the offset for a particular row or scanline in
this pixel store.
|
void |
getRowSize_async(AMD_RawPixelsStore_getRowSize __cb)
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)
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)
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)
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)
Retrieves a tile from this pixel buffer.
|
void |
getTimepoint_async(AMD_RawPixelsStore_getTimepoint __cb,
int t)
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)
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)
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)
Retrieves the in memory size of the entire pixel store.
|
void |
isFloat_async(AMD_RawPixelsStore_isFloat __cb)
Returns whether or not the pixel buffer has floating point pixels.
|
void |
isSigned_async(AMD_RawPixelsStore_isSigned __cb)
Returns whether or not the pixel store has signed pixels.
|
void |
prepare_async(AMD_RawPixelsStore_prepare __cb,
java.util.List<java.lang.Long> pixelsIds)
Prepares the stateful service with a cache of loaded Pixels
objects.
|
void |
save_async(AMD_RawPixelsStore_save __cb)
Save the current state of the pixels, updating the SHA1.
|
void |
setPixelsId_async(AMD_RawPixelsStore_setPixelsId __cb,
long pixelsId,
boolean bypassOriginalFile)
Initializes the stateful service for a given Pixels set.
|
void |
setPlane_async(AMD_RawPixelsStore_setPlane __cb,
byte[] buf,
int z,
int c,
int t)
Sets a particular 2D image plane in this pixel store.
|
void |
setRegion_async(AMD_RawPixelsStore_setRegion __cb,
int size,
long offset,
byte[] buf)
Sets a region in this pixel buffer.
|
void |
setRow_async(AMD_RawPixelsStore_setRow __cb,
byte[] buf,
int y,
int z,
int c,
int t)
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)
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)
Sets a tile in this pixel buffer.
|
void |
setTimepoint_async(AMD_RawPixelsStore_setTimepoint __cb,
byte[] buf,
int t)
Sets the entire number of optical sections for all
wavelengths or channels at a particular timepoint in this pixel store.
|
getResolutionDescriptions_async, getResolutionLevel_async, getResolutionLevels_async, getTileSize_async, requiresPixelsPyramid_async, setResolutionLevel_async
activate_async, close_async, getCurrentEventContext_async, passivate_async
void setPixelsId_async(AMD_RawPixelsStore_setPixelsId __cb, long pixelsId, boolean bypassOriginalFile) throws ServerError
__cb
- The callback object for the operation.pixelsId
- Pixels set identifier.ServerError
void getPixelsId_async(AMD_RawPixelsStore_getPixelsId __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void getPixelsPath_async(AMD_RawPixelsStore_getPixelsPath __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void prepare_async(AMD_RawPixelsStore_prepare __cb, java.util.List<java.lang.Long> pixelsIds) throws ServerError
__cb
- The callback object for the operation.pixelsIds
- Pixels IDs to cache.ServerError
void getPlaneSize_async(AMD_RawPixelsStore_getPlaneSize __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void getRowSize_async(AMD_RawPixelsStore_getRowSize __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void getStackSize_async(AMD_RawPixelsStore_getStackSize __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void getTimepointSize_async(AMD_RawPixelsStore_getTimepointSize __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void getTotalSize_async(AMD_RawPixelsStore_getTotalSize __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void getRowOffset_async(AMD_RawPixelsStore_getRowOffset __cb, int y, int z, int c, int t) throws ServerError
__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.ServerError
void getPlaneOffset_async(AMD_RawPixelsStore_getPlaneOffset __cb, int z, int c, int t) throws ServerError
__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.ServerError
void getStackOffset_async(AMD_RawPixelsStore_getStackOffset __cb, int c, int t) throws ServerError
__cb
- The callback object for the operation.c
- offset across the C-axis of the pixel buffer.ServerError
void getTimepointOffset_async(AMD_RawPixelsStore_getTimepointOffset __cb, int t) throws ServerError
__cb
- The callback object for the operation.t
- offset across the T-axis of the pixel buffer.ServerError
void getTile_async(AMD_RawPixelsStore_getTile __cb, int z, int c, int t, int x, int y, int w, int h) throws ServerError
__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.ServerError
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) throws ServerError
__cb
- The callback object for the operation.offset
- offset for each dimension within pixel store.step
- needed of each dimension (dependent on
dimension).ServerError
void getRegion_async(AMD_RawPixelsStore_getRegion __cb, int size, long offset) throws ServerError
__cb
- The callback object for the operation.size
- byte width of the region to retrieve.ServerError
void getRow_async(AMD_RawPixelsStore_getRow __cb, int y, int z, int c, int t) throws ServerError
__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.ServerError
void getCol_async(AMD_RawPixelsStore_getCol __cb, int x, int z, int c, int t) throws ServerError
__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.ServerError
void getPlane_async(AMD_RawPixelsStore_getPlane __cb, int z, int c, int t) throws ServerError
__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.ServerError
void getPlaneRegion_async(AMD_RawPixelsStore_getPlaneRegion __cb, int z, int c, int t, int size, int offset) throws ServerError
__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 retrieve size
pixels.ServerError
void getStack_async(AMD_RawPixelsStore_getStack __cb, int c, int t) throws ServerError
__cb
- The callback object for the operation.c
- offset across the C-axis of the pixel store.ServerError
void getTimepoint_async(AMD_RawPixelsStore_getTimepoint __cb, int t) throws ServerError
__cb
- The callback object for the operation.t
- offset across the T-axis of the pixel store.ServerError
void setTile_async(AMD_RawPixelsStore_setTile __cb, byte[] buf, int z, int c, int t, int x, int y, int w, int h) throws ServerError
__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.ServerError
void setRegion_async(AMD_RawPixelsStore_setRegion __cb, int size, long offset, byte[] buf) throws ServerError
__cb
- The callback object for the operation.size
- byte width of the region to set.buf
- a byte array of the data.
See Read-only caveat under RawPixelsStore
ServerError
void setRow_async(AMD_RawPixelsStore_setRow __cb, byte[] buf, int y, int z, int c, int t) throws ServerError
__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 under RawPixelsStore
ServerError
void setPlane_async(AMD_RawPixelsStore_setPlane __cb, byte[] buf, int z, int c, int t) throws ServerError
__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.ServerError
void setStack_async(AMD_RawPixelsStore_setStack __cb, byte[] buf, int z, int c, int t) throws ServerError
__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 under RawPixelsStore
ServerError
void setTimepoint_async(AMD_RawPixelsStore_setTimepoint __cb, byte[] buf, int t) throws ServerError
__cb
- The callback object for the operation.buf
- a byte array of the data comprising this timepoint.ServerError
void getHistogram_async(AMD_RawPixelsStore_getHistogram __cb, int[] channels, int binCount, boolean globalRange, PlaneDef plane) throws ServerError
__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)ServerError
void findMinMax_async(AMD_RawPixelsStore_findMinMax __cb, int[] channels) throws ServerError
__cb
- The callback object for the operation.channels
- the channelsServerError
void getByteWidth_async(AMD_RawPixelsStore_getByteWidth __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void isSigned_async(AMD_RawPixelsStore_isSigned __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void isFloat_async(AMD_RawPixelsStore_isFloat __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void calculateMessageDigest_async(AMD_RawPixelsStore_calculateMessageDigest __cb) throws ServerError
__cb
- The callback object for the operation.ServerError
void save_async(AMD_RawPixelsStore_save __cb) throws ServerError
RawPixelsStore
.
A null instance will be returned if no save was performed.__cb
- The callback object for the operation.ServerError