Class AlgorithmRegBSpline.Options
java.lang.Object
gov.nih.mipav.model.algorithms.registration.AlgorithmRegBSpline.Options
- Enclosing class:
AlgorithmRegBSpline
Data structure which contains the parameters or options used to perform a BSpline based registration of two
images.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanBoolean flag set to true to indicate whether the registration is performed to a subsampled target image.floatOne iteration is defined such that all control points are moved once by gradient descent.floatSize of step in sample units when locating the minimum of the gradient descent.intDegree of the BSpline basis functions.intNumber of control points to use for the open/uniform BSpline basis functions.intMaximum number of steps to test when locating the minimum of the gradient descent.intMaximum number of iterations to perform if convergence limit condition is still not satisfied. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
bSubsample
public boolean bSubsampleBoolean flag set to true to indicate whether the registration is performed to a subsampled target image. This may be used to speed up processing at some tradeoff for registration quality. -
fConvergenceLimit
public float fConvergenceLimitOne iteration is defined such that all control points are moved once by gradient descent. The registration error before and after one iteration are compared and if the relative change is less than this limit, then the registration terminates. -
fGradientDescentMinimizeStepSize
public float fGradientDescentMinimizeStepSizeSize of step in sample units when locating the minimum of the gradient descent. -
iBSplineDegree
public int iBSplineDegreeDegree of the BSpline basis functions. Same for all dimensions. -
iBSplineNumControlPoints
public int iBSplineNumControlPointsNumber of control points to use for the open/uniform BSpline basis functions. Same for all dimensions. -
iGradientDescentMinimizeMaxSteps
public int iGradientDescentMinimizeMaxStepsMaximum number of steps to test when locating the minimum of the gradient descent. Combined with the fGradientDescentMinimizeStepSize parameter, this determines the maximum distance from the current state to search for the minimum of the gradient descent. -
iMaxIterations
public int iMaxIterationsMaximum number of iterations to perform if convergence limit condition is still not satisfied.
-
-
Constructor Details
-
Options
public Options()
-
-
Method Details
-
setFromString
DOCUMENT ME!- Parameters:
kOptions- String containing all of the options.kDelim- String to separate each parameter.- Throws:
TokenizerException- DOCUMENT ME!
-
toString
Convert the options to a delimeted text string.- Parameters:
kDelim- String String to separate each parameter.- Returns:
- String String which contains text representation of each option separated by the specified delimeter.
-