All the BCD tests are fixed now

Test project /Volumes/scratch/aghayoor/release/BRAINSTools-build
      Start 69: BRAINSConstellationDetectorTest_acLowerBound
      Start 94: landmarksConstellationWeightsTest
      Start 74: BRAINSConstellationDetectorTest_mspLevel
      Start 73: BRAINSConstellationDetectorTest_interpolationMode
 1/95 Test #69: BRAINSConstellationDetectorTest_acLowerBound ........................   Passed  461.79 sec
      Start 85: BRAINSConstellationDetectorTest_T1_outputVolume
 2/95 Test #73: BRAINSConstellationDetectorTest_interpolationMode ...................   Passed  478.47 sec
      Start 87: BRAINSConstellationDetectorTest_writeBranded2DImage
 3/95 Test #74: BRAINSConstellationDetectorTest_mspLevel ............................   Passed  501.12 sec
      Start 72: BRAINSConstellationDetectorTest_cutOutHeadInOutputVolume
 4/95 Test #85: BRAINSConstellationDetectorTest_T1_outputVolume .....................   Passed  449.37 sec
      Start 75: BRAINSConstellationDetectorTest_otsuThreshold
 5/95 Test #72: BRAINSConstellationDetectorTest_cutOutHeadInOutputVolume ............   Passed  448.52 sec
      Start 76: BRAINSConstellationDetectorTest_outputUntransformedClippedVolume
 6/95 Test #87: BRAINSConstellationDetectorTest_writeBranded2DImage .................   Passed  492.20 sec
      Start 78: BRAINSConstellationDetectorTest_rescaleIntensity
 7/95 Test #75: BRAINSConstellationDetectorTest_otsuThreshold .......................   Passed  453.17 sec
      Start 79: BRAINSConstellationDetectorTest_rescaleIntensityRange
 8/95 Test #76: BRAINSConstellationDetectorTest_outputUntransformedClippedVolume ....   Passed  440.95 sec
      Start 84: BRAINSConstellationDetectorTest_T1_outputResampledVolume
 9/95 Test #78: BRAINSConstellationDetectorTest_rescaleIntensity ....................   Passed  441.13 sec
      Start 82: BRAINSConstellationDetectorTest_rVN4
10/95 Test #79: BRAINSConstellationDetectorTest_rescaleIntensityRange ...............   Passed  444.48 sec
      Start 77: BRAINSConstellationDetectorTest_rac
11/95 Test #94: landmarksConstellationWeightsTest ...................................   Passed  1834.13 sec
      Start 81: BRAINSConstellationDetectorTest_rpc
12/95 Test #84: BRAINSConstellationDetectorTest_T1_outputResampledVolume ............   Passed  445.98 sec
      Start 86: BRAINSConstellationDetectorTest_trimRescaledIntensities
13/95 Test #82: BRAINSConstellationDetectorTest_rVN4 ................................   Passed  445.44 sec
      Start 80: BRAINSConstellationDetectorTest_rmpj
14/95 Test #77: BRAINSConstellationDetectorTest_rac .................................   Passed  436.00 sec
      Start 83: BRAINSConstellationDetectorTest_rVN4-rpc-rac-rmpj
15/95 Test #81: BRAINSConstellationDetectorTest_rpc .................................   Passed  431.18 sec
      Start 89: BRAINSConstellationDetectorTestForLandmarkCompare
16/95 Test #86: BRAINSConstellationDetectorTest_trimRescaledIntensities .............   Passed  434.50 sec
      Start 71: BRAINSConstellationDetectorTest_cutOutHeadInOutputResampledVolume
17/95 Test #80: BRAINSConstellationDetectorTest_rmpj ................................   Passed  419.47 sec
      Start 70: BRAINSConstellationDetectorTest_backgroundValue
18/95 Test #83: BRAINSConstellationDetectorTest_rVN4-rpc-rac-rmpj ...................   Passed  421.46 sec
      Start 23: TEST_SurfaceMultiResRegistration1
19/95 Test #89: BRAINSConstellationDetectorTestForLandmarkCompare ...................   Passed  442.02 sec
      Start 88: BRAINSConstellationDetectorTest_inputLandmarksEMSP
20/95 Test #71: BRAINSConstellationDetectorTest_cutOutHeadInOutputResampledVolume ...   Passed  445.96 sec
      Start 49: TEST_SurfaceLabelCleanUp
