Class AlgorithmRegBSpline

java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.registration.AlgorithmRegBSpline
All Implemented Interfaces:
ActionListener, WindowListener, Runnable, EventListener
Direct Known Subclasses:
AlgorithmRegBSpline25D, AlgorithmRegBSpline2D, AlgorithmRegBSpline3D

public abstract class AlgorithmRegBSpline extends AlgorithmBase
This is a common base class which provides common methods and data members for all BSpline based registration.
  • Field Details

    • m_kImageDeformation

      protected ModelImage m_kImageDeformation
      Reference to an image to store the computed deformation. This may be a null reference to indicate that the deformation is not to be computed. If this reference is not null, then the image must have the same dimensions as the target image.
    • m_kImageResult

      protected ModelImage m_kImageResult
      Reference to an image to store the registered source image. This image must have the same dimensions as the registration target image.
    • m_kImageSource

      protected ModelImage m_kImageSource
      Reference to the original input image to use as the registration source. This image does not have to have the same dimensions as the image to be used as the registration target.
    • m_kImageTarget

      protected ModelImage m_kImageTarget
      Reference to the original input image to use as the registration target.
    • m_kOptionsPass1

      protected AlgorithmRegBSpline.Options m_kOptionsPass1
      Options to use for a first pass of registration. This may *not* be a null reference.
    • m_kOptionsPass2

      protected AlgorithmRegBSpline.Options m_kOptionsPass2
      Options to use for a second pass of registration. This may be null to indicate that only a single pass of registration is to be performed.
    • m_kRegMeasure

      protected RegistrationMeasure m_kRegMeasure
      Reference to the particular cost measure to use for this registration. The cost measure is the same for all passes.
  • Constructor Details

    • AlgorithmRegBSpline

      protected AlgorithmRegBSpline(ModelImage kImageResult, ModelImage kImageSource, ModelImage kImageTarget, ModelImage kImageDeformation, RegistrationMeasure kRegMeasure, AlgorithmRegBSpline.Options kOptionsPass1, AlgorithmRegBSpline.Options kOptionsPass2)
      Constructor.
      Parameters:
      kImageResult - ModelImage Reference to an image to store the registered source image. This image must have the same dimensions as the registration target image.
      kImageSource - ModelImage Reference to the original input image to use as the registration source. This image does not have to have the same dimensions as the image to be used as the registration target.
      kImageTarget - ModelImage Reference to the original input image to use as the registration target.
      kImageDeformation - ModelImage Reference to an image to store the computed deformation. This may be a null reference to indicate that the deformation is not to be computed. If this reference is not null, then the image must have the same dimensions as the target image.
      kRegMeasure - RegistrationMeasure Reference to the particular cost measure to use for this registration. The cost measure is the same for all passes.
      kOptionsPass1 - Options Options to use for a first pass of registration. This may *not* be a null reference.
      kOptionsPass2 - Options Options to use for a second pass of registration. This may be null to indicate that only a single pass of registration is to be performed.
  • Method Details

    • disposeLocal

      public void disposeLocal()
      Prepares this class for destruction.
    • finalize

      public void finalize()
      DOCUMENT ME!
      Overrides:
      finalize in class AlgorithmBase