Class AlgorithmDemonsLite

java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.registration.AlgorithmDemonsLite
All Implemented Interfaces:
ActionListener, WindowListener, Runnable, EventListener

public class AlgorithmDemonsLite extends AlgorithmBase
Algorithm for non-linear registration with the DEMONS algorithm. * (Demons variant from Tom Vercauteren's 2009 paper, "Diffeomorphic demons: Efficient non-parametric image registration by Tom Vercauteren, Xavier Pennec, Aymeric Perchant, and Nicholas Ayache, NeuroImage, 45, 2009, S61-S72.)
Version:
Feb 2005
Author:
Pierre-Louis Bazin
See Also:
  • invalid reference
    JDialogDemons
  • Field Details

    • srcImage

      private ModelImage srcImage
    • targetImage

      private ModelImage targetImage
    • destImage

      private ModelImage[] destImage
    • output

      private String output
    • nix

      private int nix
    • niy

      private int niy
    • niz

      private int niz
    • rix

      private float rix
    • riy

      private float riy
    • riz

      private float riz
    • ntx

      private int ntx
    • nty

      private int nty
    • ntz

      private int ntz
    • rtx

      private float rtx
    • rty

      private float rty
    • rtz

      private float rtz
    • algorithm

      private DemonsRegistrationLite algorithm
    • smoothing

      private float smoothing
    • scale

      private float scale
    • levels

      private int levels
    • Ni

      private int Ni
    • regType

      private int regType
    • circleImage

      private ModelImage circleImage
    • cImage

      private ModelImage cImage
  • Constructor Details

    • AlgorithmDemonsLite

      public AlgorithmDemonsLite(ModelImage srcImg, ModelImage targetImg, int levels_, int Ni_, float smooth_, float scale_, String reg_, String out_)
      Constructor for 3D images in which changes are placed in a predetermined destination image.
      Parameters:
      srcImg - Source image model.
      destImg - Image model where result image is to stored.
  • Method Details

    • finalize

      public void finalize()
      Prepares this class for destruction.
      Overrides:
      finalize in class AlgorithmBase
    • getResultImages

      public ModelImage[] getResultImages()
      for output of results
    • runAlgorithm

      public void runAlgorithm()
      Starts the algorithm.
      Specified by:
      runAlgorithm in class AlgorithmBase
    • generateTestImages

      public void generateTestImages()
      A test of the diffeomorphic demons is to transform a circle image to a letter C image.