Class AlgorithmBSplineScatteredDataPointSetToImageFilter

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

    public class AlgorithmBSplineScatteredDataPointSetToImageFilter
    extends AlgorithmPointSetToImageFilter
    Version:
    0.1 April 28, 2014
    Author:
    William Gandler This a a port of itkBSplineScatteredDataPointSetToImageFilter.hxx from the itk package. Here is the original itk header from the itkBSplineScatteredDataPointSetToImageFilter.hxx file: Copyright Insight Software Consortium Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.txt Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 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

      • splineOrder

        private int[] splineOrder
      • numberOfControlPoints

        private int[] numberOfControlPoints
      • closeDimension

        private int[] closeDimension
      • doMultiLevel

        private boolean doMultiLevel
      • generateOutputImage

        private boolean generateOutputImage
      • numberOfLevels

        private int[] numberOfLevels
      • maximumNumberOfLevels

        private int maximumNumberOfLevels
      • inputPointData

        private java.util.Vector<java.lang.Double> inputPointData
      • outputPointData

        private java.util.Vector<java.lang.Double> outputPointData
      • pointWeights

        private java.util.Vector<java.lang.Double> pointWeights
      • usePointWeights

        private boolean usePointWeights
      • epsilon

        private double epsilon
      • BSplineEpsilon

        private double BSplineEpsilon
      • isFittingComplete

        private boolean isFittingComplete
      • refinedLatticeCoefficients

        private Jama.Matrix[] refinedLatticeCoefficients
      • currentLevel

        private int currentLevel
      • currentNumberOfControlPoints

        private int[] currentNumberOfControlPoints
    • Constructor Detail

      • AlgorithmBSplineScatteredDataPointSetToImageFilter

        public AlgorithmBSplineScatteredDataPointSetToImageFilter​(int nDims)
    • Method Detail

      • setGenerateOutputImage

        public void setGenerateOutputImage​(boolean generateOutputImage)
      • getPhiLattice

        public ModelImage getPhiLattice()
      • setNumberOfLevels

        public void setNumberOfLevels​(int levels)
      • setNumberOfLevels

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

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

        public void setSplineOrder​(int order)
      • setNumberOfControlPoints

        public void setNumberOfControlPoints​(int[] numberOfControlPoints)
      • setPointWeights

        public void setPointWeights​(java.util.Vector<java.lang.Double> weights)
      • generateData

        public void generateData()
      • beforeThreadedGenerateData

        private void beforeThreadedGenerateData()
      • threadedGenerateData

        private void threadedGenerateData()
      • threadedGenerateDataForFitting

        private void threadedGenerateDataForFitting()
      • threadedGenerateDataForReconstruction

        private void threadedGenerateDataForReconstruction()
      • collapsePhiLattice

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

        private void afterThreadedGenerateData()
      • updatePointSet

        private void updatePointSet()
      • refineControlPointLattice

        private void refineControlPointLattice()
      • setPhiLatticeParametricDomainParameters

        private void setPhiLatticeParametricDomainParameters()