public class RenderingServiceImpl extends java.lang.Object implements RenderingService
コンストラクタと説明 |
---|
RenderingServiceImpl(omero.api.RenderingEnginePrx renderingEngine)
Create the ImageService passing the gateway.
|
修飾子とタイプ | メソッドと説明 |
---|---|
double |
getChannelWindowEnd(java.lang.Long pixelsId,
int w)
Get the channel max.
|
double |
getChannelWindowStart(java.lang.Long pixelsId,
int w)
Get the channel min.
|
int |
getDefaultT(java.lang.Long pixelsId)
Get the default T point of the image
|
int |
getDefaultZ(java.lang.Long pixelsId)
Get the default Z section of the image
|
omero.model.Pixels |
getPixels(java.lang.Long pixelsId)
Get the pixels of the Rendering engine.
|
int[] |
getRenderedImage(long pixelsId,
int z,
int t)
Render image as Buffered image.
|
int[][][] |
getRenderedImageMatrix(long pixelsId,
int z,
int t)
Render image as 3d matrix.
|
boolean |
isActive(java.lang.Long pixelsId,
int w)
Is the channel active.
|
int[] |
renderAsPackedInt(java.lang.Long pixelsId,
int z,
int t)
Render as a packedInt
|
int[] |
renderAsPackedIntAsRGBA(long pixelsId,
int z,
int t)
Render image as Buffered image.
|
void |
setActive(java.lang.Long pixelsId,
int w,
boolean active)
Set the active channels in the pixels.
|
void |
setChannelWindow(java.lang.Long pixelsId,
int w,
double start,
double end)
Set the channel min, max.
|
void |
setDefaultT(java.lang.Long pixelsId,
int t)
Set the default timepoint of the image.
|
void |
setDefaultZ(java.lang.Long pixelsId,
int z)
Set the default Z section of the image.
|
public RenderingServiceImpl(omero.api.RenderingEnginePrx renderingEngine)
renderingEngine
- To generate new instances of the
renderingEngine.public double getChannelWindowEnd(java.lang.Long pixelsId, int w) throws omero.ServerError
RenderingService
getChannelWindowEnd
インタフェース内 RenderingService
pixelsId
- the pixelsId of the image.w
- channel.omero.ServerError
public double getChannelWindowStart(java.lang.Long pixelsId, int w) throws omero.ServerError
RenderingService
getChannelWindowStart
インタフェース内 RenderingService
pixelsId
- the pixelsId of the image.w
- channel.omero.ServerError
public int getDefaultT(java.lang.Long pixelsId) throws omero.ServerError
RenderingService
getDefaultT
インタフェース内 RenderingService
pixelsId
- the pixelsId of the image.omero.ServerError
public int getDefaultZ(java.lang.Long pixelsId) throws omero.ServerError
RenderingService
getDefaultZ
インタフェース内 RenderingService
pixelsId
- the pixelsId of the image.omero.ServerError
public omero.model.Pixels getPixels(java.lang.Long pixelsId) throws omero.ServerError
RenderingService
getPixels
インタフェース内 RenderingService
pixelsId
- the pixelsId of the image.omero.ServerError
public boolean isActive(java.lang.Long pixelsId, int w) throws omero.ServerError
RenderingService
isActive
インタフェース内 RenderingService
pixelsId
- the pixels id.w
- channelomero.ServerError
public int[] renderAsPackedInt(java.lang.Long pixelsId, int z, int t) throws omero.ServerError
RenderingService
renderAsPackedInt
インタフェース内 RenderingService
pixelsId
- pixels id of the plane to renderz
- z section to rendert
- timepoint to renderomero.ServerError
public void setActive(java.lang.Long pixelsId, int w, boolean active) throws omero.ServerError
RenderingService
setActive
インタフェース内 RenderingService
pixelsId
- the pixels id.w
- the channelactive
- set active?omero.ServerError
public void setChannelWindow(java.lang.Long pixelsId, int w, double start, double end) throws omero.ServerError
RenderingService
setChannelWindow
インタフェース内 RenderingService
pixelsId
- the pixelsId of the image.w
- channel.start
- min.end
- max.omero.ServerError
public void setDefaultT(java.lang.Long pixelsId, int t) throws omero.ServerError
RenderingService
setDefaultT
インタフェース内 RenderingService
pixelsId
- the pixelsId of the image.t
- see above.omero.ServerError
public void setDefaultZ(java.lang.Long pixelsId, int z) throws omero.ServerError
RenderingService
setDefaultZ
インタフェース内 RenderingService
pixelsId
- the pixelsId of the image.z
- see above.omero.ServerError
public int[] getRenderedImage(long pixelsId, int z, int t) throws omero.ServerError
RenderingService
getRenderedImage
インタフェース内 RenderingService
pixelsId
- pixels id of the plane to renderz
- z section to rendert
- timepoint to renderomero.ServerError
public int[][][] getRenderedImageMatrix(long pixelsId, int z, int t) throws omero.ServerError
RenderingService
getRenderedImageMatrix
インタフェース内 RenderingService
pixelsId
- pixels id of the plane to renderz
- z section to rendert
- timepoint to renderomero.ServerError
public int[] renderAsPackedIntAsRGBA(long pixelsId, int z, int t) throws omero.ServerError
RenderingService
renderAsPackedIntAsRGBA
インタフェース内 RenderingService
pixelsId
- pixels id of the plane to renderz
- z section to rendert
- timepoint to renderomero.ServerError