public class RawPixelsStoreServiceImpl extends java.lang.Object implements RawPixelsStoreService
コンストラクタと説明 |
---|
RawPixelsStoreServiceImpl(omero.api.RawPixelsStorePrx rawPixelsStore)
Create the ImageService passing the gateway.
|
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getByteWidth(long pixelsId)
Get the bytewidth of the image
|
byte[] |
getPlane(long pixelsId,
int z,
int c,
int t)
get bytes to the plane c, t, z
|
long |
getPlaneSize(long pixelsId)
Get the plane size of the current image.
|
int |
getRowSize(long pixelsId)
Get the plane size of the current image.
|
long |
getStackSize(long pixelsId)
Get the stack size of the current image.
|
long |
getTimepointSize(long pixelsId)
Get the timepoint size of the current image.
|
long |
getTotalSize(long pixelsId)
Get the total size of the current image.
|
boolean |
isFloat(long pixelsId)
Are the bytes in the image floats.
|
boolean |
isSigned(long pixelsId)
Are the bytes in the image signed.
|
void |
setPlane(long pixelsId,
byte[] buf,
int z,
int c,
int t)
set the plane at z, c, t to the bytes of buf.
|
public RawPixelsStoreServiceImpl(omero.api.RawPixelsStorePrx rawPixelsStore)
gatewayFactory
- To generate new instances of the
RenderingEngineGateway.public int getByteWidth(long pixelsId) throws omero.ServerError
RawPixelsStoreService
getByteWidth
インタフェース内 RawPixelsStoreService
pixelsId
- the pixelsId of the image.omero.ServerError
public byte[] getPlane(long pixelsId, int z, int c, int t) throws omero.ServerError
RawPixelsStoreService
getPlane
インタフェース内 RawPixelsStoreService
pixelsId
- the pixelsId of the image.z
- see above.c
- see above.t
- the bytes.omero.ServerError
public long getPlaneSize(long pixelsId) throws omero.ServerError
RawPixelsStoreService
getPlaneSize
インタフェース内 RawPixelsStoreService
pixelsId
- the pixelsId of the image.omero.ServerError
public int getRowSize(long pixelsId) throws omero.ServerError
RawPixelsStoreService
getRowSize
インタフェース内 RawPixelsStoreService
pixelsId
- the pixelsId of the image.omero.ServerError
public long getStackSize(long pixelsId) throws omero.ServerError
RawPixelsStoreService
getStackSize
インタフェース内 RawPixelsStoreService
pixelsId
- the pixelsId of the image.omero.ServerError
public long getTimepointSize(long pixelsId) throws omero.ServerError
RawPixelsStoreService
getTimepointSize
インタフェース内 RawPixelsStoreService
pixelsId
- the pixelsId of the image.omero.ServerError
public long getTotalSize(long pixelsId) throws omero.ServerError
RawPixelsStoreService
getTotalSize
インタフェース内 RawPixelsStoreService
pixelsId
- the pixelsId of the image.omero.ServerError
public boolean isFloat(long pixelsId) throws omero.ServerError
RawPixelsStoreService
isFloat
インタフェース内 RawPixelsStoreService
pixelsId
- the pixelsId of the image.omero.ServerError
public boolean isSigned(long pixelsId) throws omero.ServerError
RawPixelsStoreService
isSigned
インタフェース内 RawPixelsStoreService
pixelsId
- the pixelsId of the image.omero.ServerError
public void setPlane(long pixelsId, byte[] buf, int z, int c, int t) throws omero.ServerError
RawPixelsStoreService
setPlane
インタフェース内 RawPixelsStoreService
pixelsId
- the pixelsId of the image.buf
- bytes of the plane.z
- z sectionc
- channelt
- timepointomero.ServerError