diff --git a/Modules/Applications/AppHyperspectral/test/CMakeLists.txt b/Modules/Applications/AppHyperspectral/test/CMakeLists.txt index 0e5e3892ca1b43c5eec61c393bd38f83b5304d2a..ef42f9c4dee0c930ab8e5cf9c7a7ab329d99d729 100644 --- a/Modules/Applications/AppHyperspectral/test/CMakeLists.txt +++ b/Modules/Applications/AppHyperspectral/test/CMakeLists.txt @@ -53,3 +53,24 @@ otb_test_application(NAME apTvHyVertexComponentAnalysis ${TEMP}/apTvHyVertexComponentAnalysis.tif ) +#----------- EndmemberNumberEstimation TESTS ---------------- +otb_test_application(NAME apTvHyEndmemberNumberEstimation_vd + APP EndmemberNumberEstimation + OPTIONS -in ${OTB_DATA_ROOT}/Input/Hyperspectral/synthetic/hsi_cube.tif + -algo vd + -algo.vd.far 0.001 + TESTENVOPTIONS ${TEMP}/aptTvHyEndmemberNumberEstimation_vd.txt + VALID --compare-ascii ${EPSILON_7} + ${BASELINE_FILES}/aptTvHyEndmemberNumberEstimation.txt + ${TEMP}/aptTvHyEndmemberNumberEstimation_vd.txt +) + +otb_test_application(NAME apTvHyEndmemberNumberEstimation_elm + APP EndmemberNumberEstimation + OPTIONS -in ${OTB_DATA_ROOT}/Input/Hyperspectral/synthetic/hsi_cube.tif + -algo elm + TESTENVOPTIONS ${TEMP}/aptTvHyEndmemberNumberEstimation_elm.txt + VALID --compare-ascii ${EPSILON_7} + ${BASELINE_FILES}/aptTvHyEndmemberNumberEstimation.txt + ${TEMP}/aptTvHyEndmemberNumberEstimation_elm.txt +) \ No newline at end of file