public class PixelData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected PixelsService |
data |
protected org.slf4j.Logger |
log |
protected IPixels |
meta |
Constructor and Description |
---|
PixelData(PixelsService data,
IPixels meta) |
Modifier and Type | Method and Description |
---|---|
double |
get(PixelBuffer buf,
int x,
int y,
int z,
int c,
int t) |
PixelBuffer |
getBuffer(long pix) |
PixelData |
getPlane(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(Pixels pix)
Returns whether a pyramid should be used for the given
Pixels . |
protected org.slf4j.Logger log
protected final PixelsService data
protected final IPixels meta
public PixelData(PixelsService data, IPixels meta)
public PixelBuffer getBuffer(long pix)
public double get(PixelBuffer buf, int x, int y, int z, int c, int t)
public PixelData getPlane(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(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)
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.