de.unihalle.informatik.MiToBo.core.datatypes.images
Interface MTBImageManipulator

All Known Implementing Classes:
MTBImage, MTBImageByte, MTBImageDouble, MTBImageFloat, MTBImageInt, MTBImageRGB, MTBImageShort, MTBImageWindow

@ALDMetaInfo(export=MANDATORY)
public interface MTBImageManipulator


Method Summary
 int getSizeC()
          Get size of c(hannel)-dimension
 int getSizeT()
          Get size of t(ime)-dimension
 int getSizeX()
          Get size of x-dimension
 int getSizeY()
          Get size of y-dimension
 int getSizeZ()
          Get size of z-dimension
 double getStepsizeT()
          Get the stepsize in t-dimension (timestep)
 double getStepsizeX()
          Get the physical size of a voxel (stepsize) in x-dimension
 double getStepsizeY()
          Get the physical size of a voxel (stepsize) in y-dimension
 double getStepsizeZ()
          Get the physical size of a voxel (stepsize) in z-dimension
 String getTitle()
          Get title string
 MTBImage.MTBImageType getType()
          Get data type
 String getUnitT()
          Get the unit of the t-dimension
 String getUnitX()
          Get the unit of the x-dimension
 String getUnitY()
          Get the unit of the y-dimension
 String getUnitZ()
          Get the unit of the z-dimension
 double getValueDouble(int x, int y, int z, int t, int c)
          Get the value of the 5D image at coordinate (x,y,z,t,c) as a Double
 int getValueInt(int x, int y, int z, int t, int c)
          Get the value of the 5D image at coordinate (x,y,z,t,c) as an Integer
 void putValueDouble(int x, int y, int z, int t, int c, double value)
          Set the value of the 5D image at coordinate (x,y,z,t,c) using a Double
 void putValueInt(int x, int y, int z, int t, int c, int value)
          Set the value of the 5D image at coordinate (x,y,z,t,c) using an Integer
 

Method Detail

getTitle

String getTitle()
Get title string

Returns:

getType

MTBImage.MTBImageType getType()
Get data type

Returns:
data type ID

getSizeX

int getSizeX()
Get size of x-dimension

Returns:
size of x-dimension

getSizeY

int getSizeY()
Get size of y-dimension

Returns:
size of y-dimension

getSizeZ

int getSizeZ()
Get size of z-dimension

Returns:
size of z-dimension

getSizeT

int getSizeT()
Get size of t(ime)-dimension

Returns:
size of t(ime)-dimension

getSizeC

int getSizeC()
Get size of c(hannel)-dimension

Returns:
size of c(hannel)-dimension

getValueInt

int getValueInt(int x,
                int y,
                int z,
                int t,
                int c)
Get the value of the 5D image at coordinate (x,y,z,t,c) as an Integer

Parameters:
x - x-coordinate ranging from 0 to (sizeX - 1)
y - y-coordinate ranging from 0 to (sizeY - 1)
z - z-coordinate ranging from 0 to (sizeZ - 1)
t - t-coordinate ranging from 0 to (sizeT - 1)
c - c-coordinate ranging from 0 to (sizeC - 1)
Returns:
voxel value

getValueDouble

double getValueDouble(int x,
                      int y,
                      int z,
                      int t,
                      int c)
Get the value of the 5D image at coordinate (x,y,z,t,c) as a Double

Parameters:
x - x-coordinate ranging from 0 to (sizeX - 1)
y - y-coordinate ranging from 0 to (sizeY - 1)
z - z-coordinate ranging from 0 to (sizeZ - 1)
t - t-coordinate ranging from 0 to (sizeT - 1)
c - c-coordinate ranging from 0 to (sizeC - 1)
Returns:
voxel value

putValueInt

void putValueInt(int x,
                 int y,
                 int z,
                 int t,
                 int c,
                 int value)
Set the value of the 5D image at coordinate (x,y,z,t,c) using an Integer

Parameters:
x - x-coordinate ranging from 0 to (sizeX - 1)
y - y-coordinate ranging from 0 to (sizeY - 1)
z - z-coordinate ranging from 0 to (sizeZ - 1)
t - t-coordinate ranging from 0 to (sizeT - 1)
c - c-coordinate ranging from 0 to (sizeC - 1)
value - to set the voxel to

putValueDouble

void putValueDouble(int x,
                    int y,
                    int z,
                    int t,
                    int c,
                    double value)
Set the value of the 5D image at coordinate (x,y,z,t,c) using a Double

Parameters:
x - x-coordinate ranging from 0 to (sizeX - 1)
y - y-coordinate ranging from 0 to (sizeY - 1)
z - z-coordinate ranging from 0 to (sizeZ - 1)
t - t-coordinate ranging from 0 to (sizeT - 1)
c - c-coordinate ranging from 0 to (sizeC - 1)
value - to set the voxel to

getStepsizeX

double getStepsizeX()
Get the physical size of a voxel (stepsize) in x-dimension

Returns:
physical voxel size in x-dimension

getStepsizeY

double getStepsizeY()
Get the physical size of a voxel (stepsize) in y-dimension

Returns:
physical voxel size in y-dimension

getStepsizeZ

double getStepsizeZ()
Get the physical size of a voxel (stepsize) in z-dimension

Returns:
physical voxel size in z-dimension

getStepsizeT

double getStepsizeT()
Get the stepsize in t-dimension (timestep)

Returns:
time stepsize

getUnitX

String getUnitX()
Get the unit of the x-dimension

Returns:
String of x-dimension's unit

getUnitY

String getUnitY()
Get the unit of the y-dimension

Returns:
String of y-dimension's unit

getUnitZ

String getUnitZ()
Get the unit of the z-dimension

Returns:
String of z-dimension's unit

getUnitT

String getUnitT()
Get the unit of the t-dimension

Returns:
String of t-dimension's unit


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.