Skip to content

Commit

Permalink
STYLE: removing commented code and fixing grammar in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
richardbeare authored and hjmjohnson committed Sep 6, 2022
1 parent ee355d7 commit c183970
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Modules/Nonunit/Review/include/itkAreaClosingImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace itk
* \class AreaClosingImageFilter
* \brief Morphological closing by attributes
*
* Attribute closing remove blobs according to criteria
* An attribute closing removes blobs according to criteria
* such as area. When applied to grayscale images they have the effect of
* filling valleys (regions darker than their surroundings)
* based on area while leaving the rest of the image
Expand Down
2 changes: 1 addition & 1 deletion Modules/Nonunit/Review/include/itkAreaOpeningImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace itk
* \class AreaOpeningImageFilter
* \brief Morphological opening by attributes
*
* Attribute openings remove blobs according to criteria
* An attribute opening removes blobs according to criteria
* such as area. When applied to grayscale images they have the effect of
* trimming peaks (regions brighter than their surrounings)
* based on area while leaving the rest of the image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ AttributeMorphologyBaseImageFilter<TInputImage, TOutputImage, TAttribute, TFunct

for (RegIt.GoToBegin(); !RegIt.IsAtEnd(); ++RegIt, ++pos)
{
// GreyAndPos P;
// P.Val = RegIt.Get();
// P.Pos = pos;
m_SortPixels[pos] = pos;
m_Raw[pos] = RegIt.Get();

Expand All @@ -135,7 +132,7 @@ AttributeMorphologyBaseImageFilter<TInputImage, TOutputImage, TAttribute, TFunct
// the core algorithm
// process first pixel
MakeSet(m_SortPixels[0]);
// m_Processed[0] = true;

for (SizeValueType k = 1; k < buffsize; ++k)
{
OffsetValueType ThisPos = m_SortPixels[k];
Expand Down

0 comments on commit c183970

Please sign in to comment.