public interface RawPixelsStore extends StatefulServiceInterface
Pixels instance, this interface can provide various
 slices, stacks, regions of the 5-dimensional (X-Y planes with multiple
 Z-sections and Channels over Time). The byte array returned by the getter
 methods and passed to the setter methods can and will be interpreted
 according to results of getByteWidth(), isFloat(), and
 isSigned().| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
calculateMessageDigest()  | 
java.util.Map<java.lang.Integer,double[]> | 
findMinMax(int[] channels)  | 
int | 
getByteWidth()  | 
byte[] | 
getCol(int x,
      int z,
      int c,
      int t)  | 
java.util.Map<java.lang.Integer,int[]> | 
getHistogram(int[] channels,
            int binCount,
            boolean globalRange,
            PlaneDef plane)  | 
byte[] | 
getHypercube(java.util.List<java.lang.Integer> offset,
            java.util.List<java.lang.Integer> size,
            java.util.List<java.lang.Integer> step)  | 
long | 
getPixelsId()
Returns the current Pixels set identifier. 
 | 
java.lang.String | 
getPixelsPath()
Returns the current Pixels path. 
 | 
byte[] | 
getPlane(int z,
        int c,
        int t)  | 
long | 
getPlaneOffset(int z,
              int c,
              int t)  | 
byte[] | 
getPlaneRegion(int z,
              int c,
              int t,
              int count,
              int offset)  | 
long | 
getPlaneSize()
Returns the plane size 
 | 
byte[] | 
getRegion(int size,
         long offset)  | 
java.lang.Object | 
getResolutionDescriptions()  | 
int | 
getResolutionLevel()
Retrieves the active resolution level. 
 | 
int | 
getResolutionLevels()
Retrieves the number of resolution levels that the backing
 pixels pyramid contains. 
 | 
byte[] | 
getRow(int y,
      int z,
      int c,
      int t)  | 
long | 
getRowOffset(int y,
            int z,
            int c,
            int t)  | 
int | 
getRowSize()  | 
byte[] | 
getStack(int c,
        int t)  | 
long | 
getStackOffset(int c,
              int t)  | 
long | 
getStackSize()  | 
byte[] | 
getTile(int z,
       int c,
       int t,
       int x,
       int y,
       int w,
       int h)  | 
int[] | 
getTileSize()  | 
byte[] | 
getTimepoint(int t)  | 
long | 
getTimepointOffset(int t)  | 
long | 
getTimepointSize()  | 
long | 
getTotalSize()  | 
boolean | 
isFloat()  | 
boolean | 
isSigned()  | 
void | 
prepare(java.util.Set<java.lang.Long> pixelsIds)
Prepares the stateful service with a cache of loaded Pixels objects. 
 | 
boolean | 
requiresPixelsPyramid()  | 
ome.model.core.Pixels | 
save()  | 
void | 
setPixelsId(long pixelsId,
           boolean bypassOriginalFile)
Initializes the stateful service for a given Pixels set. 
 | 
void | 
setPlane(byte[] buffer,
        int z,
        int c,
        int t)  | 
void | 
setRegion(int size,
         long offset,
         byte[] buffer)  | 
void | 
setResolutionLevel(int resolutionLevel)
Sets the active resolution level. 
 | 
void | 
setRow(byte[] buffer,
      int y,
      int z,
      int c,
      int t)  | 
void | 
setStack(byte[] buffer,
        int z,
        int c,
        int t)  | 
void | 
setTile(byte[] buffer,
       int z,
       int c,
       int t,
       int x,
       int y,
       int w,
       int h)  | 
void | 
setTimepoint(byte[] buffer,
            int t)  | 
activate, close, getCurrentEventContext, passivatevoid setPixelsId(long pixelsId,
                 boolean bypassOriginalFile)
pixelsId - Pixels set identifier.bypassOriginalFile - Whether or not to bypass checking for an
 original file to back the pixel buffer used by this service. If requests
 are predominantly write-only or involve the population of
 a brand new pixel buffer using true here is a safe
 optimization otherwise false is expected.java.lang.String getPixelsPath()
long getPixelsId()
void prepare(java.util.Set<java.lang.Long> pixelsIds)
pixelsIds - Pixels IDs to cache.long getPlaneSize()
int getRowSize()
long getStackSize()
long getTimepointSize()
long getTotalSize()
long getRowOffset(int y,
                  int z,
                  int c,
                  int t)
long getPlaneOffset(int z,
                    int c,
                    int t)
long getStackOffset(int c,
                    int t)
long getTimepointOffset(int t)
byte[] getTile(int z,
               int c,
               int t,
               int x,
               int y,
               int w,
               int h)
byte[] getRegion(int size,
                 long offset)
byte[] getRow(int y,
              int z,
              int c,
              int t)
byte[] getCol(int x,
              int z,
              int c,
              int t)
java.util.Map<java.lang.Integer,int[]> getHistogram(int[] channels,
                                                    int binCount,
                                                    boolean globalRange,
                                                    PlaneDef plane)
java.util.Map<java.lang.Integer,double[]> findMinMax(int[] channels)
byte[] getHypercube(java.util.List<java.lang.Integer> offset,
                    java.util.List<java.lang.Integer> size,
                    java.util.List<java.lang.Integer> step)
byte[] getPlaneRegion(int z,
                      int c,
                      int t,
                      int count,
                      int offset)
byte[] getPlane(int z,
                int c,
                int t)
byte[] getStack(int c,
                int t)
byte[] getTimepoint(int t)
void setTile(byte[] buffer,
             int z,
             int c,
             int t,
             int x,
             int y,
             int w,
             int h)
void setRegion(int size,
               long offset,
               byte[] buffer)
void setRow(byte[] buffer,
            int y,
            int z,
            int c,
            int t)
void setPlane(byte[] buffer,
              int z,
              int c,
              int t)
void setStack(byte[] buffer,
              int z,
              int c,
              int t)
void setTimepoint(byte[] buffer,
                  int t)
int getByteWidth()
boolean isSigned()
boolean isFloat()
byte[] calculateMessageDigest()
ome.model.core.Pixels save()
boolean requiresPixelsPyramid()
java.lang.Object getResolutionDescriptions()
int getResolutionLevels()
int getResolutionLevel()
getResolutionLevels().  Resolution level 0 is the smallest
 resolution and resolution level getResolutionLevels() - 1
 is the largest resolution.  This is the inverse of how Bio-Formats indexes
 resolutions.void setResolutionLevel(int resolutionLevel)
resolutionLevel - The resolution level to be used.
 The level should be non-negative and less than
 getResolutionLevels().  * Resolution level 0 is the smallest
 resolution and resolution level getResolutionLevels() - 1
 is the largest resolution.  This is the inverse of how Bio-Formats indexes
 resolutions.int[] getTileSize()