diff --git a/examples/CompleteMontage.cxx b/examples/CompleteMontage.cxx index 1cd6deb3..5c3bc040 100644 --- a/examples/CompleteMontage.cxx +++ b/examples/CompleteMontage.cxx @@ -145,8 +145,7 @@ class CommandIterationUpdate : public itk::Command using Pointer = itk::SmartPointer; itkNewMacro(Self) -protected: - CommandIterationUpdate() = default; + protected : CommandIterationUpdate() = default; public: void @@ -527,8 +526,7 @@ completeMontage(const itk::TileConfiguration & stageTiles, stageTiles, inputPath, outputPath, outFilename, correctBias, denoise); break; default: - itkGenericExceptionMacro("Only sclar, RGB and RGBA images are supported!") - break; + itkGenericExceptionMacro("Only sclar, RGB and RGBA images are supported!") break; } } @@ -594,8 +592,7 @@ mainHelper(int argc, char * argv[], std::string inputPath) default: // instantiating too many types leads to long compilation time and big executable itkGenericExceptionMacro( "Only unsigned char, unsigned short and short are supported as pixel component types! Trying to montage " - << itk::ImageIOBase::GetComponentTypeAsString(componentType)) - break; + << itk::ImageIOBase::GetComponentTypeAsString(componentType)) break; } return EXIT_SUCCESS; diff --git a/examples/ResampleMontage.cxx b/examples/ResampleMontage.cxx index ab1bb3ce..42dd420a 100644 --- a/examples/ResampleMontage.cxx +++ b/examples/ResampleMontage.cxx @@ -105,8 +105,7 @@ resampleMontage(const itk::TileConfiguration & actualTiles, break; default: itkGenericExceptionMacro("Only sclar, RGB and RGBA images are supported! Actual pixel type: " - << itk::ImageIOBase::GetPixelTypeAsString(pixelType)) - break; + << itk::ImageIOBase::GetPixelTypeAsString(pixelType)) break; } } @@ -153,8 +152,7 @@ mainHelper(char * argv[]) default: // instantiating too many types leads to long compilation time and big executable itkGenericExceptionMacro( "Only unsigned char, unsigned short and short are supported as pixel component types! Trying to montage " - << itk::ImageIOBase::GetComponentTypeAsString(componentType)) - break; + << itk::ImageIOBase::GetComponentTypeAsString(componentType)) break; } return EXIT_SUCCESS; diff --git a/include/itkTileMergeImageFilter.h b/include/itkTileMergeImageFilter.h index 3c438dcc..f91537a7 100644 --- a/include/itkTileMergeImageFilter.h +++ b/include/itkTileMergeImageFilter.h @@ -234,12 +234,12 @@ class ITK_TEMPLATE_EXPORT TileMergeImageFilter PixelType m_Background = PixelType(); // default background value (not covered by any input tile) std::vector m_Transforms; - std::vector m_Tiles; // metadata/image storage (if filenames are given instead of actual images) - typename Superclass::ConstPointer m_Montage; - std::vector m_InputMappings; // where do input tile regions map into the output - std::vector m_InputsContinuousIndices; // where do input tile region indices map into the output - std::vector m_Regions; // regions which completely cover the output, - // grouped by the set of contributing input tiles + std::vector m_Tiles; // metadata/image storage (if filenames are given instead of actual images) + typename Superclass::ConstPointer m_Montage; + std::vector m_InputMappings; // where do input tile regions map into the output + std::vector m_InputsContinuousIndices; // where do input tile region indices map into the output + std::vector m_Regions; // regions which completely cover the output, + // grouped by the set of contributing input tiles std::vector m_RegionContributors; // set of input tiles which contribute to corresponding regions }; // class TileMergeImageFilter