Skip to content

Commit 1800d81

Browse files
jhlegarretahjmjohnson
authored andcommitted
DOC: Conform to ITK SW Guidelines in comments
Conform to ITK SW Guidelines in comments: start sentences with capitals.
1 parent 852d4e4 commit 1800d81

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Modules/Segmentation/LabelVoting/test/itkMultiLabelSTAPLEImageFilterTest.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ itkMultiLabelSTAPLEImageFilterTest(int, char *[])
120120
// Get the Smart Pointer to the Filter Output
121121
ImageTypePointer outputImage = filter->GetOutput();
122122

123-
// = test first two input images with undecided label set to 255 = //
123+
// Test first two input images with undecided label set to 255
124124

125125
// Connect the first two input images
126126
filter->SetInput(0, inputImageA);
@@ -169,7 +169,7 @@ itkMultiLabelSTAPLEImageFilterTest(int, char *[])
169169

170170
std::cout << "ElapsedNumberOfIterations: " << filter->GetElapsedNumberOfIterations() << std::endl;
171171

172-
// compare to correct results
172+
// Compare to correct results
173173
it = IteratorType(outputImage, outputImage->GetBufferedRegion());
174174
for (unsigned int i = 0; i < imageSize; ++i, ++it)
175175
{
@@ -181,15 +181,15 @@ itkMultiLabelSTAPLEImageFilterTest(int, char *[])
181181
}
182182
}
183183

184-
// =========== test first two input images ============ //
184+
// Test first two input images
185185

186-
// unset undecided pixel label; reinstate automatic selection
186+
// Unset undecided pixel label; reinstate automatic selection
187187
filter->UnsetLabelForUndecidedPixels();
188188

189189
// Execute the filter
190190
ITK_TRY_EXPECT_NO_EXCEPTION(filter->Update());
191191

192-
// compare to correct results
192+
// Compare to correct results
193193
it = IteratorType(outputImage, outputImage->GetBufferedRegion());
194194
for (unsigned int i = 0; i < 8; ++i, ++it)
195195
{
@@ -201,15 +201,15 @@ itkMultiLabelSTAPLEImageFilterTest(int, char *[])
201201
}
202202
}
203203

204-
// =========== test all three input images ============ //
204+
// Test all three input images
205205

206-
// connect third input image
206+
// Connect third input image
207207
filter->SetInput(2, inputImageC);
208208

209209
// Execute the filter
210210
ITK_TRY_EXPECT_NO_EXCEPTION(filter->Update());
211211

212-
// compare to correct results
212+
// Compare to correct results
213213
it = IteratorType(outputImage, outputImage->GetBufferedRegion());
214214
for (unsigned int i = 0; i < 8; ++i, ++it)
215215
{

0 commit comments

Comments
 (0)