21/95 Test #70: BRAINSConstellationDetectorTest_backgroundValue .....................   Passed  446.28 sec
      Start 58: BRAINSEyeDetectorTest_T1
22/95 Test #58: BRAINSEyeDetectorTest_T1 ............................................   Passed   87.45 sec
      Start 60: BRAINSConstellationDetectorTest_forceHoughReportFailure
23/95 Test #49: TEST_SurfaceLabelCleanUp ............................................   Passed  123.34 sec
      Start 59: BRAINSAlignMSPTest_T1
24/95 Test #60: BRAINSConstellationDetectorTest_forceHoughReportFailure .............   Passed   62.64 sec
      Start 15: TEST_BRAINSSurfaceGeneration
25/95 Test #59: BRAINSAlignMSPTest_T1 ...............................................   Passed   55.87 sec
      Start 27: TEST_SurfaceAverageScalarsByResampling
26/95 Test #15: TEST_BRAINSSurfaceGeneration ........................................   Passed   26.69 sec
      Start 51: TEST_SurfaceWarpQuadEdgeMesh
27/95 Test #27: TEST_SurfaceAverageScalarsByResampling ..............................   Passed   16.31 sec
      Start  4: ValidateBRAINSResampleTest6_nii
28/95 Test #51: TEST_SurfaceWarpQuadEdgeMesh ........................................   Passed   13.79 sec
      Start 53: TEST_SurfaceProbabilityLabels
29/95 Test #53: TEST_SurfaceProbabilityLabels .......................................   Passed    2.54 sec
      Start 54: COMPARE_SurfaceProbabilityLabels
30/95 Test  #4: ValidateBRAINSResampleTest6_nii .....................................   Passed    6.53 sec
      Start 57: TEST_SurfaceQuadEdgeMeshSimilarity
31/95 Test #54: COMPARE_SurfaceProbabilityLabels ....................................   Passed    6.51 sec
32/95 Test #57: TEST_SurfaceQuadEdgeMeshSimilarity ..................................   Passed    5.00 sec
      Start 43: TEST_SurfaceColor
      Start 63: BRAINSTrimForegroundInDirectionTest_T1
33/95 Test #43: TEST_SurfaceColor ...................................................   Passed    4.27 sec
34/95 Test #63: BRAINSTrimForegroundInDirectionTest_T1 ..............................   Passed    4.35 sec
      Start 29: TEST_SurfaceCombineLabels
      Start 45: TEST_SurfaceRemoveTinyLabels
35/95 Test #29: TEST_SurfaceCombineLabels ...........................................   Passed    1.80 sec
36/95 Test #45: TEST_SurfaceRemoveTinyLabels ........................................   Passed    1.89 sec
      Start 30: COMPARE_SurfaceCombineLabels
      Start 46: COMPARE_SurfaceRemoveTinyLabels
37/95 Test #46: COMPARE_SurfaceRemoveTinyLabels .....................................   Passed    2.93 sec
38/95 Test #30: COMPARE_SurfaceCombineLabels ........................................   Passed    3.04 sec
      Start 47: TEST_RearrangeSurfaceLabels
      Start 44: COMPARE_SurfaceColor
39/95 Test #47: TEST_RearrangeSurfaceLabels .........................................   Passed    1.80 sec
      Start 48: COMPARE_RearrangeSurfaceLabels
40/95 Test #44: COMPARE_SurfaceColor ................................................   Passed    2.90 sec
      Start 50: COMPARE_SurfaceLabelCleanUp
41/95 Test #48: COMPARE_RearrangeSurfaceLabels ......................................   Passed    2.54 sec
      Start 11: TEST_BRAINSSurfaceFlattening0
42/95 Test #50: COMPARE_SurfaceLabelCleanUp .........................................   Passed    2.45 sec
      Start 13: TEST_BRAINSSurfaceFlattening1
43/95 Test #11: TEST_BRAINSSurfaceFlattening0 .......................................   Passed    1.83 sec
      Start  8: ValidateBRAINSResampleTest3_nii
44/95 Test #13: TEST_BRAINSSurfaceFlattening1 .......................................   Passed    2.12 sec
      Start  3: ValidateBRAINSResampleTest5_nii
45/95 Test  #8: ValidateBRAINSResampleTest3_nii .....................................   Passed    1.72 sec
      Start  5: ValidateBRAINSResampleTest7_nii
