Class AlgorithmBSplineControlPointImageFilter

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.WindowListener, java.lang.Runnable, java.util.EventListener

    public class AlgorithmBSplineControlPointImageFilter
    extends AlgorithmBase
    Version:
    0.1 April 28, 2014
    Author:
    William Gandler This a a port of itkBSplineControlPointImageFilter.txx from the itk package. Here is the original itk header from the itkBSplineControlPointImageFIlter.h file: Program: Insight Segmentation & Registration Toolkit Module: $RCSfile: itkBSplineControlPointImageFilter.h,v $ Language: C++ Date: $Date: 2009/05/04 14:10:34 $ Version: $Revision: 1.5 $ Copyright (c) Insight Software Consortium. All rights reserved. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. The original code was contributed in the Insight Journal paper: "N-D C^k B-Spline Scattered Data Approximation" by Nicholas J. Tustison, James C. Gee http://hdl.handle.net/1926/140 http://www.insight-journal.org/browse/publication/57
    • Field Detail

      • nDims

        private int nDims
      • splineOrder

        private int[] splineOrder
      • doMultiLevel

        private boolean doMultiLevel
      • maximumNumberOfLevels

        private int maximumNumberOfLevels
      • origin

        private float[] origin
      • resolutions

        private float[] resolutions
      • extents

        private int[] extents
      • direction

        private double[][] direction
      • numberOfControlPoints

        private int[] numberOfControlPoints
      • numberOfLevels

        private int[] numberOfLevels
      • closeDimension

        private int[] closeDimension
      • epsilon

        private double epsilon
      • BSplineEpsilon

        private double BSplineEpsilon
      • extentsLength

        private int extentsLength
      • extentsSlice

        private int extentsSlice
      • xyzExtents

        private int xyzExtents
      • outputBuffer

        private double[] outputBuffer
      • refinedLatticeCoefficients

        private Jama.Matrix[] refinedLatticeCoefficients
    • Constructor Detail

      • AlgorithmBSplineControlPointImageFilter

        public AlgorithmBSplineControlPointImageFilter​(int nDims)
    • Method Detail

      • finalize

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

        public void setInput​(ModelImage inputImage)
      • getOutputBuffer

        public double[] getOutputBuffer()
      • setOrigin

        public void setOrigin​(float[] origin)
      • setResolutions

        public void setResolutions​(float[] resolutions)
      • setDirection

        public void setDirection​(double[][] direction)
      • setExtents

        public void setExtents​(int[] extents)
      • generateData

        public void generateData()
      • beforeThreadedGenerateData

        private void beforeThreadedGenerateData()
      • threadedGenerateData

        private void threadedGenerateData()
      • collapsePhiLattice

        private void collapsePhiLattice​(double[] lattice,
                                        int[] latticeIndex,
                                        double[] collapsedLattice,
                                        int[] collapsedLatticeIndex,
                                        double u,
                                        int dimension)
      • setNumberOfLevels

        public void setNumberOfLevels​(int[] levels)
      • setSplineOrder

        public void setSplineOrder​(int[] order)
      • refineControlPointLattice

        public ModelImage refineControlPointLattice​(int[] numberOfLevels)