plugins.big.bigsnake3d.core
Class ImageLUTContainer

java.lang.Object
  extended by plugins.big.bigsnake3d.core.ImageLUTContainer

public class ImageLUTContainer
extends java.lang.Object

Class that encapsulates the image-related look-up tables.

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

Constructor Summary
ImageLUTContainer()
          Default constructor.
 
Method Summary
 void buildLUTs()
          Constructs the look-up-tables that the snake needs to function.
 int getChannelNumber()
          Returns the active channel.
 double[][] getFilteredImageDataArray()
          Returns a two dimensional array containing the pixel values of the image after applying a smoothed Laplacian filter of the active channel.
 double[][] getImageDataArray()
          Returns a two dimensional array containing the pixel values of the original image of the active channel.
 int getImageDepth()
          Returns the depth in pixels of the image.
 int getImageHeight()
          Returns the height in pixels of the image.
 int getImageWidth()
          Returns the with in pixels of the image.
 icy.sequence.Sequence getOriginalSequence()
          Returns the image from where the image data is extracted.
 double[][] getPreintegratedFilteredImageDataArray()
          Returns a one dimensional array containing the pixel values of the image after applying a smoohted Laplacian filter after preintegration of the active channel.
 double[][] getPreintegratedImageDataArray()
          Returns a one dimensional array containing the pixel values of the original image after preintegration of the active channel.
 double getSigma()
          Returns the standard deviation of the Gaussian kernel used for smoothing.
 boolean isLUTUpToDate()
          If true, the LUTs are consistent with the input parameters.
 void setChannelNumber(int channelNumber)
          Sets the active channel.
 void setSequence(icy.sequence.Sequence sequence)
          Sets the active image from where the data is extracted.
 void setSigma(double sigma)
          Sets the standard deviation of the Gaussian kernel used for smoothing.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageLUTContainer

public ImageLUTContainer()
Default constructor.

Method Detail

buildLUTs

public void buildLUTs()
               throws java.lang.Exception
Constructs the look-up-tables that the snake needs to function.

Throws:
java.lang.Exception

isLUTUpToDate

public boolean isLUTUpToDate()
If true, the LUTs are consistent with the input parameters.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setChannelNumber

public void setChannelNumber(int channelNumber)
Sets the active channel.


getChannelNumber

public int getChannelNumber()
Returns the active channel.


setSigma

public void setSigma(double sigma)
Sets the standard deviation of the Gaussian kernel used for smoothing.


getSigma

public double getSigma()
Returns the standard deviation of the Gaussian kernel used for smoothing.


setSequence

public void setSequence(icy.sequence.Sequence sequence)
Sets the active image from where the data is extracted.


getOriginalSequence

public icy.sequence.Sequence getOriginalSequence()
Returns the image from where the image data is extracted.


getImageWidth

public int getImageWidth()
Returns the with in pixels of the image.


getImageHeight

public int getImageHeight()
Returns the height in pixels of the image.


getImageDepth

public int getImageDepth()
Returns the depth in pixels of the image.


getImageDataArray

public double[][] getImageDataArray()
Returns a two dimensional array containing the pixel values of the original image of the active channel.


getFilteredImageDataArray

public double[][] getFilteredImageDataArray()
Returns a two dimensional array containing the pixel values of the image after applying a smoothed Laplacian filter of the active channel.


getPreintegratedImageDataArray

public double[][] getPreintegratedImageDataArray()
Returns a one dimensional array containing the pixel values of the original image after preintegration of the active channel.


getPreintegratedFilteredImageDataArray

public double[][] getPreintegratedFilteredImageDataArray()
Returns a one dimensional array containing the pixel values of the image after applying a smoohted Laplacian filter after preintegration of the active channel.