1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
|
itk_module_test()
set(ITKLevelSetsTests
itkThresholdSegmentationLevelSetImageFilterTest.cxx
itkVectorThresholdSegmentationLevelSetImageFilterTest.cxx
itkAnisotropicFourthOrderLevelSetImageFilterTest.cxx
itkReinitializeLevelSetImageFilterTest.cxx
itkLevelSetVelocityNeighborhoodExtractorTest.cxx
itkIsotropicFourthOrderLevelSetImageFilterTest.cxx
itkGeodesicActiveContourLevelSetImageFilterTest.cxx
itkGeodesicActiveContourShapePriorLevelSetImageFilterTest_2.cxx
itkParallelSparseFieldLevelSetImageFilterTest.cxx
itkShapeDetectionLevelSetImageFilterTest.cxx
itkNarrowBandThresholdSegmentationLevelSetImageFilterTest.cxx
itkNarrowBandCurvesLevelSetImageFilterTest.cxx
itkCollidingFrontsImageFilterTest.cxx
itkGeodesicActiveContourShapePriorLevelSetImageFilterTest.cxx
itkLevelSetFunctionTest.cxx
itkExtensionVelocitiesImageFilterTest.cxx
itkCannySegmentationLevelSetImageFilterTest.cxx
itkLevelSetNeighborhoodExtractorTest.cxx
itkShapePriorMAPCostFunctionTest.cxx
itkImplicitManifoldNormalVectorFilterTest.cxx
itkSparseFieldFourthOrderLevelSetImageFilterTest.cxx
itkLaplacianSegmentationLevelSetImageFilterTest.cxx
itkShapePriorSegmentationLevelSetFunctionTest.cxx
itkGeodesicActiveContourLevelSetImageFilterZeroSigmaTest.cxx
itkUnsharpMaskLevelSetImageFilterTest.cxx
itkCurvesLevelSetImageFilterTest.cxx
itkCurvesLevelSetImageFilterZeroSigmaTest.cxx
)
CreateTestDriver(ITKLevelSets "${ITKLevelSets-Test_LIBRARIES}" "${ITKLevelSetsTests}")
itk_add_test(NAME itkThresholdSegmentationLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkThresholdSegmentationLevelSetImageFilterTest)
itk_add_test(NAME itkVectorThresholdSegmentationLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver
--compare DATA{${ITK_DATA_ROOT}/Baseline/Algorithms/VectorThresholdSegmentationLevelSetImageFilterTest.png,:}
${ITK_TEST_OUTPUT_DIR}/VectorThresholdSegmentationLevelSetImageFilterTest.png
--compareNumberOfPixelsTolerance 55
itkVectorThresholdSegmentationLevelSetImageFilterTest DATA{${ITK_DATA_ROOT}/Input/VisibleWomanEyeSliceInitialLevelSet.png} DATA{${ITK_DATA_ROOT}/Input/VisibleWomanEyeSlice.png} ${ITK_TEST_OUTPUT_DIR}/VectorThresholdSegmentationLevelSetImageFilterTest.png 5.0 50)
itk_add_test(NAME itkAnisotropicFourthOrderLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkAnisotropicFourthOrderLevelSetImageFilterTest)
itk_add_test(NAME itkReinitializeLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkReinitializeLevelSetImageFilterTest)
itk_add_test(NAME itkLevelSetVelocityNeighborhoodExtractorTest
COMMAND ITKLevelSetsTestDriver itkLevelSetVelocityNeighborhoodExtractorTest)
itk_add_test(NAME itkIsotropicFourthOrderLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkIsotropicFourthOrderLevelSetImageFilterTest)
itk_add_test(NAME itkGeodesicActiveContourLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkGeodesicActiveContourLevelSetImageFilterTest)
itk_add_test(NAME itkGeodesicActiveContourShapePriorLevelSetImageFilterTest_2
COMMAND ITKLevelSetsTestDriver itkGeodesicActiveContourShapePriorLevelSetImageFilterTest_2)
itk_add_test(NAME itkParallelSparseFieldLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver
--compare DATA{${ITK_DATA_ROOT}/Baseline/BasicFilters/ParallelSparseFieldLevelSetImageFilterTest.mha}
${ITK_TEST_OUTPUT_DIR}/ParallelSparseFieldLevelSetImageFilterTest.mha
itkParallelSparseFieldLevelSetImageFilterTest ${ITK_TEST_OUTPUT_DIR}/ParallelSparseFieldLevelSetImageFilterTest.mha)
itk_add_test(NAME itkShapeDetectionLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkShapeDetectionLevelSetImageFilterTest)
itk_add_test(NAME itkNarrowBandThresholdSegmentationLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkNarrowBandThresholdSegmentationLevelSetImageFilterTest)
itk_add_test(NAME itkNarrowBandCurvesLevelSetImageFilterTest1
COMMAND ITKLevelSetsTestDriver
--compare DATA{${ITK_DATA_ROOT}/Baseline/Algorithms/itkNarrowBandCurvesLevelSetImageFilterTest.png}
${ITK_TEST_OUTPUT_DIR}/itkNarrowBandCurvesLevelSetImageFilterTest.png
itkNarrowBandCurvesLevelSetImageFilterTest ${ITK_TEST_OUTPUT_DIR}/itkNarrowBandCurvesLevelSetImageFilterTest.png)
itk_add_test(NAME itkCollidingFrontsImageFilterTest
COMMAND ITKLevelSetsTestDriver itkCollidingFrontsImageFilterTest)
itk_add_test(NAME itkGeodesicActiveContourShapePriorLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkGeodesicActiveContourShapePriorLevelSetImageFilterTest)
itk_add_test(NAME itkLevelSetFunctionTest
COMMAND ITKLevelSetsTestDriver itkLevelSetFunctionTest)
itk_add_test(NAME itkExtensionVelocitiesImageFilterTest
COMMAND ITKLevelSetsTestDriver itkExtensionVelocitiesImageFilterTest)
itk_add_test(NAME itkCannySegmentationLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkCannySegmentationLevelSetImageFilterTest)
itk_add_test(NAME itkLevelSetNeighborhoodExtractorTest
COMMAND ITKLevelSetsTestDriver itkLevelSetNeighborhoodExtractorTest)
itk_add_test(NAME itkShapePriorMAPCostFunctionTest
COMMAND ITKLevelSetsTestDriver itkShapePriorMAPCostFunctionTest)
itk_add_test(NAME itkImplicitManifoldNormalVectorFilterTest
COMMAND ITKLevelSetsTestDriver itkImplicitManifoldNormalVectorFilterTest)
itk_add_test(NAME itkSparseFieldFourthOrderLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkSparseFieldFourthOrderLevelSetImageFilterTest)
itk_add_test(NAME itkLaplacianSegmentationLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkLaplacianSegmentationLevelSetImageFilterTest)
itk_add_test(NAME itkShapePriorSegmentationLevelSetFunctionTest
COMMAND ITKLevelSetsTestDriver itkShapePriorSegmentationLevelSetFunctionTest)
itk_add_test(NAME itkGeodesicActiveContourLevelSetImageFilterZeroSigmaTest
COMMAND ITKLevelSetsTestDriver itkGeodesicActiveContourLevelSetImageFilterZeroSigmaTest)
itk_add_test(NAME itkUnsharpMaskLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkUnsharpMaskLevelSetImageFilterTest)
itk_add_test(NAME itkCurvesLevelSetImageFilterTest
COMMAND ITKLevelSetsTestDriver itkCurvesLevelSetImageFilterTest)
itk_add_test(NAME itkCurvesLevelSetImageFilterZeroSigmaTest
COMMAND ITKLevelSetsTestDriver itkCurvesLevelSetImageFilterZeroSigmaTest)
|