46/95 Test  #3: ValidateBRAINSResampleTest5_nii .....................................   Passed    1.62 sec
47/95 Test  #5: ValidateBRAINSResampleTest7_nii .....................................   Passed    1.39 sec
      Start 17: TEST_BRAINSApplySurfaceLabels
      Start 28: COMPARE_SurfaceAverageScalarsByResampling
48/95 Test #23: TEST_SurfaceMultiResRegistration1 ...................................   Passed  276.00 sec
      Start 52: COMPARE_SurfaceWarpQuadEdgeMesh
49/95 Test #52: COMPARE_SurfaceWarpQuadEdgeMesh .....................................   Passed    0.84 sec
50/95 Test #28: COMPARE_SurfaceAverageScalarsByResampling ...........................   Passed    1.35 sec
      Start 39: TEST_SurfaceIcosahedronResampler1
      Start  9: TEST_BRAINSAssignSurfaceFeatures
51/95 Test #17: TEST_BRAINSApplySurfaceLabels .......................................   Passed    1.50 sec
      Start  7: ValidateBRAINSResampleTest2_nii
52/95 Test #39: TEST_SurfaceIcosahedronResampler1 ...................................   Passed    1.05 sec
      Start 19: TEST_BRAINSMeasureSurface0
53/95 Test #19: TEST_BRAINSMeasureSurface0 ..........................................   Passed    0.32 sec
      Start 24: COMPARE_SurfaceMultiResRegistration1
54/95 Test  #9: TEST_BRAINSAssignSurfaceFeatures ....................................   Passed    1.39 sec
      Start  2: ValidateBRAINSResampleTest4_nii
55/95 Test  #7: ValidateBRAINSResampleTest2_nii .....................................   Passed    1.48 sec
      Start 33: TEST_SurfaceHistogramMatching
56/95 Test  #2: ValidateBRAINSResampleTest4_nii .....................................   Passed    0.33 sec
57/95 Test #24: COMPARE_SurfaceMultiResRegistration1 ................................   Passed    0.87 sec
      Start 25: TEST_SurfaceAssignArray
      Start 66: landmarksConstellationAlignerTest
58/95 Test #33: TEST_SurfaceHistogramMatching .......................................   Passed    0.77 sec
      Start 10: COMPARE_BRAINSAssignSurfaceFeatures
59/95 Test #10: COMPARE_BRAINSAssignSurfaceFeatures .................................   Passed    0.14 sec
60/95 Test #25: TEST_SurfaceAssignArray .............................................   Passed    1.04 sec
      Start 31: TEST_SurfaceClampScalars
      Start 40: TEST_SurfaceIcosahedronResampler2
61/95 Test #66: landmarksConstellationAlignerTest ...................................   Passed    1.46 sec
62/95 Test #31: TEST_SurfaceClampScalars ............................................   Passed    0.54 sec
63/95 Test #40: TEST_SurfaceIcosahedronResampler2 ...................................   Passed    0.52 sec
      Start 37: TEST_SurfaceSmoothingMeshScalars
      Start  6: ValidateBRAINSResampleTest1_nii
      Start 55: TEST_SurfaceResampleQuadEdgeMesh
64/95 Test  #6: ValidateBRAINSResampleTest1_nii .....................................   Passed    0.44 sec
65/95 Test #37: TEST_SurfaceSmoothingMeshScalars ....................................   Passed    0.56 sec
66/95 Test #55: TEST_SurfaceResampleQuadEdgeMesh ....................................   Passed    0.61 sec
      Start  1: PrettyPrintTableTest
      Start 35: TEST_SurfacePiecewiseRescale
      Start 91: BRAINSConstellationDetectorTest_outputLandmarksInInputSpace
67/95 Test  #1: PrettyPrintTableTest ................................................   Passed    0.24 sec
68/95 Test #91: BRAINSConstellationDetectorTest_outputLandmarksInInputSpace .........   Passed    0.22 sec
      Start 90: BRAINSConstellationDetectorTest_outputLandmarksInACPCAlignedSpace
      Start 93: BRAINSConstellationDetectorTest_LandmarksPaired
