Class AlgorithmRegBSpline

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.WindowListener, java.lang.Runnable, java.util.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 Detail

      • 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 Detail

      • 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 Detail

      • disposeLocal

        public void disposeLocal()
        Prepares this class for destruction.