public class PixelData
extends java.lang.Object
修飾子とタイプ | フィールドと説明 |
---|---|
protected ome.io.nio.PixelsService |
data |
protected org.slf4j.Logger |
log |
protected ome.api.IPixels |
meta |
コンストラクタと説明 |
---|
PixelData(ome.io.nio.PixelsService data,
ome.api.IPixels meta) |
修飾子とタイプ | メソッドと説明 |
---|---|
double |
get(ome.io.nio.PixelBuffer buf,
int x,
int y,
int z,
int c,
int t) |
ome.io.nio.PixelBuffer |
getBuffer(long pix) |
ome.util.PixelData |
getPlane(ome.io.nio.PixelBuffer buf,
int z,
int c,
int t)
Returns the
PixelData for plane given its z, c and t
as well as a PixelBuffer |
boolean |
requiresPixelsPyramid(ome.model.core.Pixels pix)
Returns whether a pyramid should be used for the given
Pixels . |
protected org.slf4j.Logger log
protected final ome.io.nio.PixelsService data
protected final ome.api.IPixels meta
public ome.io.nio.PixelBuffer getBuffer(long pix)
public double get(ome.io.nio.PixelBuffer buf, int x, int y, int z, int c, int t)
public ome.util.PixelData getPlane(ome.io.nio.PixelBuffer buf, int z, int c, int t)
PixelData
for plane given its z, c and t
as well as a PixelBuffer
buf
- the PixelBuffer
z
- the Zc
- the Ct
- the Tpublic boolean requiresPixelsPyramid(ome.model.core.Pixels pix)
Pixels
.
This usually implies that this is a "Big image" and therefore will
need tiling.pix
- the pixelstrue
if a pyramid should be used, false
otherwisePixelsService.requiresPixelsPyramid(Pixels)