69/95 Test #35: TEST_SurfacePiecewiseRescale ........................................   Passed    0.34 sec
70/95 Test #90: BRAINSConstellationDetectorTest_outputLandmarksInACPCAlignedSpace ...   Passed    0.11 sec
71/95 Test #93: BRAINSConstellationDetectorTest_LandmarksPaired .....................   Passed    0.10 sec
      Start 32: COMPARE_SurfaceClampScalars
      Start 61: BRAINSConstellationDetectorTest_inputVolumeError
      Start 56: COMPARE_SurfaceResampleQuadEdgeMesh
72/95 Test #61: BRAINSConstellationDetectorTest_inputVolumeError ....................   Passed    0.11 sec
73/95 Test #32: COMPARE_SurfaceClampScalars .........................................   Passed    0.11 sec
74/95 Test #56: COMPARE_SurfaceResampleQuadEdgeMesh .................................   Passed    0.13 sec
      Start 26: COMPARE_SurfaceAssignArray
      Start 41: COMPARE_SurfaceIcosahedronResampler1
      Start 38: COMPARE_SurfaceSmoothingMeshScalars
75/95 Test #26: COMPARE_SurfaceAssignArray ..........................................   Passed    0.11 sec
76/95 Test #38: COMPARE_SurfaceSmoothingMeshScalars .................................   Passed    0.14 sec
77/95 Test #41: COMPARE_SurfaceIcosahedronResampler1 ................................   Passed    0.15 sec
      Start 34: COMPARE_SurfaceHistogramMatching
      Start 36: COMPARE_SurfacePiecewiseRescale
      Start 62: BRAINSConstellationDetectorTest_LLSModelError
78/95 Test #34: COMPARE_SurfaceHistogramMatching ....................................   Passed    0.21 sec
79/95 Test #36: COMPARE_SurfacePiecewiseRescale .....................................   Passed    0.21 sec
80/95 Test #62: BRAINSConstellationDetectorTest_LLSModelError .......................   Passed    0.20 sec
      Start 68: BCD_HELP_TEST
      Start 14: COMPARE_BRAINSSurfaceFlattening1
      Start 22: TEST_BRAINSMeasureSurface3
81/95 Test #14: COMPARE_BRAINSSurfaceFlattening1 ....................................   Passed    0.11 sec
82/95 Test #68: BCD_HELP_TEST .......................................................   Passed    0.11 sec
83/95 Test #22: TEST_BRAINSMeasureSurface3 ..........................................   Passed    0.11 sec
      Start 18: COMPARE_BRAINSApplySurfaceLabels
      Start 16: COMPARE_BRAINSSurfaceGeneration
      Start 21: TEST_BRAINSMeasureSurface2
84/95 Test #18: COMPARE_BRAINSApplySurfaceLabels ....................................   Passed    0.17 sec
85/95 Test #21: TEST_BRAINSMeasureSurface2 ..........................................   Passed    0.15 sec
86/95 Test #16: COMPARE_BRAINSSurfaceGeneration .....................................   Passed    0.17 sec
      Start 20: TEST_BRAINSMeasureSurface1
      Start 42: COMPARE_SurfaceIcosahedronResampler2
      Start 12: COMPARE_BRAINSSurfaceFlattening0
87/95 Test #42: COMPARE_SurfaceIcosahedronResampler2 ................................   Passed    0.13 sec
88/95 Test #12: COMPARE_BRAINSSurfaceFlattening0 ....................................   Passed    0.11 sec
89/95 Test #20: TEST_BRAINSMeasureSurface1 ..........................................   Passed    0.13 sec
      Start 92: BRAINSConstellationDetectorTest_outputLandmarkWeights
      Start 67: landmarksAlignerCompareTest
      Start 64: insertMidACPCpointTest
90/95 Test #67: landmarksAlignerCompareTest .........................................   Passed    0.12 sec
91/95 Test #92: BRAINSConstellationDetectorTest_outputLandmarkWeights ...............   Passed    0.12 sec
      Start 95: landmarksWeightsCompareTest
92/95 Test #95: landmarksWeightsCompareTest .........................................   Passed    0.11 sec
93/95 Test #64: insertMidACPCpointTest ..............................................   Passed    0.42 sec
      Start 65: MidACPCpointCompareTest
94/95 Test #65: MidACPCpointCompareTest .............................................   Passed    0.10 sec
95/95 Test #88: BRAINSConstellationDetectorTest_inputLandmarksEMSP ..................   Passed  277.29 sec

100% tests passed, 0 tests failed out of 95

Total Test time (real) = 2984.98 sec