public class ImageLUTContainer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID_ACTIVECHANNEL
Label of the XML tag containing the information of the channel number
used in the snake.
|
static java.lang.String |
ID_SIGMA
Label of the XML tag containing the standard deviation of the Gaussian
smoothing applied to the input image when computing the contour energy.
|
Constructor and Description |
---|
ImageLUTContainer()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
buildLUTs()
Constructs the look-up-tables that the snake needs to function.
|
int |
getChannelNumber()
Returns the active channel.
|
double[] |
getFilteredImageDataArray()
Returns a one dimensional array containing the pixel values of the image
after applying a smoothed Laplacian filter of the active channel.
|
double[] |
getImageDataArray()
Returns a one dimensional array containing the pixel values of the
original image of the active channel.
|
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() |
public static final java.lang.String ID_SIGMA
public static final java.lang.String ID_ACTIVECHANNEL
public void buildLUTs()
public boolean isLUTUpToDate()
true
, the LUTs are consistent with the input parameters.public java.lang.String toString()
toString
in class java.lang.Object
public void setChannelNumber(int channelNumber)
public int getChannelNumber()
public void setSigma(double sigma)
public double getSigma()
public void setSequence(icy.sequence.Sequence sequence)
public icy.sequence.Sequence getOriginalSequence()
public int getImageWidth()
public int getImageHeight()
public double[] getImageDataArray()
public double[] getFilteredImageDataArray()
public double[] getPreintegratedImageDataArray()
public double[] getPreintegratedFilteredImageDataArray()