@@ -234,17 +234,17 @@ DoLineLabelProp(LineBufferType & LineBuf,
234234
235235template <class TInIter , class TOutDistIter , class TOutLabIter , class RealType >
236236void
237- doOneDimensionErodeFirstPass (TInIter & inputIterator,
238- TOutDistIter & outputIterator,
239- TOutLabIter & outputLabIterator,
237+ doOneDimensionErodeFirstPass (TInIter & inputIterator,
238+ TOutDistIter & outputIterator,
239+ TOutLabIter & outputLabIterator,
240240 ProgressReporter & progress,
241- const unsigned LineLength,
242- const unsigned direction,
243- const int m_MagnitudeSign,
244- const bool m_UseImageSpacing,
245- const RealType image_scale,
246- const RealType Sigma,
247- const bool lastpass)
241+ const unsigned LineLength,
242+ const unsigned direction,
243+ const int m_MagnitudeSign,
244+ const bool m_UseImageSpacing,
245+ const RealType image_scale,
246+ const RealType Sigma,
247+ const bool lastpass)
248248{
249249 // specialised version for binary erosion during first pass. We can
250250 // compute the results directly because the inputs are flat.
@@ -372,16 +372,16 @@ doOneDimensionErodeFirstPass(TInIter & inputIterator,
372372
373373template <class TInIter , class TOutDistIter , class TOutLabIter , class RealType >
374374void
375- doOneDimensionDilateFirstPass (TInIter & inputIterator,
376- TOutDistIter & outputIterator,
377- TOutLabIter & outputLabIterator,
375+ doOneDimensionDilateFirstPass (TInIter & inputIterator,
376+ TOutDistIter & outputIterator,
377+ TOutLabIter & outputLabIterator,
378378 ProgressReporter & progress,
379- const unsigned LineLength,
380- const unsigned direction,
381- const int m_MagnitudeSign,
382- const bool m_UseImageSpacing,
383- const RealType image_scale,
384- const RealType Sigma)
379+ const unsigned LineLength,
380+ const unsigned direction,
381+ const int m_MagnitudeSign,
382+ const bool m_UseImageSpacing,
383+ const RealType image_scale,
384+ const RealType Sigma)
385385{
386386 // specialised version for binary erosion during first pass. We can
387387 // compute the results directly because the inputs are flat.
@@ -454,20 +454,20 @@ doOneDimensionDilateFirstPass(TInIter & inputIterator,
454454
455455template <class TInIter , class TDistIter , class TOutLabIter , class TOutDistIter , class RealType >
456456void
457- doOneDimensionErode (TInIter & inputIterator,
458- TDistIter & inputDistIterator,
459- TOutDistIter & outputDistIterator,
460- TOutLabIter & outputLabIterator,
457+ doOneDimensionErode (TInIter & inputIterator,
458+ TDistIter & inputDistIterator,
459+ TOutDistIter & outputDistIterator,
460+ TOutLabIter & outputLabIterator,
461461 ProgressReporter & progress,
462- const unsigned LineLength,
463- const unsigned direction,
464- const int m_MagnitudeSign,
465- const bool m_UseImageSpacing,
466- const RealType m_Extreme,
467- const RealType image_scale,
468- const RealType Sigma,
469- const RealType BaseSigma,
470- const bool lastpass)
462+ const unsigned LineLength,
463+ const unsigned direction,
464+ const int m_MagnitudeSign,
465+ const bool m_UseImageSpacing,
466+ const RealType m_Extreme,
467+ const RealType image_scale,
468+ const RealType Sigma,
469+ const RealType BaseSigma,
470+ const bool lastpass)
471471{
472472 // traditional erosion - can't optimise the same way as the first pass
473473 using LineBufferType = typename itk::Array<RealType>;
@@ -595,18 +595,18 @@ doOneDimensionErode(TInIter & inputIterator,
595595
596596template <class TInIter , class TDistIter , class TOutLabIter , class TOutDistIter , class RealType >
597597void
598- doOneDimensionDilate (TInIter & inputIterator,
599- TDistIter & inputDistIterator,
600- TOutDistIter & outputDistIterator,
601- TOutLabIter & outputLabIterator,
598+ doOneDimensionDilate (TInIter & inputIterator,
599+ TDistIter & inputDistIterator,
600+ TOutDistIter & outputDistIterator,
601+ TOutLabIter & outputLabIterator,
602602 ProgressReporter & progress,
603- const unsigned LineLength,
604- const unsigned direction,
605- const int m_MagnitudeSign,
606- const bool m_UseImageSpacing,
607- const RealType m_Extreme,
608- const RealType image_scale,
609- const RealType Sigma)
603+ const unsigned LineLength,
604+ const unsigned direction,
605+ const int m_MagnitudeSign,
606+ const bool m_UseImageSpacing,
607+ const RealType m_Extreme,
608+ const RealType image_scale,
609+ const RealType Sigma)
610610{
611611 // specialised version for binary erosion during first pass. We can
612612 // compute the results directly because the inputs are flat.
0 commit comments