Class AlgorithmRegBSpline.Options

java.lang.Object
gov.nih.mipav.model.algorithms.registration.AlgorithmRegBSpline.Options
Enclosing class:
AlgorithmRegBSpline

public static class AlgorithmRegBSpline.Options extends Object
Data structure which contains the parameters or options used to perform a BSpline based registration of two images.
  • Field Details

    • bSubsample

      public boolean bSubsample
      Boolean 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 fConvergenceLimit
      One 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 fGradientDescentMinimizeStepSize
      Size of step in sample units when locating the minimum of the gradient descent.
    • iBSplineDegree

      public int iBSplineDegree
      Degree of the BSpline basis functions. Same for all dimensions.
    • iBSplineNumControlPoints

      public int iBSplineNumControlPoints
      Number of control points to use for the open/uniform BSpline basis functions. Same for all dimensions.
    • iGradientDescentMinimizeMaxSteps

      public int iGradientDescentMinimizeMaxSteps
      Maximum 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 iMaxIterations
      Maximum number of iterations to perform if convergence limit condition is still not satisfied.
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • setFromString

      public void setFromString(String kOptions, String kDelim) throws TokenizerException
      DOCUMENT ME!
      Parameters:
      kOptions - String containing all of the options.
      kDelim - String to separate each parameter.
      Throws:
      TokenizerException - DOCUMENT ME!
    • toString

      public String toString(String kDelim)
      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.