diff --git a/Modules/Core/Common/test/itkBSplineInterpolationWeightFunctionTest.cxx b/Modules/Core/Common/test/itkBSplineInterpolationWeightFunctionTest.cxx index afe9f8db6c7..8f00440a270 100644 --- a/Modules/Core/Common/test/itkBSplineInterpolationWeightFunctionTest.cxx +++ b/Modules/Core/Common/test/itkBSplineInterpolationWeightFunctionTest.cxx @@ -274,7 +274,7 @@ itkBSplineInterpolationWeightFunctionTest(int, char *[]) using KernelType = itk::BSplineKernelFunction; auto kernel = KernelType::New(); - using ImageType = itk::Image; + using ImageType = itk::Image; auto image = ImageType::New(); const ImageType::RegionType region{ startIndex, size }; diff --git a/Modules/Core/Common/test/itkConstNeighborhoodIteratorWithOnlyIndexTest.cxx b/Modules/Core/Common/test/itkConstNeighborhoodIteratorWithOnlyIndexTest.cxx index 1532af6cf4e..7e485dabc85 100644 --- a/Modules/Core/Common/test/itkConstNeighborhoodIteratorWithOnlyIndexTest.cxx +++ b/Modules/Core/Common/test/itkConstNeighborhoodIteratorWithOnlyIndexTest.cxx @@ -452,7 +452,7 @@ int itkConstNeighborhoodIteratorWithOnlyIndexTest(int, char *[]) { std::cout << "*** Testing with itk::Image" << std::endl << std::endl; - if (itkConstNeighborhoodIteratorWithOnlyIndexTestRun>() == EXIT_FAILURE) + if (itkConstNeighborhoodIteratorWithOnlyIndexTestRun>() == EXIT_FAILURE) { std::cerr << "XXX Failed with itk::Image XXX" << std::endl; return EXIT_FAILURE; diff --git a/Modules/Core/Common/test/itkImageAlgorithmCopyTest.cxx b/Modules/Core/Common/test/itkImageAlgorithmCopyTest.cxx index dd751be7e57..0bb6b1a4089 100644 --- a/Modules/Core/Common/test/itkImageAlgorithmCopyTest.cxx +++ b/Modules/Core/Common/test/itkImageAlgorithmCopyTest.cxx @@ -118,7 +118,7 @@ AverageTestCopy(typename TImage::SizeType & size) int itkImageAlgorithmCopyTest(int, char *[]) { - using ImageType3D = itk::Image; + using ImageType3D = itk::Image; auto size3d = ImageType3D::SizeType::Filled(16); AverageTestCopy(size3d); @@ -131,7 +131,7 @@ itkImageAlgorithmCopyTest(int, char *[]) size3d.Fill(128); AverageTestCopy(size3d); - using ImageType2D = itk::Image; + using ImageType2D = itk::Image; auto size2d = ImageType2D::SizeType::Filled(16); AverageTestCopy(size2d); diff --git a/Modules/Core/Common/test/itkImageRegionConstIteratorWithOnlyIndexTest.cxx b/Modules/Core/Common/test/itkImageRegionConstIteratorWithOnlyIndexTest.cxx index 331a791d6f3..990cd47d8fb 100644 --- a/Modules/Core/Common/test/itkImageRegionConstIteratorWithOnlyIndexTest.cxx +++ b/Modules/Core/Common/test/itkImageRegionConstIteratorWithOnlyIndexTest.cxx @@ -189,7 +189,7 @@ itkImageRegionConstIteratorWithOnlyIndexTest(int, char *[]) { std::cout << "Testing with Image< char, 3 >... " << std::endl; - itkImageRegionConstIteratorWithOnlyIndexTestIteratorTester> Tester; + itkImageRegionConstIteratorWithOnlyIndexTestIteratorTester> Tester; if (Tester.TestConstIterator() == false) { testPassed = false; diff --git a/Modules/Core/Common/test/itkImageVectorOptimizerParametersHelperTest.cxx b/Modules/Core/Common/test/itkImageVectorOptimizerParametersHelperTest.cxx index 90d2bd36358..aa651e88413 100644 --- a/Modules/Core/Common/test/itkImageVectorOptimizerParametersHelperTest.cxx +++ b/Modules/Core/Common/test/itkImageVectorOptimizerParametersHelperTest.cxx @@ -142,7 +142,7 @@ itkImageVectorOptimizerParametersHelperTest(int, char *[]) ITK_TRY_EXPECT_EXCEPTION(params.MoveDataPointer(array.data_block())); // Test setting an image of wrong type - using BadImageType = itk::Image; + using BadImageType = itk::Image; auto badImage = BadImageType::New(); ITK_TRY_EXPECT_EXCEPTION(params.SetParametersObject(badImage)); diff --git a/Modules/Core/Common/test/itkMultiThreaderParallelizeArrayTest.cxx b/Modules/Core/Common/test/itkMultiThreaderParallelizeArrayTest.cxx index 7bbee118a73..ee248fa5a33 100644 --- a/Modules/Core/Common/test/itkMultiThreaderParallelizeArrayTest.cxx +++ b/Modules/Core/Common/test/itkMultiThreaderParallelizeArrayTest.cxx @@ -66,7 +66,7 @@ itkMultiThreaderParallelizeArrayTest(int argc, char * argv[]) constexpr unsigned int size = 1029; std::vector vec(size); - using SomeProcessObject = itk::AbsImageFilter, itk::Image>; + using SomeProcessObject = itk::AbsImageFilter, itk::Image>; auto progressPO = SomeProcessObject::New(); auto showProgress = ShowProgress::New(); progressPO->AddObserver(itk::ProgressEvent(), showProgress); diff --git a/Modules/Core/Common/test/itkSimpleFilterWatcherTest.cxx b/Modules/Core/Common/test/itkSimpleFilterWatcherTest.cxx index 00ef44decc2..f2eed947b24 100644 --- a/Modules/Core/Common/test/itkSimpleFilterWatcherTest.cxx +++ b/Modules/Core/Common/test/itkSimpleFilterWatcherTest.cxx @@ -85,7 +85,7 @@ itkSimpleFilterWatcherTest(int, char *[]) { // Test out the code using WatcherType = itk::SimpleFilterWatcher; - using ImageType = itk::Image; + using ImageType = itk::Image; using FilterType = itk::TanHelperImageFilter; auto filter = FilterType::New(); const char * comment = "comment"; diff --git a/Modules/Filtering/AntiAlias/test/itkAntiAliasBinaryImageFilterTest.cxx b/Modules/Filtering/AntiAlias/test/itkAntiAliasBinaryImageFilterTest.cxx index 9eb939fb697..4c3df0056c9 100644 --- a/Modules/Filtering/AntiAlias/test/itkAntiAliasBinaryImageFilterTest.cxx +++ b/Modules/Filtering/AntiAlias/test/itkAntiAliasBinaryImageFilterTest.cxx @@ -48,9 +48,9 @@ sphere(float x, float y, float z) } void -evaluate_function(itk::Image * im, float (*f)(float, float, float)) +evaluate_function(itk::Image * im, float (*f)(float, float, float)) { - itk::Image::IndexType idx; + itk::Image::IndexType idx; for (int z = 0; z < V_DEPTH; ++z) { @@ -88,8 +88,7 @@ itkAntiAliasBinaryImageFilterTest(int argc, char * argv[]) } const char * outputImage = argv[1]; - using InputDataType = char; - using BinaryImageType = itk::Image; + using BinaryImageType = itk::Image; using RealImageType = itk::Image; const itk::AntiAliasBinaryImageFilter::Pointer antialiaser = diff --git a/Modules/Filtering/ImageCompose/test/itkJoinImageFilterTest.cxx b/Modules/Filtering/ImageCompose/test/itkJoinImageFilterTest.cxx index 03d534610f2..8b028d47416 100644 --- a/Modules/Filtering/ImageCompose/test/itkJoinImageFilterTest.cxx +++ b/Modules/Filtering/ImageCompose/test/itkJoinImageFilterTest.cxx @@ -29,7 +29,7 @@ itkJoinImageFilterTest(int, char *[]) constexpr unsigned int myDimension = 2; // Declare the types of the images - using myImageType1 = itk::Image; + using myImageType1 = itk::Image; using myImageType2 = itk::Image, myDimension>; using myImageType3 = itk::Image, myDimension>; diff --git a/Modules/Filtering/ImageFrequency/test/itkFrequencyIteratorsGTest.cxx b/Modules/Filtering/ImageFrequency/test/itkFrequencyIteratorsGTest.cxx index 1356486b590..f0ed1f985a4 100644 --- a/Modules/Filtering/ImageFrequency/test/itkFrequencyIteratorsGTest.cxx +++ b/Modules/Filtering/ImageFrequency/test/itkFrequencyIteratorsGTest.cxx @@ -105,7 +105,7 @@ template static typename TOutputImageType::Pointer CreateImage(unsigned int size) { - using ImageType = itk::Image; + using ImageType = itk::Image; auto imageSize = ImageType::SizeType::Filled(size); using RandomImageSourceType = itk::RandomImageSource; auto randomImageSource = RandomImageSourceType::New(); diff --git a/Modules/Filtering/ImageIntensity/test/itkShiftScaleImageFilterTest.cxx b/Modules/Filtering/ImageIntensity/test/itkShiftScaleImageFilterTest.cxx index bf6f20c4dab..8d96593acad 100644 --- a/Modules/Filtering/ImageIntensity/test/itkShiftScaleImageFilterTest.cxx +++ b/Modules/Filtering/ImageIntensity/test/itkShiftScaleImageFilterTest.cxx @@ -29,7 +29,7 @@ itkShiftScaleImageFilterTest(int, char *[]) { std::cout << "itkShiftScaleImageFilterTest Start" << std::endl; - using TestInputImage = itk::Image; + using TestInputImage = itk::Image; using TestOutputImage = itk::Image; using RealType = itk::NumericTraits::RealType; diff --git a/Modules/IO/ImageBase/test/itkImageFileReaderDimensionsTest.cxx b/Modules/IO/ImageBase/test/itkImageFileReaderDimensionsTest.cxx index eba30463845..8382ab3b761 100644 --- a/Modules/IO/ImageBase/test/itkImageFileReaderDimensionsTest.cxx +++ b/Modules/IO/ImageBase/test/itkImageFileReaderDimensionsTest.cxx @@ -37,7 +37,7 @@ itkImageFileReaderDimensionsTest(int argc, char * argv[]) using Image2DType = itk::Image; using Image3DType = itk::Image; using Image4DType = itk::Image; - using CharImage2DType = itk::Image; + using CharImage2DType = itk::Image; using Reader2DType = itk::ImageFileReader; using Reader3DType = itk::ImageFileReader; diff --git a/Modules/IO/NIFTI/test/itkNiftiImageIOTest11.cxx b/Modules/IO/NIFTI/test/itkNiftiImageIOTest11.cxx index 772a5a70eb4..90450406583 100644 --- a/Modules/IO/NIFTI/test/itkNiftiImageIOTest11.cxx +++ b/Modules/IO/NIFTI/test/itkNiftiImageIOTest11.cxx @@ -42,7 +42,7 @@ itkNiftiImageIOTest11(int argc, char * argv[]) { return EXIT_FAILURE; } - using ImageType = itk::Image; + using ImageType = itk::Image; ImageType::SizeType size; size[0] = static_cast(itk::NumericTraits::max()) * 2; diff --git a/Modules/Registration/Common/test/itkImageRegistrationMethodTest.cxx b/Modules/Registration/Common/test/itkImageRegistrationMethodTest.cxx index a23a8edc0a0..018098d0c09 100644 --- a/Modules/Registration/Common/test/itkImageRegistrationMethodTest.cxx +++ b/Modules/Registration/Common/test/itkImageRegistrationMethodTest.cxx @@ -42,7 +42,7 @@ itkImageRegistrationMethodTest(int, char *[]) using FixedImageType = itk::Image; // Moving Image Type - using MovingImageType = itk::Image; + using MovingImageType = itk::Image; // Transform Type using TransformType = itk::TranslationTransform; diff --git a/Modules/Registration/Common/test/itkImageRegistrationMethodTest_11.cxx b/Modules/Registration/Common/test/itkImageRegistrationMethodTest_11.cxx index 3be75a77af1..c96bcf8427c 100644 --- a/Modules/Registration/Common/test/itkImageRegistrationMethodTest_11.cxx +++ b/Modules/Registration/Common/test/itkImageRegistrationMethodTest_11.cxx @@ -39,7 +39,7 @@ itkImageRegistrationMethodTest_11(int, char *[]) using FixedImageType = itk::Image; // Moving Image Type - using MovingImageType = itk::Image; + using MovingImageType = itk::Image; // Transform Type using TransformType = itk::TranslationTransform; diff --git a/Modules/Registration/Common/test/itkMultiResolutionImageRegistrationMethodTest.cxx b/Modules/Registration/Common/test/itkMultiResolutionImageRegistrationMethodTest.cxx index 07c8585a84c..d5f2726ba23 100644 --- a/Modules/Registration/Common/test/itkMultiResolutionImageRegistrationMethodTest.cxx +++ b/Modules/Registration/Common/test/itkMultiResolutionImageRegistrationMethodTest.cxx @@ -44,7 +44,7 @@ itkMultiResolutionImageRegistrationMethodTest(int, char *[]) using FixedImageType = itk::Image; // Moving Image Type - // using MovingImageType = itk::Image; + // using MovingImageType = itk::Image; using MovingImageType = itk::Image; // Transform Type diff --git a/Modules/Segmentation/LevelSets/test/itkCannySegmentationLevelSetImageFilterTest.cxx b/Modules/Segmentation/LevelSets/test/itkCannySegmentationLevelSetImageFilterTest.cxx index 779bc9ac5e5..dcd321ddba7 100644 --- a/Modules/Segmentation/LevelSets/test/itkCannySegmentationLevelSetImageFilterTest.cxx +++ b/Modules/Segmentation/LevelSets/test/itkCannySegmentationLevelSetImageFilterTest.cxx @@ -23,7 +23,7 @@ namespace CSIFTN { using ImageType = itk::Image; -using SeedImageType = itk::Image; +using SeedImageType = itk::Image; constexpr int V_WIDTH = 64; constexpr int V_HEIGHT = 64; @@ -79,9 +79,9 @@ evaluate_float_function(itk::Image * im, float (*f)(float, float, floa } void -evaluate_function(itk::Image * im, float (*f)(float, float, float)) +evaluate_function(itk::Image * im, float (*f)(float, float, float)) { - itk::Image::IndexType idx; + itk::Image::IndexType idx; for (int z = 0; z < V_DEPTH; ++z) { diff --git a/Modules/Segmentation/LevelSets/test/itkLaplacianSegmentationLevelSetImageFilterTest.cxx b/Modules/Segmentation/LevelSets/test/itkLaplacianSegmentationLevelSetImageFilterTest.cxx index 5efe2cdd5fb..49fec97f8cf 100644 --- a/Modules/Segmentation/LevelSets/test/itkLaplacianSegmentationLevelSetImageFilterTest.cxx +++ b/Modules/Segmentation/LevelSets/test/itkLaplacianSegmentationLevelSetImageFilterTest.cxx @@ -24,7 +24,7 @@ namespace LSIFTN { using ImageType = itk::Image; -using SeedImageType = itk::Image; +using SeedImageType = itk::Image; constexpr int V_WIDTH = 64; constexpr int V_HEIGHT = 64; @@ -80,9 +80,9 @@ evaluate_float_function(itk::Image * im, float (*f)(float, float, floa } void -evaluate_function(itk::Image * im, float (*f)(float, float, float)) +evaluate_function(itk::Image * im, float (*f)(float, float, float)) { - itk::Image::IndexType idx; + itk::Image::IndexType idx; for (int z = 0; z < V_DEPTH; ++z) { diff --git a/Modules/Segmentation/LevelSets/test/itkNarrowBandThresholdSegmentationLevelSetImageFilterTest.cxx b/Modules/Segmentation/LevelSets/test/itkNarrowBandThresholdSegmentationLevelSetImageFilterTest.cxx index 911e131602c..c40aa925e93 100644 --- a/Modules/Segmentation/LevelSets/test/itkNarrowBandThresholdSegmentationLevelSetImageFilterTest.cxx +++ b/Modules/Segmentation/LevelSets/test/itkNarrowBandThresholdSegmentationLevelSetImageFilterTest.cxx @@ -23,7 +23,7 @@ namespace NBTS { using ImageType = itk::Image; -using SeedImageType = itk::Image; +using SeedImageType = itk::Image; constexpr int V_WIDTH = 64; constexpr int V_HEIGHT = 64; @@ -40,9 +40,9 @@ sphere(float x, float y, float z) } void -evaluate_function(itk::Image * im, float (*f)(float, float, float)) +evaluate_function(itk::Image * im, float (*f)(float, float, float)) { - itk::Image::IndexType idx; + itk::Image::IndexType idx; for (int z = 0; z < V_DEPTH; ++z) { diff --git a/Modules/Segmentation/LevelSets/test/itkThresholdSegmentationLevelSetImageFilterTest.cxx b/Modules/Segmentation/LevelSets/test/itkThresholdSegmentationLevelSetImageFilterTest.cxx index 5c5ba9c4a84..d2a0a87fee9 100644 --- a/Modules/Segmentation/LevelSets/test/itkThresholdSegmentationLevelSetImageFilterTest.cxx +++ b/Modules/Segmentation/LevelSets/test/itkThresholdSegmentationLevelSetImageFilterTest.cxx @@ -23,7 +23,7 @@ namespace TSIFTN { using ImageType = itk::Image; -using SeedImageType = itk::Image; +using SeedImageType = itk::Image; constexpr int V_WIDTH = 64; constexpr int V_HEIGHT = 64; @@ -40,9 +40,9 @@ sphere(float x, float y, float z) } void -evaluate_function(itk::Image * im, float (*f)(float, float, float)) +evaluate_function(itk::Image * im, float (*f)(float, float, float)) { - itk::Image::IndexType idx; + itk::Image::IndexType idx; for (int z = 0; z < V_DEPTH; ++z) { diff --git a/Modules/Segmentation/LevelSetsv4/test/itkBinaryImageToShiSparseLevelSetAdaptorTest.cxx b/Modules/Segmentation/LevelSetsv4/test/itkBinaryImageToShiSparseLevelSetAdaptorTest.cxx index 466937e47ca..056b620abe6 100644 --- a/Modules/Segmentation/LevelSetsv4/test/itkBinaryImageToShiSparseLevelSetAdaptorTest.cxx +++ b/Modules/Segmentation/LevelSetsv4/test/itkBinaryImageToShiSparseLevelSetAdaptorTest.cxx @@ -66,7 +66,7 @@ itkBinaryImageToShiSparseLevelSetAdaptorTest(int argc, char * argv[]) const LevelSetType::Pointer sparseLevelSet = adaptor->GetModifiableLevelSet(); - using StatusImageType = itk::Image; + using StatusImageType = itk::Image; auto statusImage = StatusImageType::New(); statusImage->SetRegions(input->GetLargestPossibleRegion()); statusImage->CopyInformation(input);