@@ -32,7 +32,8 @@ CoocurrenceTextureFeaturesImageFilter< TInputImage, TOutputImage >
3232 m_NumberOfBinsPerAxis( itkGetStaticConstMacro( DefaultBinsPerAxis ) ),
3333 m_Min( NumericTraits<PixelType>::NonpositiveMin() ),
3434 m_Max( NumericTraits<PixelType>::max() ),
35- m_InsidePixelValue( NumericTraits<PixelType>::OneValue() ){
35+ m_InsidePixelValue( NumericTraits<PixelType>::OneValue() )
36+ {
3637 this ->SetNumberOfRequiredInputs ( 1 );
3738 this ->SetNumberOfRequiredOutputs ( 1 );
3839
@@ -313,7 +314,7 @@ CoocurrenceTextureFeaturesImageFilter<TInputImage, TOutputImage>
313314template <typename TInputImage, typename TOutputImage>
314315void
315316CoocurrenceTextureFeaturesImageFilter<TInputImage, TOutputImage>
316- ::ComputeFeatures ( vnl_matrix<unsigned int > &hist,const unsigned int & totalNumberOfFreq,
317+ ::ComputeFeatures ( const vnl_matrix<unsigned int > &hist, const unsigned int totalNumberOfFreq,
317318 typename TOutputImage::PixelType &outputPixel)
318319{
319320 // Now get the various means and variances. This is takes two passes
@@ -390,8 +391,8 @@ CoocurrenceTextureFeaturesImageFilter<TInputImage, TOutputImage>
390391template <typename TInputImage, typename TOutputImage>
391392void
392393CoocurrenceTextureFeaturesImageFilter<TInputImage, TOutputImage>
393- ::ComputeMeansAndVariances (vnl_matrix<unsigned int > &hist,
394- const unsigned int & totalNumberOfFreq,
394+ ::ComputeMeansAndVariances (const vnl_matrix<unsigned int > &hist,
395+ const unsigned int totalNumberOfFreq,
395396 double & pixelMean,
396397 double & marginalMean,
397398 double & marginalDevSquared,
0 commit comments