diff --git a/Applications/ChangeDetection/CMakeLists.txt b/Applications/ChangeDetection/CMakeLists.txt index a5d8e3b67e7cbed8f51066c6d1163182dea78732..4dad6fb812abadf121119654c7c702d509561ffc 100644 --- a/Applications/ChangeDetection/CMakeLists.txt +++ b/Applications/ChangeDetection/CMakeLists.txt @@ -3,9 +3,3 @@ OTB_CREATE_APPLICATION(NAME MultivariateAlterationDetector SOURCES otbMultivariateAlterationDetector.cxx LINK_LIBRARIES OTBIO;OTBCommon;OTBBasicFilters) - -OTB_CREATE_APPLICATION(NAME MaximumAutocorrelationFactor - SOURCES otbMaximumAutocorrelationFactor.cxx - LINK_LIBRARIES OTBIO;OTBCommon;OTBBasicFilters) - - diff --git a/Applications/DimensionnalityReduction/CMakeLists.txt b/Applications/DimensionnalityReduction/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..f09c91b4a6ac5529a3ef8b2436aed04fda244f1f --- /dev/null +++ b/Applications/DimensionnalityReduction/CMakeLists.txt @@ -0,0 +1,6 @@ + +OTB_CREATE_APPLICATION(NAME MaximumAutocorrelationFactor + SOURCES otbMaximumAutocorrelationFactor.cxx + LINK_LIBRARIES OTBIO;OTBCommon;OTBBasicFilters) + + diff --git a/Applications/ChangeDetection/otbMaximumAutocorrelationFactor.cxx b/Applications/DimensionnalityReduction/otbMaximumAutocorrelationFactor.cxx similarity index 100% rename from Applications/ChangeDetection/otbMaximumAutocorrelationFactor.cxx rename to Applications/DimensionnalityReduction/otbMaximumAutocorrelationFactor.cxx diff --git a/Testing/Applications/ChangeDetection/CMakeLists.txt b/Testing/Applications/ChangeDetection/CMakeLists.txt index f32e6708b28ed808f66880ee38502a8e0bce660a..49ffca9cefdf018a94feb7e2ba83dd2efc249aa2 100644 --- a/Testing/Applications/ChangeDetection/CMakeLists.txt +++ b/Testing/Applications/ChangeDetection/CMakeLists.txt @@ -14,16 +14,3 @@ add_test(NAME apTvChMultivariateAlterationDetector --out ${TEMP}/apTvChMultivariateAlterationDetectorSameNbBands.tif ) -#--- MaximumAutocorrelationFactor ---# - -add_test(NAME apTvChMaximumAutocorrelationFactor - COMMAND otbTestDriver - --compare-image 0.025 - ${BASELINE}/bfTvMaximumAutocorrelationFactorImageFilterOutput.tif - ${TEMP}/apTvChMaximumAutocorrelationFactor.tif - Execute $<TARGET_FILE:otbApplicationLauncherCommandLine> - MaximumAutocorrelationFactor - $<TARGET_FILE_DIR:otbapp_MaximumAutocorrelationFactor> - --in ${INPUTDATA}/cupriteSubHsi.tif - --out ${TEMP}/apTvChMaximumAutocorrelationFactor.tif ) - diff --git a/Testing/Applications/DimensionnalityReduction/CMakeLists.txt b/Testing/Applications/DimensionnalityReduction/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..feff312de5cb89feec235bf011c7f0468766265d --- /dev/null +++ b/Testing/Applications/DimensionnalityReduction/CMakeLists.txt @@ -0,0 +1,14 @@ + +#--- MaximumAutocorrelationFactor ---# + +add_test(NAME apTvChMaximumAutocorrelationFactor + COMMAND otbTestDriver + --compare-image 0.025 + ${BASELINE}/bfTvMaximumAutocorrelationFactorImageFilterOutput.tif + ${TEMP}/apTvChMaximumAutocorrelationFactor.tif + Execute $<TARGET_FILE:otbApplicationLauncherCommandLine> + MaximumAutocorrelationFactor + $<TARGET_FILE_DIR:otbapp_MaximumAutocorrelationFactor> + --in ${INPUTDATA}/cupriteSubHsi.tif + --out ${TEMP}/apTvChMaximumAutocorrelationFactor.tif ) +