Skip to content

Commit 883a885

Browse files
committed
STYLE: Rename Binary*Para to Binary*Parabolic for naming consistency
1 parent c1444da commit 883a885

22 files changed

Lines changed: 116 additions & 116 deletions

Modules/Filtering/ParabolicMorphology/include/itkBinaryOpenParaImageFilter.h renamed to Modules/Filtering/ParabolicMorphology/include/itkBinaryCloseParabolicImageFilter.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*
1717
*=========================================================================*/
18-
#ifndef itkBinaryOpenParaImageFilter_h
19-
#define itkBinaryOpenParaImageFilter_h
18+
#ifndef itkBinaryCloseParabolicImageFilter_h
19+
#define itkBinaryCloseParabolicImageFilter_h
2020

2121
#include "itkParabolicErodeImageFilter.h"
2222
#include "itkParabolicDilateImageFilter.h"
@@ -26,7 +26,7 @@
2626
namespace itk
2727
{
2828
/**
29-
* \class BinaryOpenParaImageFilter
29+
* \class BinaryCloseParabolicImageFilter
3030
* \brief Class for binary morphological opening operation.
3131
*
3232
* This class uses the parabolic morphology operations to do very
@@ -47,17 +47,17 @@ namespace itk
4747
* equal to the circle radius, rather than any part of the voxel
4848
* inside the circle.
4949
*
50+
* Also note that the inputs must be 0/1 not 0/max for pixel type.
51+
*
5052
* This filter was developed as a result of discussions with
5153
* M.Starring on the ITK mailing list.
5254
*
53-
* Also note that the inputs must be 0/1 not 0/max for pixel type.
54-
*
5555
* Core methods described in the InsightJournal article:
5656
* "Morphology with parabolic structuring elements"
5757
*
5858
* https://hdl.handle.net/1926/1370
59-
* \sa itkParabolicErodeImageFilter
6059
*
60+
* \sa itkParabolicErodeImageFilter
6161
*
6262
* \ingroup ParabolicMorphology
6363
*
@@ -66,14 +66,14 @@ namespace itk
6666
**/
6767

6868
template <typename TInputImage, typename TOutputImage = TInputImage>
69-
class ITK_TEMPLATE_EXPORT BinaryOpenParaImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
69+
class ITK_TEMPLATE_EXPORT BinaryCloseParabolicImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
7070

7171
{
7272
public:
73-
ITK_DISALLOW_COPY_AND_MOVE(BinaryOpenParaImageFilter);
73+
ITK_DISALLOW_COPY_AND_MOVE(BinaryCloseParabolicImageFilter);
7474

7575
/** Standard class type alias. */
76-
using Self = BinaryOpenParaImageFilter;
76+
using Self = BinaryCloseParabolicImageFilter;
7777
using Superclass = ImageToImageFilter<TInputImage, TOutputImage>;
7878
using Pointer = SmartPointer<Self>;
7979
using ConstPointer = SmartPointer<const Self>;
@@ -82,7 +82,7 @@ class ITK_TEMPLATE_EXPORT BinaryOpenParaImageFilter : public ImageToImageFilter<
8282
itkNewMacro(Self);
8383

8484
/** Runtime information support. */
85-
itkTypeMacro(BinaryOpenParaImageFilter, ImageToImageFilter);
85+
itkTypeMacro(BinaryCloseParabolicImageFilter, ImageToImageFilter);
8686

8787
/** Pixel Type of the input image */
8888
using InputImageType = TInputImage;
@@ -142,8 +142,8 @@ class ITK_TEMPLATE_EXPORT BinaryOpenParaImageFilter : public ImageToImageFilter<
142142
void
143143
GenerateData() override;
144144

145-
BinaryOpenParaImageFilter();
146-
~BinaryOpenParaImageFilter() override = default;
145+
BinaryCloseParabolicImageFilter();
146+
~BinaryCloseParabolicImageFilter() override = default;
147147
void
148148
PrintSelf(std::ostream & os, Indent indent) const override;
149149

@@ -180,7 +180,7 @@ class ITK_TEMPLATE_EXPORT BinaryOpenParaImageFilter : public ImageToImageFilter<
180180
} // end namespace itk
181181

182182
#ifndef ITK_MANUAL_INSTANTIATION
183-
# include "itkBinaryOpenParaImageFilter.hxx"
183+
# include "itkBinaryCloseParabolicImageFilter.hxx"
184184
#endif
185185

186-
#endif //__itkBinaryOpenParaImageFilter_h
186+
#endif //__itkBinaryCloseParabolicImageFilter_h

Modules/Filtering/ParabolicMorphology/include/itkBinaryCloseParaImageFilter.hxx renamed to Modules/Filtering/ParabolicMorphology/include/itkBinaryCloseParabolicImageFilter.hxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*
1717
*=========================================================================*/
18-
#ifndef itkBinaryCloseParaImageFilter_hxx
19-
#define itkBinaryCloseParaImageFilter_hxx
18+
#ifndef itkBinaryCloseParabolicImageFilter_hxx
19+
#define itkBinaryCloseParabolicImageFilter_hxx
2020

2121
#include "itkProgressAccumulator.h"
2222
#include "itkParabolicErodeImageFilter.h"
@@ -28,7 +28,7 @@
2828
namespace itk
2929
{
3030
template <typename TInputImage, typename TOutputImage>
31-
BinaryCloseParaImageFilter<TInputImage, TOutputImage>::BinaryCloseParaImageFilter()
31+
BinaryCloseParabolicImageFilter<TInputImage, TOutputImage>::BinaryCloseParabolicImageFilter()
3232
{
3333
this->SetNumberOfRequiredOutputs(1);
3434
this->SetNumberOfRequiredInputs(1);
@@ -49,7 +49,7 @@ BinaryCloseParaImageFilter<TInputImage, TOutputImage>::BinaryCloseParaImageFilte
4949

5050
template <typename TInputImage, typename TOutputImage>
5151
void
52-
BinaryCloseParaImageFilter<TInputImage, TOutputImage>::SetRadius(ScalarRealType radius)
52+
BinaryCloseParabolicImageFilter<TInputImage, TOutputImage>::SetRadius(ScalarRealType radius)
5353
{
5454
RadiusType s;
5555

@@ -59,7 +59,7 @@ BinaryCloseParaImageFilter<TInputImage, TOutputImage>::SetRadius(ScalarRealType
5959

6060
template <typename TInputImage, typename TOutputImage>
6161
void
62-
BinaryCloseParaImageFilter<TInputImage, TOutputImage>::GenerateData()
62+
BinaryCloseParabolicImageFilter<TInputImage, TOutputImage>::GenerateData()
6363
{
6464
// Allocate the output
6565
this->AllocateOutputs();
@@ -219,7 +219,7 @@ BinaryCloseParaImageFilter<TInputImage, TOutputImage>::GenerateData()
219219

220220
template <typename TInputImage, typename TOutputImage>
221221
void
222-
BinaryCloseParaImageFilter<TInputImage, TOutputImage>::PrintSelf(std::ostream & os, Indent indent) const
222+
BinaryCloseParabolicImageFilter<TInputImage, TOutputImage>::PrintSelf(std::ostream & os, Indent indent) const
223223
{
224224
Superclass::PrintSelf(os, indent);
225225
if (this->m_CircErode->GetUseImageSpacing())

Modules/Filtering/ParabolicMorphology/include/itkBinaryDilateParaImageFilter.h renamed to Modules/Filtering/ParabolicMorphology/include/itkBinaryDilateParabolicImageFilter.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
* limitations under the License.
1616
*
1717
*=========================================================================*/
18-
#ifndef itkBinaryDilateParaImageFilter_h
19-
#define itkBinaryDilateParaImageFilter_h
18+
#ifndef itkBinaryDilateParabolicImageFilter_h
19+
#define itkBinaryDilateParabolicImageFilter_h
2020

2121
#include "itkParabolicDilateImageFilter.h"
2222
#include "itkBinaryThresholdImageFilter.h"
2323

2424
namespace itk
2525
{
2626
/**
27-
* \class BinaryDilateParaImageFilter
27+
* \class BinaryDilateParabolicImageFilter
2828
* \brief Class for binary morphological erosion operation.
2929
*
3030
* This class uses the parabolic morphology operations to do very
@@ -64,14 +64,14 @@ namespace itk
6464
**/
6565

6666
template <typename TInputImage, typename TOutputImage = TInputImage>
67-
class ITK_TEMPLATE_EXPORT BinaryDilateParaImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
67+
class ITK_TEMPLATE_EXPORT BinaryDilateParabolicImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
6868

6969
{
7070
public:
71-
ITK_DISALLOW_COPY_AND_MOVE(BinaryDilateParaImageFilter);
71+
ITK_DISALLOW_COPY_AND_MOVE(BinaryDilateParabolicImageFilter);
7272

7373
/** Standard class type alias. */
74-
using Self = BinaryDilateParaImageFilter;
74+
using Self = BinaryDilateParabolicImageFilter;
7575
using Superclass = ImageToImageFilter<TInputImage, TOutputImage>;
7676
using Pointer = SmartPointer<Self>;
7777
using ConstPointer = SmartPointer<const Self>;
@@ -80,7 +80,7 @@ class ITK_TEMPLATE_EXPORT BinaryDilateParaImageFilter : public ImageToImageFilte
8080
itkNewMacro(Self);
8181

8282
/** Runtime information support. */
83-
itkTypeMacro(BinaryDilateParaImageFilter, ImageToImageFilter);
83+
itkTypeMacro(BinaryDilateParabolicImageFilter, ImageToImageFilter);
8484

8585
/** Pixel Type of the input image */
8686
using InputImageType = TInputImage;
@@ -134,8 +134,8 @@ class ITK_TEMPLATE_EXPORT BinaryDilateParaImageFilter : public ImageToImageFilte
134134
void
135135
GenerateData() override;
136136

137-
BinaryDilateParaImageFilter();
138-
~BinaryDilateParaImageFilter() override = default;
137+
BinaryDilateParabolicImageFilter();
138+
~BinaryDilateParabolicImageFilter() override = default;
139139
void
140140
PrintSelf(std::ostream & os, Indent indent) const override;
141141

@@ -159,7 +159,7 @@ class ITK_TEMPLATE_EXPORT BinaryDilateParaImageFilter : public ImageToImageFilte
159159
} // end namespace itk
160160

161161
#ifndef ITK_MANUAL_INSTANTIATION
162-
# include "itkBinaryDilateParaImageFilter.hxx"
162+
# include "itkBinaryDilateParabolicImageFilter.hxx"
163163
#endif
164164

165-
#endif //__itkBinaryDilateParaImageFilter_h
165+
#endif //__itkBinaryDilateParabolicImageFilter_h

Modules/Filtering/ParabolicMorphology/include/itkBinaryDilateParaImageFilter.hxx renamed to Modules/Filtering/ParabolicMorphology/include/itkBinaryDilateParabolicImageFilter.hxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*
1717
*=========================================================================*/
18-
#ifndef itkBinaryDilateParaImageFilter_hxx
19-
#define itkBinaryDilateParaImageFilter_hxx
18+
#ifndef itkBinaryDilateParabolicImageFilter_hxx
19+
#define itkBinaryDilateParabolicImageFilter_hxx
2020

2121
#include "itkProgressAccumulator.h"
2222
#include "itkParabolicDilateImageFilter.h"
@@ -25,7 +25,7 @@
2525
namespace itk
2626
{
2727
template <typename TInputImage, typename TOutputImage>
28-
BinaryDilateParaImageFilter<TInputImage, TOutputImage>::BinaryDilateParaImageFilter()
28+
BinaryDilateParabolicImageFilter<TInputImage, TOutputImage>::BinaryDilateParabolicImageFilter()
2929
{
3030
this->SetNumberOfRequiredOutputs(1);
3131
this->SetNumberOfRequiredInputs(1);
@@ -41,7 +41,7 @@ BinaryDilateParaImageFilter<TInputImage, TOutputImage>::BinaryDilateParaImageFil
4141

4242
template <typename TInputImage, typename TOutputImage>
4343
void
44-
BinaryDilateParaImageFilter<TInputImage, TOutputImage>::SetRadius(ScalarRealType radius)
44+
BinaryDilateParabolicImageFilter<TInputImage, TOutputImage>::SetRadius(ScalarRealType radius)
4545
{
4646
RadiusType s;
4747

@@ -51,7 +51,7 @@ BinaryDilateParaImageFilter<TInputImage, TOutputImage>::SetRadius(ScalarRealType
5151

5252
template <typename TInputImage, typename TOutputImage>
5353
void
54-
BinaryDilateParaImageFilter<TInputImage, TOutputImage>::GenerateData()
54+
BinaryDilateParabolicImageFilter<TInputImage, TOutputImage>::GenerateData()
5555
{
5656
// Allocate the output
5757
this->AllocateOutputs();
@@ -129,7 +129,7 @@ BinaryDilateParaImageFilter<TInputImage, TOutputImage>::GenerateData()
129129

130130
template <typename TInputImage, typename TOutputImage>
131131
void
132-
BinaryDilateParaImageFilter<TInputImage, TOutputImage>::Modified() const
132+
BinaryDilateParabolicImageFilter<TInputImage, TOutputImage>::Modified() const
133133
{
134134
Superclass::Modified();
135135
m_CircPara->Modified();
@@ -140,7 +140,7 @@ BinaryDilateParaImageFilter<TInputImage, TOutputImage>::Modified() const
140140

141141
template <typename TInputImage, typename TOutputImage>
142142
void
143-
BinaryDilateParaImageFilter<TInputImage, TOutputImage>::PrintSelf(std::ostream & os, Indent indent) const
143+
BinaryDilateParabolicImageFilter<TInputImage, TOutputImage>::PrintSelf(std::ostream & os, Indent indent) const
144144
{
145145
Superclass::PrintSelf(os, indent);
146146
if (this->m_CircPara->GetUseImageSpacing())

Modules/Filtering/ParabolicMorphology/include/itkBinaryErodeParaImageFilter.h renamed to Modules/Filtering/ParabolicMorphology/include/itkBinaryErodeParabolicImageFilter.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
* limitations under the License.
1616
*
1717
*=========================================================================*/
18-
#ifndef itkBinaryErodeParaImageFilter_h
19-
#define itkBinaryErodeParaImageFilter_h
18+
#ifndef itkBinaryErodeParabolicImageFilter_h
19+
#define itkBinaryErodeParabolicImageFilter_h
2020

2121
#include "itkParabolicErodeImageFilter.h"
2222
#include "itkGreaterEqualValImageFilter.h"
2323

2424
namespace itk
2525
{
2626
/**
27-
* \class BinaryErodeParaImageFilter
27+
* \class BinaryErodeParabolicImageFilter
2828
* \brief Class for binary morphological erosion operation.
2929
*
3030
* This class uses the parabolic morphology operations to do very
@@ -65,14 +65,14 @@ namespace itk
6565
**/
6666

6767
template <typename TInputImage, typename TOutputImage = TInputImage>
68-
class ITK_TEMPLATE_EXPORT BinaryErodeParaImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
68+
class ITK_TEMPLATE_EXPORT BinaryErodeParabolicImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
6969

7070
{
7171
public:
72-
ITK_DISALLOW_COPY_AND_MOVE(BinaryErodeParaImageFilter);
72+
ITK_DISALLOW_COPY_AND_MOVE(BinaryErodeParabolicImageFilter);
7373

7474
/** Standard class type alias. */
75-
using Self = BinaryErodeParaImageFilter;
75+
using Self = BinaryErodeParabolicImageFilter;
7676
using Superclass = ImageToImageFilter<TInputImage, TOutputImage>;
7777
using Pointer = SmartPointer<Self>;
7878
using ConstPointer = SmartPointer<const Self>;
@@ -81,7 +81,7 @@ class ITK_TEMPLATE_EXPORT BinaryErodeParaImageFilter : public ImageToImageFilter
8181
itkNewMacro(Self);
8282

8383
/** Runtime information support. */
84-
itkTypeMacro(BinaryErodeParaImageFilter, ImageToImageFilter);
84+
itkTypeMacro(BinaryErodeParabolicImageFilter, ImageToImageFilter);
8585

8686
/** Pixel Type of the input image */
8787
using InputImageType = TInputImage;
@@ -135,8 +135,8 @@ class ITK_TEMPLATE_EXPORT BinaryErodeParaImageFilter : public ImageToImageFilter
135135
void
136136
GenerateData() override;
137137

138-
BinaryErodeParaImageFilter();
139-
~BinaryErodeParaImageFilter() override = default;
138+
BinaryErodeParabolicImageFilter();
139+
~BinaryErodeParabolicImageFilter() override = default;
140140
void
141141
PrintSelf(std::ostream & os, Indent indent) const override;
142142

@@ -160,7 +160,7 @@ class ITK_TEMPLATE_EXPORT BinaryErodeParaImageFilter : public ImageToImageFilter
160160
} // end namespace itk
161161

162162
#ifndef ITK_MANUAL_INSTANTIATION
163-
# include "itkBinaryErodeParaImageFilter.hxx"
163+
# include "itkBinaryErodeParabolicImageFilter.hxx"
164164
#endif
165165

166-
#endif //__itkBinaryErodeParaImageFilter_h
166+
#endif //__itkBinaryErodeParabolicImageFilter_h

Modules/Filtering/ParabolicMorphology/include/itkBinaryErodeParaImageFilter.hxx renamed to Modules/Filtering/ParabolicMorphology/include/itkBinaryErodeParabolicImageFilter.hxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*
1717
*=========================================================================*/
18-
#ifndef itkBinaryErodeParaImageFilter_hxx
19-
#define itkBinaryErodeParaImageFilter_hxx
18+
#ifndef itkBinaryErodeParabolicImageFilter_hxx
19+
#define itkBinaryErodeParabolicImageFilter_hxx
2020

2121
#include "itkProgressAccumulator.h"
2222
#include "itkParabolicErodeImageFilter.h"
@@ -25,7 +25,7 @@
2525
namespace itk
2626
{
2727
template <typename TInputImage, typename TOutputImage>
28-
BinaryErodeParaImageFilter<TInputImage, TOutputImage>::BinaryErodeParaImageFilter()
28+
BinaryErodeParabolicImageFilter<TInputImage, TOutputImage>::BinaryErodeParabolicImageFilter()
2929
{
3030
this->SetNumberOfRequiredOutputs(1);
3131
this->SetNumberOfRequiredInputs(1);
@@ -41,7 +41,7 @@ BinaryErodeParaImageFilter<TInputImage, TOutputImage>::BinaryErodeParaImageFilte
4141

4242
template <typename TInputImage, typename TOutputImage>
4343
void
44-
BinaryErodeParaImageFilter<TInputImage, TOutputImage>::SetRadius(ScalarRealType radius)
44+
BinaryErodeParabolicImageFilter<TInputImage, TOutputImage>::SetRadius(ScalarRealType radius)
4545
{
4646
RadiusType s;
4747

@@ -51,7 +51,7 @@ BinaryErodeParaImageFilter<TInputImage, TOutputImage>::SetRadius(ScalarRealType
5151

5252
template <typename TInputImage, typename TOutputImage>
5353
void
54-
BinaryErodeParaImageFilter<TInputImage, TOutputImage>::GenerateData()
54+
BinaryErodeParabolicImageFilter<TInputImage, TOutputImage>::GenerateData()
5555
{
5656
// Allocate the output
5757
this->AllocateOutputs();
@@ -129,7 +129,7 @@ BinaryErodeParaImageFilter<TInputImage, TOutputImage>::GenerateData()
129129

130130
template <typename TInputImage, typename TOutputImage>
131131
void
132-
BinaryErodeParaImageFilter<TInputImage, TOutputImage>::PrintSelf(std::ostream & os, Indent indent) const
132+
BinaryErodeParabolicImageFilter<TInputImage, TOutputImage>::PrintSelf(std::ostream & os, Indent indent) const
133133
{
134134
Superclass::PrintSelf(os, indent);
135135
if (this->m_CircPara->GetUseImageSpacing())
@@ -144,7 +144,7 @@ BinaryErodeParaImageFilter<TInputImage, TOutputImage>::PrintSelf(std::ostream &
144144

145145
template <typename TInputImage, typename TOutputImage>
146146
void
147-
BinaryErodeParaImageFilter<TInputImage, TOutputImage>::Modified() const
147+
BinaryErodeParabolicImageFilter<TInputImage, TOutputImage>::Modified() const
148148
{
149149
Superclass::Modified();
150150
m_CircPara->Modified();

0 commit comments

Comments
 (0)