99 Copyright (c) Insight Software Consortium. All rights reserved.
1010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
1111
12- This software is distributed WITHOUT ANY WARRANTY; without even
13- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12+ This software is distributed WITHOUT ANY WARRANTY; without even
13+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
1414 PURPOSE. See the above copyright notices for more information.
1515
1616=========================================================================*/
@@ -39,10 +39,10 @@ namespace itk
3939 * \ingroup MinimalPathExtraction
4040 */
4141template <
42- class TInputImage ,
42+ class TInputImage ,
4343 class TCoordRep = float >
4444class ITK_EXPORT PhysicalCentralDifferenceImageFunction :
45- public ImageFunction< TInputImage,
45+ public ImageFunction< TInputImage,
4646 CovariantVector<double , TInputImage::ImageDimension>,
4747 TCoordRep >
4848{
@@ -54,12 +54,12 @@ class ITK_EXPORT PhysicalCentralDifferenceImageFunction :
5454 /* * Standard class typedefs. */
5555 typedef PhysicalCentralDifferenceImageFunction Self;
5656 typedef ImageFunction<TInputImage,
57- CovariantVector<double ,
57+ CovariantVector<double ,
5858 itkGetStaticConstMacro (ImageDimension)>,
5959 TCoordRep> Superclass;
6060 typedef SmartPointer<Self> Pointer;
6161 typedef SmartPointer<const Self> ConstPointer;
62-
62+
6363 /* * Run-time type information (and related methods). */
6464 itkTypeMacro (PhysicalCentralDifferenceImageFunction, ImageFunction);
6565
@@ -74,17 +74,17 @@ class ITK_EXPORT PhysicalCentralDifferenceImageFunction :
7474
7575 /* * Index typedef support. */
7676 typedef typename Superclass::IndexType IndexType;
77-
77+
7878 /* * ContinuousIndex typedef support. */
7979 typedef typename Superclass::ContinuousIndexType ContinuousIndexType;
8080
8181 /* * Point typedef support. */
8282 typedef typename Superclass::PointType PointType;
83-
83+
8484 /* * Linear interpolate function typedef. */
8585 typedef LinearInterpolateImageFunction<TInputImage, TCoordRep>
8686 InterpolateImageFunctionType;
87-
87+
8888 /* * Set the input image.
8989 * \warning this method caches BufferedRegion information.
9090 * If the BufferedRegion has changed, user must call
@@ -118,12 +118,12 @@ class ITK_EXPORT PhysicalCentralDifferenceImageFunction :
118118 * bounds before calling this method. */
119119 virtual OutputType EvaluateAtContinuousIndex (
120120 const ContinuousIndexType& cindex ) const
121- {
121+ {
122122 PointType point;
123123 m_Interpolator->GetInputImage ()->TransformContinuousIndexToPhysicalPoint ( cindex, point );
124124 return this ->Evaluate ( point );
125125 }
126-
126+
127127 /* * Evalulate the image derivative by central differencing at specified
128128 * physical point.
129129 *
@@ -140,7 +140,7 @@ class ITK_EXPORT PhysicalCentralDifferenceImageFunction :
140140private:
141141 PhysicalCentralDifferenceImageFunction ( const Self& ); // purposely not implemented
142142 void operator =( const Self& ); // purposely not implemented
143-
143+
144144 typename InterpolateImageFunctionType::Pointer m_Interpolator;
145145
146146};
0 commit comments