[Insight-developers] neighborhood iterator refactoring

Joshua Cates cates@sci.utah.edu
Tue, 17 Dec 2002 17:01:13 -0700 (MST)


Hi all,

I have checked in changes resulting from refactoring of the neighborhood
iterator classes.  The SmartNeighborhoodIterator and
RandomAccessNeighborhoodIterator are now deprecated and their
functionality moved into NeighborhoodIterator.  (They should continue to 
function noramally with a warning.)

Please let me know if you find problems or any drop in the efficiency of
your filters.  Below is a list of the files that I modified.

Thanks,

Josh.


[cates@aji Insight]$ cvs diff | grep RCS
RCS file: 
/insight/cvsroot/Insight/Applications/SimpleLevelSetsExample/itk2DSimpleLevelSetsExample.cxx,v
RCS file: 
/insight/cvsroot/Insight/Applications/SimpleLevelSetsExample/itk3DSimpleLevelSetsExample.cxx,v
RCS file: 
/insight/cvsroot/Insight/Code/Algorithms/itkBinaryMinMaxCurvatureFlowFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Algorithms/itkBinaryMinMaxCurvatureFlowFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Algorithms/itkCurvatureFlowFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Algorithms/itkCurvatureFlowFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Algorithms/itkDemonsRegistrationFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Algorithms/itkDemonsRegistrationFunction.txx,v
RCS file: /insight/cvsroot/Insight/Code/Algorithms/itkMRFImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Algorithms/itkMinMaxCurvatureFlowFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Algorithms/itkMinMaxCurvatureFlowFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Algorithms/itkWatershedSegmenter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkAnisotropicDiffusionFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkBilateralImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkBilateralImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkBinaryDilateImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkBinaryDilateImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkBinaryErodeImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkBinaryErodeImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkBinaryMedianImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkCannyEdgeDetectionImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkCannyEdgeDetectionImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkCurvatureNDAnisotropicDiffusionFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkCurvatureNDAnisotropicDiffusionFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGradientImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGradientMagnitudeImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGradientNDAnisotropicDiffusionFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGradientNDAnisotropicDiffusionFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGrayscaleDilateImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGrayscaleDilateImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGrayscaleErodeImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGrayscaleErodeImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGrayscaleFunctionDilateImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGrayscaleFunctionDilateImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkGrayscaleFunctionErodeImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkMeanImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkMedianImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkMorphologyImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkMorphologyImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkNeighborhoodOperatorImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkScalarAnisotropicDiffusionFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkScalarAnisotropicDiffusionFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkSparseFieldLevelSetImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkSparseFieldLevelSetImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkTobogganImageFilter.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkVectorAnisotropicDiffusionFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkVectorAnisotropicDiffusionFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkVectorCurvatureNDAnisotropicDiffusionFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkVectorCurvatureNDAnisotropicDiffusionFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkVectorGradientNDAnisotropicDiffusionFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkVectorGradientNDAnisotropicDiffusionFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkVectorNeighborhoodOperatorImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/BasicFilters/itkZeroCrossingImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkConstNeighborhoodIterator.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkConstNeighborhoodIterator.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkConstSmartNeighborhoodIterator.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkConstSmartNeighborhoodIterator.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkDenseFiniteDifferenceImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkDifferenceImageFilter.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkFiniteDifferenceFunction.h,v
RCS file: /insight/cvsroot/Insight/Code/Common/itkLevelSetFunction.h,v
RCS file: /insight/cvsroot/Insight/Code/Common/itkLevelSetFunction.txx,v
RCS file: /insight/cvsroot/Insight/Code/Common/itkLevelSetFunctionBase.h,v
RCS file: /insight/cvsroot/Insight/Code/Common/itkMeanImageFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkMedianImageFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkNeighborhoodBinaryThresholdImageFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkNeighborhoodInnerProduct.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkNeighborhoodInnerProduct.txx,v
RCS file: /insight/cvsroot/Insight/Code/Common/itkNeighborhoodIterator.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkNeighborhoodIterator.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkSegmentationLevelSetFunction.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkSegmentationLevelSetFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkSmartNeighborhoodIterator.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkSmartNeighborhoodIterator.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkVarianceImageFunction.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkVectorNeighborhoodInnerProduct.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkVectorNeighborhoodInnerProduct.txx,v
RCS file: 
/insight/cvsroot/Insight/Code/Common/itkZeroFluxNeumannBoundaryCondition.h,v
RCS file: 
/insight/cvsroot/Insight/Code/Numerics/FEM/itkFEMImageMetricLoad.h,v
RCS file: 
/insight/cvsroot/Insight/Examples/Filtering/MedianImageFilter.cxx,v
RCS file: 
/insight/cvsroot/Insight/Testing/Code/Common/itkBoundaryConditionTest.cxx,v
RCS file: 
/insight/cvsroot/Insight/Testing/Code/Common/itkLevelSetFunctionTest.cxx,v
RCS file: 
/insight/cvsroot/Insight/Testing/Code/Common/itkSliceIteratorTest.cxx,v



______________________________
 Josh Cates			
 School of Computer Science	
 University of Utah
 Email: cates@sci.utah.edu
 Phone: (801) 587-7697
 URL:   http://www.sci.utah.edu/~cates