@@ -120,7 +120,7 @@ itkMultiLabelSTAPLEImageFilterTest(int, char *[])
120
120
// Get the Smart Pointer to the Filter Output
121
121
ImageTypePointer outputImage = filter->GetOutput ();
122
122
123
- // = test first two input images with undecided label set to 255 = //
123
+ // Test first two input images with undecided label set to 255
124
124
125
125
// Connect the first two input images
126
126
filter->SetInput (0 , inputImageA);
@@ -169,7 +169,7 @@ itkMultiLabelSTAPLEImageFilterTest(int, char *[])
169
169
170
170
std::cout << " ElapsedNumberOfIterations: " << filter->GetElapsedNumberOfIterations () << std::endl;
171
171
172
- // compare to correct results
172
+ // Compare to correct results
173
173
it = IteratorType (outputImage, outputImage->GetBufferedRegion ());
174
174
for (unsigned int i = 0 ; i < imageSize; ++i, ++it)
175
175
{
@@ -181,15 +181,15 @@ itkMultiLabelSTAPLEImageFilterTest(int, char *[])
181
181
}
182
182
}
183
183
184
- // =========== test first two input images ============ //
184
+ // Test first two input images
185
185
186
- // unset undecided pixel label; reinstate automatic selection
186
+ // Unset undecided pixel label; reinstate automatic selection
187
187
filter->UnsetLabelForUndecidedPixels ();
188
188
189
189
// Execute the filter
190
190
ITK_TRY_EXPECT_NO_EXCEPTION (filter->Update ());
191
191
192
- // compare to correct results
192
+ // Compare to correct results
193
193
it = IteratorType (outputImage, outputImage->GetBufferedRegion ());
194
194
for (unsigned int i = 0 ; i < 8 ; ++i, ++it)
195
195
{
@@ -201,15 +201,15 @@ itkMultiLabelSTAPLEImageFilterTest(int, char *[])
201
201
}
202
202
}
203
203
204
- // =========== test all three input images ============ //
204
+ // Test all three input images
205
205
206
- // connect third input image
206
+ // Connect third input image
207
207
filter->SetInput (2 , inputImageC);
208
208
209
209
// Execute the filter
210
210
ITK_TRY_EXPECT_NO_EXCEPTION (filter->Update ());
211
211
212
- // compare to correct results
212
+ // Compare to correct results
213
213
it = IteratorType (outputImage, outputImage->GetBufferedRegion ());
214
214
for (unsigned int i = 0 ; i < 8 ; ++i, ++it)
215
215
{
0 commit comments