Checking
Added exception for low prior norm
BUG:  Extra spaces in bash.
Merge branch 'master' of github.com:stnava/ANTs
ENH:  Adding "hidden" function in ImageMath to create weight mask for N4 based on probability images.
BUG: Previous work had mangled output.
WIP: trying to fix antsr on unix antsApplyTransforms
ENH: output U matrix
ENH: u matrix output
ENH: U matrix again ... no nmf
ENH: permutation p-value output
COMP: Static analysis checker cppcheck fixes

This patch sets was originally prepared by Ali Ghayoor, and reviewed
and corrected by Hans Johnson.

https://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page

/usr/local/bin/cppcheck -q --enable=all --force --inline-suppr  --template=gcc . > /tmp/cppcheck_warnings

ExternalApplications/MALF/CorrectiveLearning/AdaBoost.h:160: error: Memory leak: CH
ExternalApplications/MALF/CorrectiveLearning/AdaBoost.h:160: error: Memory leak: F
ExternalApplications/MALF/CorrectiveLearning/AdaBoost.h:160: error: Memory leak: H
ExternalApplications/MALF/CorrectiveLearning/AdaBoost.h:160: error: Memory leak: W
Examples/StudentsTestOnImages.cxx:561: error: Memory leak: groupLabel
ExternalApplications/MALF/CorrectiveLearning/AdaBoost.h:160: error: Memory leak: tX
Examples/StudentsTestOnImages.cxx:119: error: Mismatching allocation and deallocation: newPerm
Examples/StudentsTestOnImages.cxx:142: error: Mismatching allocation and deallocation: newPerm
Examples/StudentsTestOnImages.cxx:254: error: Mismatching allocation and deallocation: sortPermStat
Examples/StudentsTestOnImages.cxx:195: error: Mismatching allocation and deallocation: sortStat
Examples/WarpImageMultiTransform.cxx:98: error: Possible null pointer dereference: tok - otherwise it is redundant to check it against null.
Examples/TensorDerivedImage.cxx:108: error: Uninitialized variable: dtimg
Examples/TensorDerivedImage.cxx:122: error: Uninitialized variable: dtimg
Examples/ANTSUseLandmarkImagesToGetAffineTransform.cxx:206: error: Uninitialized variable: fixedimage
Examples/CheckTopology.cxx:335: error: Uninitialized variable: image
Examples/CheckTopology.cxx:336: error: Uninitialized variable: image
Examples/GetMeshAndTopology.cxx:384: error: Uninitialized variable: image
Examples/GetMeshAndTopology.cxx:387: error: Uninitialized variable: image
Examples/GetMeshAndTopology.cxx:385: error: Uninitialized variable: image2
Examples/RebaseTensorImage.cxx:108: error: Uninitialized variable: img_mov
Examples/RebaseTensorImage.cxx:110: error: Uninitialized variable: img_mov
Examples/SurfaceBasedSmoothing.cxx:94: error: Uninitialized variable: input
Examples/SurfaceCurvature.cxx:146: error: Uninitialized variable: input
Examples/ResampleImageBySpacing.cxx:101: error: Uninitialized variable: inputImage
Examples/ResampleImageBySpacing.cxx:236: error: Uninitialized variable: inputImage
Examples/ANTSUseLandmarkImagesToGetAffineTransform.cxx:207: error: Uninitialized variable: movingimage
Examples/SurfaceBasedSmoothing.cxx:96: error: Uninitialized variable: surflabel
Examples/RebaseTensorImage.cxx:132: error: Uninitialized variable: target
ImageRegistration/ANTS_affine_registration2.h:603: error: Uninitialized variable: transform_running
ImageRegistration/ANTS_affine_registration2.h:624: error: Uninitialized variable: transform_running
Examples/ANTS.cxx:30: performance: Function parameter 'progName' should be passed by reference.
Examples/antsUtilities.cxx:48: performance: Function parameter 'str' should be passed by reference.
Utilities/antsCommandLineParser.cxx:116: performance: Inefficient usage of string::find in condition; string::compare would be faster.
Utilities/antsCommandLineParser.cxx:147: performance: Inefficient usage of string::find in condition; string::compare would be faster.
Utilities/antsCommandLineParser.cxx:87: performance: Inefficient usage of string::find in condition; string::compare would be faster.
ImageRegistration/ANTS_affine_registration2.h:138: performance: Possible inefficient checking for 'gradient_scales' emptiness.
ImageRegistration/ANTS_affine_registration2.h:128: performance: Possible inefficient checking for 'number_of_iteration_list' emptiness.
Examples/antsMotionCorr.cxx:387: performance: Possible inefficient checking for 'timelist' emptiness.
Examples/ANTSJacobian.cxx:199: performance: Possible inefficient checking for 'v' emptiness.
Examples/ANTSJacobian.cxx:319: performance: Possible inefficient checking for 'v' emptiness.
Examples/ANTSJacobian.cxx:344: performance: Possible inefficient checking for 'v' emptiness.
Examples/ANTSJacobian.cxx:350: performance: Possible inefficient checking for 'v' emptiness.
Temporary/itkFEMConformalMap.cxx:1078: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMConformalMap.cxx:1083: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMConformalMap.cxx:1169: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMConformalMap.cxx:1244: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMConformalMap.cxx:1300: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMConformalMap.cxx:336: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMConformalMap.cxx:439: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMConformalMap.cxx:529: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMConformalMap.cxx:599: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMConformalMap.cxx:994: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMDiscConformalMap.cxx:1131: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMDiscConformalMap.cxx:1220: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMDiscConformalMap.cxx:1314: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMDiscConformalMap.cxx:1349: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMDiscConformalMap.cxx:1444: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMDiscConformalMap.cxx:1450: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMDiscConformalMap.cxx:1482: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMDiscConformalMap.cxx:1510: performance: Prefer prefix ++/-- operators for non-primitive types.
Temporary/itkFEMDiscConformalMap.cxx:1614: performance: Prefer prefix ++/-- operators for non-primitive types.
Utilities/antsCommandLineParser.cxx:280: performance: Prefer prefix ++/-- operators for non-primitive types.
Utilities/antsCommandLineParser.cxx:296: performance: Prefer prefix ++/-- operators for non-primitive types.
Utilities/antsCommandLineParser.cxx:330: performance: Prefer prefix ++/-- operators for non-primitive types.
Utilities/antsCommandLineParser.cxx:525: performance: Prefer prefix ++/-- operators for non-primitive types.
Utilities/antsCommandLineParser.cxx:534: performance: Prefer prefix ++/-- operators for non-primitive types.
Utilities/antsCommandLineParser.cxx:571: performance: Prefer prefix ++/-- operators for non-primitive types.
Utilities/antsCommandLineParser.cxx:581: performance: Prefer prefix ++/-- operators for non-primitive types.
ExternalApplications/MALF/JointFusion/LabelFusion.cxx:221: portability: scanf without field width limits can crash with huge input data on some versions of libc.
ExternalApplications/MALF/JointFusion/LabelFusion.cxx:233: portability: scanf without field width limits can crash with huge input data on some versions of libc.
ImageRegistration/itkCrossCorrelationRegistrationFunction.h:167: style: C-style pointer casting
ImageRegistration/itkProbabilisticRegistrationFunction.h:167: style: C-style pointer casting
ImageRegistration/itkSyNDemonsRegistrationFunction.cxx:224: style: C-style pointer casting
ImageRegistration/itkSyNDemonsRegistrationFunction.cxx:312: style: C-style pointer casting
ImageRegistration/itkSyNDemonsRegistrationFunction.cxx:351: style: C-style pointer casting
Examples/ImageMath.cxx:3721: style: Checking if unsigned variable 'ct_nuis' is less than zero.
Examples/ImageMath.cxx:4060: style: Checking if unsigned variable 'ct_nuis' is less than zero.
ImageRegistration/ANTS_affine_registration2.h:1099: style: Consecutive return, break, continue, goto or throw statements are unnecessary.
ImageRegistration/ANTS_affine_registration2.h:1302: style: Consecutive return, break, continue, goto or throw statements are unnecessary.
Examples/Atropos.cxx:971: style: Exception should be caught by reference.
Temporary/itkFEMConformalMap.cxx:1041: style: Exception should be caught by reference.
Temporary/itkFEMDiscConformalMap.cxx:1411: style: Exception should be caught by reference.
Temporary/itkFEMElement3DMembrane1DOF.hxx:109: style: Exception should be caught by reference.
Examples/ImageMath.cxx:9415: style: Found duplicate branches for if and else.
Examples/ImageMath.cxx:9437: style: Found duplicate branches for if and else.
Examples/KellySlater.cxx:251: style: Found duplicate branches for if and else.
Examples/LaplacianThickness.cxx:352: style: Found duplicate branches for if and else.
ImageRegistration/itkCrossCorrelationRegistrationFunction.cxx:521: style: Found duplicate branches for if and else.
ImageRegistration/itkProbabilisticRegistrationFunction.cxx:883: style: Found duplicate branches for if and else.
ImageRegistration/itkProbabilisticRegistrationFunction.cxx:965: style: Found duplicate branches for if and else.
Examples/TensorDerivedImage.cxx:171: style: Same expression on both sides of '!='.
Examples/ImageMath.cxx:9459: style: Statements following return, break, continue, goto or throw will never be executed.
ImageRegistration/itkAvantsMutualInformationRegistrationFunction.h:546: style: Statements following return, break, continue, goto or throw will never be executed.
ImageRegistration/itkAvantsMutualInformationRegistrationFunction.h:554: style: Statements following return, break, continue, goto or throw will never be executed.
Temporary/itkFastMarchingImageFilter.h:137: style: The class 'AxisNodeType' does not have a constructor.
Examples/ANTS.cxx:114: style: The function 'ANTS' is never used
Examples/ANTSConformalMapping.cxx:474: style: The function 'ANTSConformalMapping' is never used
Examples/ANTSIntegrateVectorField.cxx:418: style: The function 'ANTSIntegrateVectorField' is never used
Examples/ANTSIntegrateVelocityField.cxx:125: style: The function 'ANTSIntegrateVelocityField' is never used
Examples/ANTSJacobian.cxx:563: style: The function 'ANTSJacobian' is never used
Examples/ANTSUseDeformationFieldToGetAffineTransform.cxx:420: style: The function 'ANTSUseDeformationFieldToGetAffineTransform' is never used
Examples/ANTSUseLandmarkImagesToGetAffineTransform.cxx:406: style: The function 'ANTSUseLandmarkImagesToGetAffineTransform' is never used
Examples/ANTSUseLandmarkImagesToGetBSplineDisplacementField.cxx:511: style: The function 'ANTSUseLandmarkImagesToGetBSplineDisplacementField' is never used
Examples/Atropos.cxx:1521: style: The function 'Atropos' is never used
Examples/AtroposMin.cxx:303: style: The function 'AtroposMin' is never used
Examples/AverageAffineTransform.cxx:228: style: The function 'AverageAffineTransform' is never used
Examples/AverageAffineTransformNoRigid.cxx:228: style: The function 'AverageAffineTransformNoRigid' is never used
Examples/AverageImages.cxx:254: style: The function 'AverageImages' is never used
Examples/AverageTensorImages.cxx:90: style: The function 'AverageTensorImages' is never used
Examples/CheckTopology.cxx:267: style: The function 'CheckTopology' is never used
Examples/ClusterImageStatistics.cxx:302: style: The function 'ClusterImageStatistics' is never used
Examples/ComposeMultiTransform.cxx:287: style: The function 'ComposeMultiTransform' is never used
Examples/CompositeTransformUtil.cxx:171: style: The function 'CompositeTransformUtil' is never used
Examples/ComputeSimilarityMetric.cxx:218: style: The function 'ComputeSimilarityMetric' is never used
Examples/ConformalMapping.cxx:880: style: The function 'ConformalMapping' is never used
Examples/ConvertImagePixelType.cxx:97: style: The function 'ConvertImagePixelType' is never used
Examples/ConvertScalarImageToRGB.cxx:298: style: The function 'ConvertScalarImageToRGB' is never used
Examples/ConvertToJpg.cxx:95: style: The function 'ConvertToJpg' is never used
Examples/ConvertTransformFile.cxx:454: style: The function 'ConvertTransformFile' is never used
Examples/ConvertVectorFieldToVTK.cxx:36: style: The function 'ConvertVectorFieldToVTK' is never used
Examples/CopyImageHeaderInformation.cxx:134: style: The function 'CopyImageHeaderInformation' is never used
Examples/CreateDTICohort.cxx:1057: style: The function 'CreateDTICohort' is never used
Examples/CreateDisplacementField.cxx:137: style: The function 'CreateDisplacementField' is never used
Examples/CreateImage.cxx:294: style: The function 'CreateImage' is never used
Examples/CreateJacobianDeterminantImage.cxx:168: style: The function 'CreateJacobianDeterminantImage' is never used
Examples/CreateWarpedGridImage.cxx:184: style: The function 'CreateWarpedGridImage' is never used
Temporary/itkFEMElement3DC0LinearTriangular.cxx:328: style: The function 'Draw' is never used
ExternalApplications/MALF/JointFusion/LabelFusion.cxx:116: style: The function 'ExpandRegion<VDim>' is never used
Examples/ExtractRegionFromImage.cxx:134: style: The function 'ExtractRegionFromImage' is never used
Examples/ExtractRegionFromImageByMask.cxx:160: style: The function 'ExtractRegionFromImageByMask' is never used
Examples/ExtractSliceFromImage.cxx:54: style: The function 'ExtractSliceFromImage' is never used
Temporary/itkFEMElement3DC0LinearTriangular.cxx:129: style: The function 'GetIntegrationPointAndWeight' is never used
Temporary/itkFEMElement3DC0LinearTriangular.cxx:204: style: The function 'GetLocalFromGlobalCoordinates' is never used
Examples/GetMeshAndTopology.cxx:309: style: The function 'GetMeshAndTopology' is never used
Temporary/itkFEMElement3DC0LinearTriangular.cxx:163: style: The function 'GetNumberOfIntegrationPoints' is never used
Examples/ImageCompare.cxx:26: style: The function 'ImageCompare' is never used
Examples/ImageMath.cxx:11748: style: The function 'ImageMath' is never used
Examples/ImageSetStatistics.cxx:987: style: The function 'ImageSetStatistics' is never used
Temporary/itkFEMElement3DC0LinearTriangular.cxx:280: style: The function 'JacobianInverse' is never used
Examples/KellyKapowski.cxx:460: style: The function 'KellyKapowski' is never used
Examples/KellySlater.cxx:1057: style: The function 'KellySlater' is never used
Examples/LabelClustersUniquely.cxx:129: style: The function 'LabelClustersUniquely' is never used
Examples/LabelGeometryMeasures.cxx:117: style: The function 'LabelGeometryMeasures' is never used
Examples/LabelOverlapMeasures.cxx:192: style: The function 'LabelOverlapMeasures' is never used
Examples/LaplacianThickness.cxx:965: style: The function 'LaplacianThickness' is never used
Examples/MeasureImageSimilarity.cxx:302: style: The function 'MeasureImageSimilarity' is never used
Examples/MeasureMinMaxMean.cxx:144: style: The function 'MeasureMinMaxMean' is never used
Examples/MemoryTest.cxx:157: style: The function 'MemoryTest' is never used
Examples/MultiplyImages.cxx:133: style: The function 'MultiplyImages' is never used
Examples/N3BiasFieldCorrection.cxx:194: style: The function 'N3BiasFieldCorrection' is never used
Examples/N4BiasFieldCorrection.cxx:640: style: The function 'N4BiasFieldCorrection' is never used
Examples/PasteImageIntoImage.cxx:138: style: The function 'PasteImageIntoImage' is never used
Examples/PermuteFlipImageOrientationAxes.cxx:141: style: The function 'PermuteFlipImageOrientationAxes' is never used
Examples/ANTS.cxx:30: style: The function 'PrintCommandLineHelp' is never used
Examples/PrintHeader.cxx:332: style: The function 'PrintHeader' is never used
Examples/RebaseTensorImage.cxx:32: style: The function 'RebaseTensorImage' is never used
Examples/ReorientTensorImage.cxx:158: style: The function 'ReorientTensorImage' is never used
Examples/ResampleImage.cxx:303: style: The function 'ResampleImage' is never used
Examples/ResampleImageBySpacing.cxx:34: style: The function 'ResampleImageBySpacing' is never used
Examples/ResetDirection.cxx:86: style: The function 'ResetDirection' is never used
Examples/SetDirectionByMatrix.cxx:104: style: The function 'SetDirectionByMatrix' is never used
Temporary/itkFEMElement3DC0LinearTriangular.cxx:191: style: The function 'ShapeFunctionDerivatives' is never used
Examples/SmoothImage.cxx:97: style: The function 'SmoothImage' is never used
Examples/StackSlices.cxx:40: style: The function 'StackSlices' is never used
Examples/StudentsTestOnImages.cxx:566: style: The function 'StudentsTestOnImages' is never used
Examples/SurfaceBasedSmoothing.cxx:13: style: The function 'SurfaceBasedSmoothing' is never used
Examples/SurfaceCurvature.cxx:52: style: The function 'SurfaceCurvature' is never used
Examples/ImageSetStatistics.cxx:71: style: The function 'TProb' is never used
Examples/TensorDerivedImage.cxx:37: style: The function 'TensorDerivedImage' is never used
Examples/ThresholdImage.cxx:217: style: The function 'ThresholdImage' is never used
Examples/TileImages.cxx:100: style: The function 'TileImages' is never used
Examples/WarpImageMultiTransform.cxx:628: style: The function 'WarpImageMultiTransform' is never used
Examples/WarpTensorImageMultiTransform.cxx:484: style: The function 'WarpTensorImageMultiTransform' is never used
Examples/WarpTimeSeriesImageMultiTransform.cxx:647: style: The function 'WarpTimeSeriesImageMultiTransform' is never used
Examples/WarpVTKPolyDataMultiTransform.cxx:491: style: The function 'WarpVTKPolyDataMultiTransform' is never used
Examples/antsAffineInitializer.cxx:443: style: The function 'antsAffineInitializer' is never used
Examples/antsAlignOrigin.cxx:222: style: The function 'antsAlignOrigin' is never used
Examples/antsApplyTransforms.cxx:682: style: The function 'antsApplyTransforms' is never used
Examples/antsApplyTransformsToPoints.cxx:290: style: The function 'antsApplyTransformsToPoints' is never used
Examples/antsMotionCorr.cxx:1587: style: The function 'antsMotionCorr' is never used
Examples/antsRegistration.cxx:1422: style: The function 'antsRegistration' is never used
Examples/StudentsTestOnImages.cxx:355: style: The function 'betadist' is never used
Examples/StudentsTestOnImages.cxx:200: style: The function 'computePermStatPval' is never used
Examples/StudentsTestOnImages.cxx:161: style: The function 'computeQuantile' is never used
Examples/StudentsTestOnImages.cxx:257: style: The function 'decode_ieee_single' is never used
Examples/itkCommandLineParserTest.cxx:12: style: The function 'itkCommandLineParserTest' is never used
antsRegistrationCLP/antsRegistrationCLP.cxx:3: style: The function 'maint' is never used
Examples/CheckTopology.cxx:50: style: The function 'random_range' is never used
Examples/simpleSynRegistration.cxx:98: style: The function 'simpleSynRegistration' is never used
Examples/ImageMath.cxx:2211: style: The scope of the variable 'SincRadius' can be reduced
Examples/ImageMath.cxx:498: style: The scope of the variable 'clustersize' can be reduced
Temporary/itkManifoldIntegrationAlgorithm.cxx:563: style: The scope of the variable 'cost' can be reduced
Examples/ImageMath.cxx:11571: style: The scope of the variable 'count1' can be reduced
Examples/ImageMath.cxx:11572: style: The scope of the variable 'count2' can be reduced
Temporary/itkFEMConformalMap.cxx:777: style: The scope of the variable 'ct' can be reduced
Temporary/itkFEMConformalMap.cxx:869: style: The scope of the variable 'ct' can be reduced
Examples/sccan.cxx:2104: style: The scope of the variable 'evecgradientpenalty' can be reduced
Examples/sccan.cxx:573: style: The scope of the variable 'filecount' can be reduced
Examples/sccan.cxx:572: style: The scope of the variable 'filenm' can be reduced
Examples/ANTSIntegrateVectorField.cxx:385: style: The scope of the variable 'gradsign' can be reduced
Temporary/itkFEMDiscConformalMap.cxx:782: style: The scope of the variable 'inb' can be reduced
Examples/ImageSetStatistics.cxx:192: style: The scope of the variable 'indct' can be reduced
ImageRegistration/itkANTSImageTransformation.cxx:68: style: The scope of the variable 'is_supported' can be reduced
Examples/sccan.cxx:571: style: The scope of the variable 'lineBuffer' can be reduced
Temporary/itkFEMDiscConformalMap.cxx:1571: style: The scope of the variable 'manifolddist' can be reduced
Examples/ImageMath.cxx:11575: style: The scope of the variable 'matchpt' can be reduced
Examples/ImageMath.cxx:11573: style: The scope of the variable 'maxcorr' can be reduced
Examples/ImageMath.cxx:11574: style: The scope of the variable 'meancorr' can be reduced
Examples/ConformalMapping.cxx:397: style: The scope of the variable 'param' can be reduced
Examples/GetMeshAndTopology.cxx:225: style: The scope of the variable 'param' can be reduced
Examples/sccan.cxx:1985: style: The scope of the variable 'perm_exceed_ct' can be reduced
Examples/sccan.cxx:1425: style: The scope of the variable 'pinvtoler' can be reduced
Examples/StudentsTestOnImages.cxx:234: style: The scope of the variable 'prevPval' can be reduced
Temporary/itkFEMDiscConformalMap.cxx:1572: style: The scope of the variable 'rad' can be reduced
Examples/ConformalMapping.cxx:942: style: The scope of the variable 'refmeshname' can be reduced
Examples/ConformalMapping.cxx:493: style: The scope of the variable 'segct' can be reduced
Examples/ReorientTensorImage.cxx:49: style: The scope of the variable 'set_current_affine_inv' can be reduced
Examples/ImageMath.cxx:11566: style: The scope of the variable 'smallval' can be reduced
ImageRegistration/itkAvantsMutualInformationRegistrationFunction.cxx:502: style: The scope of the variable 'term1' can be reduced
ImageRegistration/itkAvantsMutualInformationRegistrationFunction.cxx:544: style: The scope of the variable 'term1' can be reduced
ImageRegistration/itkAvantsMutualInformationRegistrationFunction.cxx:502: style: The scope of the variable 'term2' can be reduced
ImageRegistration/itkAvantsMutualInformationRegistrationFunction.cxx:544: style: The scope of the variable 'term2' can be reduced
Examples/ANTSIntegrateVectorField.cxx:381: style: The scope of the variable 'timedone' can be reduced
Examples/ImageMath.cxx:11458: style: The scope of the variable 'usesinkhorn' can be reduced
Examples/ANTSIntegrateVectorField.cxx:384: style: The scope of the variable 'vecsign' can be reduced
Examples/ImageMath.cxx:9868: style: The scope of the variable 'voxct' can be reduced
Examples/antsApplyTransforms.cxx:506: style: Throwing a copy of the caught exception instead of rethrowing the original exception.
Temporary/itkFEMConformalMap.cxx:282: style: Unused variable: i
Temporary/itkFEMConformalMap.cxx:282: style: Unused variable: j
Temporary/itkFEMConformalMap.cxx:282: style: Unused variable: k
Examples/sccan.cxx:166: style: Unused variable: myfile
Examples/sccan.cxx:292: style: Unused variable: myfile
Examples/ImageMath.cxx:10482: style: Unused variable: out
Examples/ImageMath.cxx:10565: style: Unused variable: out
Temporary/itkFEMConformalMap.cxx:274: style: Unused variable: posval
Temporary/itkFEMConformalMap.cxx:510: style: Unused variable: posval
Temporary/itkFEMConformalMap.cxx:498: style: Unused variable: rstep
Temporary/itkFEMConformalMap.cxx:274: style: Unused variable: solval
Temporary/itkFEMConformalMap.cxx:510: style: Unused variable: solval
Temporary/itkFEMConformalMap.cxx:498: style: Unused variable: sstep
Temporary/itkFEMConformalMap.cxx:498: style: Unused variable: tstep
Temporary/itkDijkstrasAlgorithm.cxx:37: style: Variable 'InBorder' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:824: style: Variable 'acmag' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:933: style: Variable 'acmag' is assigned a value that is never used
Examples/ConformalMapping.cxx:187: style: Variable 'backgroundValue' is assigned a value that is never used
Examples/ANTSConformalMapping.cxx:405: style: Variable 'boundaryparam' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:131: style: Variable 'boundsz' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:823: style: Variable 'cbmag' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:932: style: Variable 'cbmag' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:835: style: Variable 'cemag' is assigned a value that is never used
Examples/ImageMath.cxx:9040: style: Variable 'cortroimap' is assigned a value that is never used
Examples/antsAffineInitializer.cxx:202: style: Variable 'ctm1' is assigned a value that is never used
Examples/antsAffineInitializer.cxx:206: style: Variable 'ctm2' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:594: style: Variable 'dofsperelt' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:641: style: Variable 'dofsperelt' is assigned a value that is never used
Temporary/itkFEMDiscConformalMap.cxx:1067: style: Variable 'dofsperelt' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:161: style: Variable 'eltok' is assigned a value that is never used
Examples/ImageSetStatistics.cxx:604: style: Variable 'estapp' is assigned a value that is never used
Examples/sccan.cxx:2104: style: Variable 'evecgradientpenalty' is assigned a value that is never used
Examples/SurfaceBasedSmoothing.cxx:78: style: Variable 'ext' is assigned a value that is never used
Examples/antsApplyTransforms.cxx:760: style: Variable 'filename' is assigned a value that is never used
Examples/antsApplyTransformsToPoints.cxx:368: style: Variable 'filename' is assigned a value that is never used
Examples/SmoothImage.cxx:45: style: Variable 'fn1' is assigned a value that is never used
Examples/ImageMath.cxx:1653: style: Variable 'fn2' is assigned a value that is never used
Examples/ImageMath.cxx:266: style: Variable 'fn2' is assigned a value that is never used
Examples/ImageMath.cxx:6163: style: Variable 'fn2' is assigned a value that is never used
Examples/LabelClustersUniquely.cxx:90: style: Variable 'fn2' is assigned a value that is never used
ImageRegistration/itkANTSImageRegistrationOptimizer.cxx:2267: style: Variable 'fnm2' is assigned a value that is never used
Examples/SurfaceBasedSmoothing.cxx:128: style: Variable 'fnname' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:280: style: Variable 'frad' is assigned a value that is never used
Examples/ImageMath.cxx:9118: style: Variable 'imagename' is assigned a value that is never used
Temporary/itkDijkstrasAlgorithm.cxx:190: style: Variable 'inimage' is assigned a value that is never used
Examples/ConformalMapping.cxx:225: style: Variable 'irad' is assigned a value that is never used
Temporary/itkDijkstrasAlgorithm.cxx:176: style: Variable 'j' is assigned a value that is never used
Examples/ImageMath.cxx:491: style: Variable 'keepct' is assigned a value that is never used
Examples/sccan.cxx:478: style: Variable 'listfn' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:837: style: Variable 'mag' is assigned a value that is never used
Examples/sccan.cxx:479: style: Variable 'maskhfn' is assigned a value that is never used
Examples/sccan.cxx:480: style: Variable 'masklfn' is assigned a value that is never used
Examples/ImageMath.cxx:11573: style: Variable 'maxcorr' is assigned a value that is never used
Examples/ImageMath.cxx:753: style: Variable 'mean' is assigned a value that is never used
Examples/ImageMath.cxx:11574: style: Variable 'meancorr' is assigned a value that is never used
Temporary/itkFEMDiscConformalMap.cxx:1547: style: Variable 'meanmanifolddist' is assigned a value that is never used
Examples/MemoryTest.cxx:121: style: Variable 'metricname' is assigned a value that is never used
Examples/MemoryTest.cxx:120: style: Variable 'metricvalue' is assigned a value that is never used
Examples/ComputeSimilarityMetric.cxx:104: style: Variable 'nbins' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:991: style: Variable 'ngfn' is assigned a value that is never used
ImageRegistration/itkANTSImageRegistrationOptimizer.h:1574: style: Variable 'numbade' is assigned a value that is never used
ImageRegistration/itkCrossCorrelationRegistrationFunction.cxx:128: style: Variable 'numpix' is assigned a value that is never used
ImageRegistration/itkProbabilisticRegistrationFunction.cxx:125: style: Variable 'numpix' is assigned a value that is never used
ImageRegistration/itkProbabilisticRegistrationFunction.cxx:610: style: Variable 'numpix' is assigned a value that is never used
Examples/ImageMath.cxx:10161: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:10224: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1077: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1132: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:11467: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1308: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1370: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1429: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1496: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1598: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1650: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1755: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1802: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1900: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:1982: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:205: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:2077: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:2152: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:2217: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:2320: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:2372: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:2415: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:2592: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:264: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:2777: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:2924: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:3052: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:3253: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:3509: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:3810: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:4182: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:426: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:4281: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:5466: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:548: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:6161: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:632: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:677: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:6840: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:6962: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:7113: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:7252: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:7295: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:742: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:7465: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:7534: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:7581: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:7645: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:7861: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:7927: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:810: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:8193: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:8271: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:8608: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:8725: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:8773: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:8875: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:9121: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:953: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:9546: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:9593: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:9665: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:9859: style: Variable 'operation' is assigned a value that is never used
Examples/ImageMath.cxx:9964: style: Variable 'operation' is assigned a value that is never used
Examples/ConvertVectorFieldToVTK.cxx:121: style: Variable 'origin' is assigned a value that is never used
Examples/ANTSIntegrateVectorField.cxx:303: style: Variable 'outname' is assigned a value that is never used
Examples/ImageMath.cxx:1428: style: Variable 'outname' is assigned a value that is never used
Examples/ImageMath.cxx:204: style: Variable 'outname' is assigned a value that is never used
Examples/ImageMath.cxx:7533: style: Variable 'outname' is assigned a value that is never used
Examples/MultiplyImages.cxx:62: style: Variable 'outname' is assigned a value that is never used
Examples/sccan.cxx:1526: style: Variable 'permcorr' is assigned a value that is never used
Examples/ImageMath.cxx:8214: style: Variable 'poserr' is assigned a value that is never used
Examples/StudentsTestOnImages.cxx:234: style: Variable 'prevPval' is assigned a value that is never used
Temporary/itkFEMConformalMap.cxx:156: style: Variable 'rate' is assigned a value that is never used
Examples/ImageSetStatistics.cxx:812: style: Variable 'simfilenames' is assigned a value that is never used
Examples/antsAffineInitializer.cxx:402: style: Variable 'small_step' is assigned a value that is never used
Examples/antsMotionCorr.cxx:891: style: Variable 'small_step' is assigned a value that is never used
Examples/StudentsTestOnImages.cxx:558: style: Variable 'soutname' is assigned a value that is never used
Examples/ConvertVectorFieldToVTK.cxx:122: style: Variable 'spacing' is assigned a value that is never used
Examples/ImageMath.cxx:8365: style: Variable 'surfct' is assigned a value that is never used
Examples/ImageMath.cxx:8365: style: Variable 'surfdist' is assigned a value that is never used
Examples/sccan.cxx:1477: style: Variable 'truecorr' is assigned a value that is never used
Examples/ANTSJacobian.cxx:276: style: Variable 'volumeelt' is assigned a value that is never used
Examples/ImageMath.cxx:9092: style: Variable 'wmroimap' is assigned a value that is never used
ImageRegistration/ANTS_affine_registration2.h:53: warning: Member variable 'OptAffine::metric_type' is not initialized in the constructor.
Examples/itkantsRegistrationHelper.h:238: warning: Member variable 'TransformMethod::m_VelocityFieldVarianceInVarianceSpace' is not initialized in the constructor.
Examples/ANTS.cxx:121: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTS.cxx:122: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSConformalMapping.cxx:481: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSConformalMapping.cxx:482: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSIntegrateVectorField.cxx:425: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSIntegrateVectorField.cxx:426: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSIntegrateVelocityField.cxx:132: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSIntegrateVelocityField.cxx:133: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSJacobian.cxx:570: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSJacobian.cxx:571: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSUseDeformationFieldToGetAffineTransform.cxx:427: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSUseDeformationFieldToGetAffineTransform.cxx:428: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSUseLandmarkImagesToGetAffineTransform.cxx:413: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSUseLandmarkImagesToGetAffineTransform.cxx:414: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSUseLandmarkImagesToGetBSplineDisplacementField.cxx:518: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ANTSUseLandmarkImagesToGetBSplineDisplacementField.cxx:519: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/Atropos.cxx:1528: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/Atropos.cxx:1529: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/AtroposMin.cxx:310: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/AtroposMin.cxx:311: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/AverageAffineTransform.cxx:235: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/AverageAffineTransform.cxx:236: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/AverageAffineTransformNoRigid.cxx:235: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/AverageAffineTransformNoRigid.cxx:236: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/AverageImages.cxx:261: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/AverageImages.cxx:262: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/AverageTensorImages.cxx:97: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/AverageTensorImages.cxx:98: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/CheckTopology.cxx:274: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/CheckTopology.cxx:275: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ClusterImageStatistics.cxx:309: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ClusterImageStatistics.cxx:310: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ComposeMultiTransform.cxx:294: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ComposeMultiTransform.cxx:295: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/CompositeTransformUtil.cxx:178: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/CompositeTransformUtil.cxx:179: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ComputeSimilarityMetric.cxx:225: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ComputeSimilarityMetric.cxx:226: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ConformalMapping.cxx:887: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ConformalMapping.cxx:888: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ConvertImagePixelType.cxx:104: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ConvertImagePixelType.cxx:105: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ConvertScalarImageToRGB.cxx:305: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ConvertScalarImageToRGB.cxx:306: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ConvertToJpg.cxx:104: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ConvertToJpg.cxx:105: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ConvertTransformFile.cxx:462: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ConvertVectorFieldToVTK.cxx:44: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/CopyImageHeaderInformation.cxx:142: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/CreateDTICohort.cxx:1065: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/CreateDisplacementField.cxx:145: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/CreateImage.cxx:302: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/CreateJacobianDeterminantImage.cxx:176: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/CreateWarpedGridImage.cxx:192: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ExtractRegionFromImage.cxx:142: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ExtractRegionFromImageByMask.cxx:168: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ExtractSliceFromImage.cxx:62: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/GetMeshAndTopology.cxx:317: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ImageCompare.cxx:34: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ImageMath.cxx:11756: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ImageSetStatistics.cxx:995: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/KellyKapowski.cxx:468: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/KellySlater.cxx:1065: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/LabelClustersUniquely.cxx:137: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/LabelGeometryMeasures.cxx:125: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/LabelOverlapMeasures.cxx:200: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/LaplacianThickness.cxx:973: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/MeasureImageSimilarity.cxx:312: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/MeasureMinMaxMean.cxx:152: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/MemoryTest.cxx:165: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/MultiplyImages.cxx:141: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/N3BiasFieldCorrection.cxx:202: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/N4BiasFieldCorrection.cxx:648: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/PasteImageIntoImage.cxx:146: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/PermuteFlipImageOrientationAxes.cxx:149: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/PrintHeader.cxx:340: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/RebaseTensorImage.cxx:40: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ReorientTensorImage.cxx:166: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ResampleImage.cxx:311: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ResampleImageBySpacing.cxx:37: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ResetDirection.cxx:94: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/SetDirectionByMatrix.cxx:112: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/SetOrigin.cxx:102: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/SetSpacing.cxx:104: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/SmoothImage.cxx:105: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/StackSlices.cxx:48: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/StudentsTestOnImages.cxx:574: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/SurfaceBasedSmoothing.cxx:21: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/SurfaceCurvature.cxx:60: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/TensorDerivedImage.cxx:45: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ThresholdImage.cxx:225: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/TileImages.cxx:108: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/WarpImageMultiTransform.cxx:636: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/WarpTensorImageMultiTransform.cxx:492: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/WarpTimeSeriesImageMultiTransform.cxx:655: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/WarpVTKPolyDataMultiTransform.cxx:499: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/antsAffineInitializer.cxx:451: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/antsAlignOrigin.cxx:229: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/antsAlignOrigin.cxx:230: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/antsApplyTransforms.cxx:689: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/antsApplyTransforms.cxx:690: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/antsApplyTransformsToPoints.cxx:297: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/antsApplyTransformsToPoints.cxx:298: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/antsMotionCorr.cxx:1594: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/antsRegistration.cxx:1431: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/antsRegistration.cxx:1432: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/itkCommandLineParserTest.cxx:20: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/sccan.cxx:2543: warning: Return value of std::remove() ignored. Elements remain in container.
Examples/ImageSetStatistics.cxx:714: warning: scanf without field width limits can crash with huge input data.
Examples/ImageSetStatistics.cxx:743: warning: scanf without field width limits can crash with huge input data.
Examples/ImageSetStatistics.cxx:784: warning: scanf without field width limits can crash with huge input data.
Examples/ImageSetStatistics.cxx:825: warning: scanf without field width limits can crash with huge input data.
Examples/sccan.cxx:1051: warning: scanf without field width limits can crash with huge input data.
Examples/sccan.cxx:1075: warning: scanf without field width limits can crash with huge input data.
Examples/sccan.cxx:584: warning: scanf without field width limits can crash with huge input data.
STYLE: Removed end of line spaces.
BUG: reverting sccan to pre cppcheck version. dont have time to discover why the merged caused the UI to fail ... maybe later.
Minor changes to sccan
changes to sccan
COMP: Fixed const correctness for new ITK

A missing const correctness was found in ITKv4
that needed to be done.
ENH: Masking added to TensorColor
Merge pull request #11 from stnava/UpdateITKConstCorrectness

COMP: Fixed const correctness for new ITK

This patch set allows building ANTs in a future compatible mode that also enforces more complete and strict const correctness.
ENH: add UseLongitudinalFormulation option