public class PixelData
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected ome.io.nio.PixelsService | data | 
| protected org.slf4j.Logger | log | 
| protected ome.api.IPixels | meta | 
| Constructor and Description | 
|---|
| PixelData(ome.io.nio.PixelsService data,
         ome.api.IPixels meta) | 
| Modifier and Type | Method and Description | 
|---|---|
| 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  PixelDatafor plane given its z, c and t
 as well as aPixelBuffer | 
| 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 PixelBufferbuf - the PixelBufferz - 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)