ome.services.blitz.gateway.services
Interface RawPixelsStoreService

All Known Implementing Classes:
RawPixelsStoreServiceImpl

public interface RawPixelsStoreService

Since:
OME3.0
Version:
3.0 (Internal version: $Revision: $Date: $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk, Donald MacDonald      donald@lifesci.dundee.ac.uk

Method Summary
 int getByteWidth(long pixelsId)
          Get the bytewidth of the image
 byte[] getPlane(long pixelsId, int z, int c, int t)
          get bytes to the plane c, t, z
 int getPlaneSize(long pixelsId)
          Get the plane size of the current image.
 int getRowSize(long pixelsId)
          Get the plane size of the current image.
 int getStackSize(long pixelsId)
          Get the stack size of the current image.
 int getTimepointSize(long pixelsId)
          Get the timepoint size of the current image.
 int getTotalSize(long pixelsId)
          Get the total size of the current image.
 boolean isFloat(long pixelsId)
          Are the bytes in the image floats.
 boolean isSigned(long pixelsId)
          Are the bytes in the image signed.
 void setPlane(long pixelsId, byte[] buf, int z, int c, int t)
          set the plane at z, c, t to the bytes of buf.
 

Method Detail

getPlaneSize

int getPlaneSize(long pixelsId)
                 throws omero.ServerError
Get the plane size of the current image.

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
omero.ServerError

getTotalSize

int getTotalSize(long pixelsId)
                 throws omero.ServerError
Get the total size of the current image.

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
omero.ServerError

getRowSize

int getRowSize(long pixelsId)
               throws omero.ServerError
Get the plane size of the current image.

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
omero.ServerError

getStackSize

int getStackSize(long pixelsId)
                 throws omero.ServerError
Get the stack size of the current image.

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
omero.ServerError

getTimepointSize

int getTimepointSize(long pixelsId)
                     throws omero.ServerError
Get the timepoint size of the current image.

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
omero.ServerError

getPlane

byte[] getPlane(long pixelsId,
                int z,
                int c,
                int t)
                throws omero.ServerError
get bytes to the plane c, t, z

Parameters:
pixelsId - the pixelsId of the image.
z - see above.
c - see above.
t - the bytes.
Returns:
see above.
Throws:
DSOutOfServiceException
omero.ServerError

setPlane

void setPlane(long pixelsId,
              byte[] buf,
              int z,
              int c,
              int t)
              throws omero.ServerError
set the plane at z, c, t to the bytes of buf.

Parameters:
pixelsId - the pixelsId of the image.
buf - bytes of the plane.
z - z section
c - channel
t - timepoint
Throws:
DSOutOfServiceException
omero.ServerError

getByteWidth

int getByteWidth(long pixelsId)
                 throws omero.ServerError
Get the bytewidth of the image

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
omero.ServerError

isSigned

boolean isSigned(long pixelsId)
                 throws omero.ServerError
Are the bytes in the image signed.

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
omero.ServerError

isFloat

boolean isFloat(long pixelsId)
                throws omero.ServerError
Are the bytes in the image floats.

Parameters:
pixelsId - the pixelsId of the image.
Returns:
see above.
Throws:
DSOutOfServiceException
omero.ServerError


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.