Skip to content

Commit

Permalink
STYLE: Update to latest ITK clang-format style
Browse files Browse the repository at this point in the history
Via GitHub Action CI patch.
  • Loading branch information
thewtex authored and dzenanz committed Feb 22, 2025
1 parent f869707 commit cf52e78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/itkMorphologicalContourInterpolator.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ MorphologicalContourInterpolator< TImage >::Dilate1( typename BoolSliceType::Poi
thread_local bool initialized = false;
thread_local typename CrossDilateType::Pointer crossDilator = CrossDilateType::New();
thread_local typename BallDilateType::Pointer ballDilator = BallDilateType::New();
thread_local CrossStructuringElementType crossStructuringElement;
thread_local BallStructuringElementType ballStructuringElement;
thread_local CrossStructuringElementType crossStructuringElement;
thread_local BallStructuringElementType ballStructuringElement;
using AndFilterType = AndImageFilter< BoolSliceType, BoolSliceType, BoolSliceType >;
thread_local typename AndFilterType::Pointer andFilter = AndFilterType::New();

Expand Down Expand Up @@ -1309,7 +1309,7 @@ MorphologicalContourInterpolator< TImage >::InterpolateBetweenTwo( int axis, TIm
--iCounts[p->first];
--jCounts[p->second];
pairs.erase( p++ );
} // M-to-1
} // M-to-1
else if ( jCounts[p->second] == 1 ) // 1-to-N
{
for ( auto rest = pairs.begin(); rest != pairs.end(); ++rest )
Expand Down Expand Up @@ -1537,7 +1537,7 @@ MorphologicalContourInterpolator< TImage >::GenerateData()
this->InterpolateAlong( a, m_Output, a / float( TImage::ImageDimension ), ( a + 1 ) / float( TImage::ImageDimension ) );
}
}
} // interpolate along all axes
} // interpolate along all axes
else // interpolate along the specified axis
{
this->InterpolateAlong( m_Axis, m_Output, 0.0f, 1.0f );
Expand Down

0 comments on commit cf52e78

Please sign in to comment.