Commit 8e16f48a authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: move BandMath to dedicated module

parent e65610c8
......@@ -66,10 +66,6 @@ otb_create_application(
SOURCES otbDEMConvert.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES})
otb_create_application(
NAME BandMath
SOURCES otbBandMath.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES})
otb_create_application(
NAME ConcatenateImages
......
......@@ -10,7 +10,6 @@ otb_module(OTBAppImageUtils
OTBITK
OTBImageBase
OTBImageManipulation
OTBMathParser
OTBMathParserX
OTBOSSIMAdapters
OTBObjectList
......
......@@ -189,17 +189,6 @@ otb_test_application(NAME apTvUtQuicklookSpot5
#----------- DEMConvert TESTS ----------------
#----------- BandMath TESTS ----------------
otb_test_application(NAME apTvUtBandMath
APP BandMath
OPTIONS -il ${INPUTDATA}/poupees_sub_c1.png
${INPUTDATA}/poupees_sub_c2.png
${INPUTDATA}/poupees_sub.png
-out ${TEMP}/apTvUtBandMathOutput.tif
-exp "cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3,im3b4)"
VALID --compare-image ${NOTOL}
${INPUTDATA}/apTvUtBandMathOutput.tif
${TEMP}/apTvUtBandMathOutput.tif)
#----------- ConcatenateImages TESTS ----------------
......
project(OTBAppMathParser)
otb_module_impl()
set(OTBAppMathParser_LINK_LIBS
${OTBApplicationEngine_LIBRARIES}
${OTBImageBase_LIBRARIES}
${OTBMathParser_LIBRARIES}
${OTBObjectList_LIBRARIES}
)
otb_create_application(
NAME BandMath
SOURCES otbBandMath.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES})
set(DOCUMENTATION "TODO")
otb_module(OTBAppMathParser
DEPENDS
OTBApplicationEngine
OTBImageBase
OTBMathParser
OTBObjectList
DESCRIPTION
"${DOCUMENTATION}"
)
otb_module_test()
#----------- BandMath TESTS ----------------
otb_test_application(NAME apTvUtBandMath
APP BandMath
OPTIONS -il ${INPUTDATA}/poupees_sub_c1.png
${INPUTDATA}/poupees_sub_c2.png
${INPUTDATA}/poupees_sub.png
-out ${TEMP}/apTvUtBandMathOutput.tif
-exp "cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3,im3b4)"
VALID --compare-image ${NOTOL}
${INPUTDATA}/apTvUtBandMathOutput.tif
${TEMP}/apTvUtBandMathOutput.tif)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment