@@ -109,10 +109,6 @@ class ITK_TEMPLATE_EXPORT CoocurrenceTextureFeaturesImageFilter
109109 typedef typename InputImageType::IndexType IndexType;
110110 typedef typename InputImageType::PointType PointType;
111111
112-
113- typedef int HistogramIndexType;
114- typedef itk::Image< HistogramIndexType, TInputImage::ImageDimension > DigitizedImageType;
115-
116112 typedef typename InputImageType::OffsetType OffsetType;
117113 typedef VectorContainer< unsigned char , OffsetType > OffsetVector;
118114 typedef typename OffsetVector::Pointer OffsetVectorPointer;
@@ -121,9 +117,7 @@ class ITK_TEMPLATE_EXPORT CoocurrenceTextureFeaturesImageFilter
121117 typedef typename InputImageType::RegionType InputRegionType;
122118 typedef typename OutputImageType::RegionType OutputRegionType;
123119
124- typedef typename itk::ConstNeighborhoodIterator< DigitizedImageType > NeighborhoodIteratorType;
125- typedef typename NeighborhoodIteratorType::RadiusType NeighborhoodRadiusType;
126- typedef typename NeighborhoodIteratorType::NeighborIndexType NeighborIndexType;
120+ typedef typename itk::ConstNeighborhoodIterator< InputImageType >::RadiusType NeighborhoodRadiusType;
127121
128122 typedef typename NumericTraits<PixelType>::RealType MeasurementType;
129123 typedef typename NumericTraits<PixelType>::RealType RealType;
@@ -208,6 +202,11 @@ class ITK_TEMPLATE_EXPORT CoocurrenceTextureFeaturesImageFilter
208202
209203protected:
210204
205+ typedef int HistogramIndexType;
206+ typedef itk::Image< HistogramIndexType, TInputImage::ImageDimension > DigitizedImageType;
207+ typedef typename itk::ConstNeighborhoodIterator< DigitizedImageType > NeighborhoodIteratorType;
208+ typedef typename NeighborhoodIteratorType::NeighborIndexType NeighborIndexType;
209+
211210 CoocurrenceTextureFeaturesImageFilter ();
212211 virtual ~CoocurrenceTextureFeaturesImageFilter () {}
213212
0 commit comments