Package gov.nih.mipav.model.algorithms
Class AlgorithmTProcess.CalculateT
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.AlgorithmTProcess.CalculateT
-
- Direct Known Subclasses:
AlgorithmTreT1.CalculateT1
- Enclosing class:
- AlgorithmTProcess
protected abstract class AlgorithmTProcess.CalculateT extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ViewJProgressBar
dataBar
protected int
height
protected int
t
protected int
width
-
Constructor Summary
Constructors Constructor Description CalculateT(int t)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected float
calculateThreshold(ModelImage image, int k)
Performs smart thresholding for the given image at at certain slice kprotected abstract void
initializeLocalImages(ModelImage image)
-
-
-
Field Detail
-
width
protected int width
-
height
protected int height
-
t
protected int t
-
dataBar
protected ViewJProgressBar dataBar
-
-
Method Detail
-
calculateThreshold
protected float calculateThreshold(ModelImage image, int k)
Performs smart thresholding for the given image at at certain slice k- Parameters:
image
-k
-- Returns:
-
initializeLocalImages
protected abstract void initializeLocalImages(ModelImage image)
-
-