From 7d7b3b06ed5e52baa43f7c5830c8d5726e6cb2b0 Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Thu, 3 Nov 2011 19:26:15 +0100 Subject: [PATCH] ENH: move MaximumAutocorrelationFactor to DimensionnalityReduction --- Applications/ChangeDetection/CMakeLists.txt | 6 ------ .../DimensionnalityReduction/CMakeLists.txt | 6 ++++++ .../otbMaximumAutocorrelationFactor.cxx | 0 .../Applications/ChangeDetection/CMakeLists.txt | 13 ------------- .../DimensionnalityReduction/CMakeLists.txt | 14 ++++++++++++++ 5 files changed, 20 insertions(+), 19 deletions(-) create mode 100644 Applications/DimensionnalityReduction/CMakeLists.txt rename Applications/{ChangeDetection => DimensionnalityReduction}/otbMaximumAutocorrelationFactor.cxx (100%) create mode 100644 Testing/Applications/DimensionnalityReduction/CMakeLists.txt diff --git a/Applications/ChangeDetection/CMakeLists.txt b/Applications/ChangeDetection/CMakeLists.txt index a5d8e3b67e..4dad6fb812 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 0000000000..f09c91b4a6 --- /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 f32e6708b2..49ffca9cef 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 0000000000..feff312de5 --- /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 ) + -- GitLab