@@ -640,8 +640,7 @@ main(int argc, char * argv[])
640640 FunctionType::Pointer function;
641641 switch (forceType)
642642 {
643- case 0 :
644- {
643+ case 0 : {
645644 DemonsFunctionType::Pointer demonsFunction = DemonsFunctionType::New ();
646645 switch (forceDomain)
647646 {
@@ -659,8 +658,7 @@ main(int argc, char * argv[])
659658 function = demonsFunction;
660659 }
661660 break ;
662- case 1 :
663- {
661+ case 1 : {
664662 SSDFunctionType::Pointer ssdFunction = SSDFunctionType::New ();
665663 switch (forceDomain)
666664 {
@@ -678,8 +676,7 @@ main(int argc, char * argv[])
678676 function = ssdFunction;
679677 }
680678 break ;
681- case 2 :
682- {
679+ case 2 : {
683680 NCCFunctionType::Pointer nccFunction = NCCFunctionType::New ();
684681 NCCFunctionType::RadiusType r;
685682 for (unsigned int dim = 0 ; dim < NCCFunctionType::ImageDimension; dim++)
@@ -722,22 +719,19 @@ main(int argc, char * argv[])
722719 RegularizerType::Pointer regularizer;
723720 switch (regularizerType)
724721 {
725- case 0 :
726- {
722+ case 0 : {
727723 GaussianRegularizerType::Pointer gaussRegularizer = GaussianRegularizerType::New ();
728724 gaussRegularizer->SetStandardDeviations (std::sqrt (regulVar));
729725 regularizer = gaussRegularizer;
730726 }
731727 break ;
732- case 1 :
733- {
728+ case 1 : {
734729 DiffusionRegularizerType::Pointer diffRegularizer = DiffusionRegularizerType::New ();
735730 diffRegularizer->SetAlpha (regulAlpha);
736731 regularizer = diffRegularizer;
737732 }
738733 break ;
739- case 2 :
740- {
734+ case 2 : {
741735#if defined(ITK_USE_FFTWD) || defined(ITK_USE_FFTWF)
742736 ElasticRegularizerType::Pointer elasticRegularizer = ElasticRegularizerType::New ();
743737 elasticRegularizer->SetMu (regulMu);
@@ -748,8 +742,7 @@ main(int argc, char * argv[])
748742#endif
749743 }
750744 break ;
751- case 3 :
752- {
745+ case 3 : {
753746#if defined(ITK_USE_FFTWD) || defined(ITK_USE_FFTWF)
754747 CurvatureRegularizerType::Pointer curvatureRegularizer = CurvatureRegularizerType::New ();
755748 curvatureRegularizer->SetAlpha (regulAlpha);
@@ -775,20 +768,17 @@ main(int argc, char * argv[])
775768 RegistrationFilterType::Pointer regFilter;
776769 switch (searchSpace)
777770 {
778- case 0 :
779- {
771+ case 0 : {
780772 regFilter = RegistrationFilterType::New ();
781773 break ;
782774 }
783- case 1 :
784- {
775+ case 1 : {
785776 DiffeomorphicRegistrationFilterType::Pointer diffeoRegFilter = DiffeomorphicRegistrationFilterType::New ();
786777 diffeoRegFilter->SetNumberOfExponentiatorIterations (numberOfExponentiatorIterations);
787778 regFilter = diffeoRegFilter;
788779 break ;
789780 }
790- case 2 :
791- {
781+ case 2 : {
792782 SymmetricDiffeomorphicRegistrationFilterType::Pointer symmDiffeoRegFilter =
793783 SymmetricDiffeomorphicRegistrationFilterType::New ();
794784 symmDiffeoRegFilter->SetNumberOfExponentiatorIterations (numberOfExponentiatorIterations);
0 commit comments