plugins.big.bigsnakeutils.process.process3D
Class ImageArrayUtils

java.lang.Object
  extended by plugins.big.bigsnakeutils.process.process3D.ImageArrayUtils

public class ImageArrayUtils
extends java.lang.Object

Class that encapsulates the accessing to some image values.

Version:
May 3, 2014
Author:
Ricard Delgado-Gonzalo (ricard.delgado@gmail.com)

Constructor Summary
ImageArrayUtils()
           
 
Method Summary
static void getX(double[][] data, int width, int height, int depth, int x, int y, int z, double[] buffer)
          Puts in a one dimensional array the information of one column along the 1st dimension of an image stack.
static void getY(double[][] data, int width, int height, int depth, int x, int y, int z, double[] buffer)
          Puts in a one dimensional array the information of one column along the 2nd dimension of an image stack.
static void getZ(double[][] data, int width, int height, int depth, int x, int y, int z, double[] buffer)
          Puts in a one dimensional array the information of one column along the 3rd dimension of an image stack.
static void putX(double[][] data, int width, int height, int depth, int x, int y, int z, double[] buffer)
          Puts in an image stack the information a buffer along the 1st dimension.
static void putY(double[][] data, int width, int height, int depth, int x, int y, int z, double[] buffer)
          Puts in an image stack the information a buffer along the 2nd dimension.
static void putZ(double[][] data, int width, int height, int depth, int x, int y, int z, double[] buffer)
          Puts in an image stack the information a buffer along the 3rd dimension.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageArrayUtils

public ImageArrayUtils()
Method Detail

getX

public static void getX(double[][] data,
                        int width,
                        int height,
                        int depth,
                        int x,
                        int y,
                        int z,
                        double[] buffer)
Puts in a one dimensional array the information of one column along the 1st dimension of an image stack.


getY

public static void getY(double[][] data,
                        int width,
                        int height,
                        int depth,
                        int x,
                        int y,
                        int z,
                        double[] buffer)
Puts in a one dimensional array the information of one column along the 2nd dimension of an image stack.


getZ

public static void getZ(double[][] data,
                        int width,
                        int height,
                        int depth,
                        int x,
                        int y,
                        int z,
                        double[] buffer)
Puts in a one dimensional array the information of one column along the 3rd dimension of an image stack.


putX

public static void putX(double[][] data,
                        int width,
                        int height,
                        int depth,
                        int x,
                        int y,
                        int z,
                        double[] buffer)
Puts in an image stack the information a buffer along the 1st dimension.


putY

public static void putY(double[][] data,
                        int width,
                        int height,
                        int depth,
                        int x,
                        int y,
                        int z,
                        double[] buffer)
Puts in an image stack the information a buffer along the 2nd dimension.


putZ

public static void putZ(double[][] data,
                        int width,
                        int height,
                        int depth,
                        int x,
                        int y,
                        int z,
                        double[] buffer)
Puts in an image stack the information a buffer along the 3rd dimension.