Commit 2ca77478 authored by Guillaume Borrut's avatar Guillaume Borrut
Browse files

ENH. Adding an example for the Polarimetric Synthesis Filterm example named "PI over 4"

parent 109cf171
......@@ -12,7 +12,7 @@ SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/SARPolarimetry)
SET(INPUTDATA ${OTB_SOURCE_DIR}/Examples/Data)
SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
SET(EXE_TESTS ${CXX_TEST_PATH}/otbSARPolarimetryExamplesTests)
SET(SARPOLARIMETRY_TESTS1 ${CXX_TEST_PATH}/otbSARPolarimetryExamplesTests)
#Tolerance sur diff pixel image
SET(TOL 0.0)
......@@ -23,14 +23,14 @@ SET(EPSILON 0.000000000001)
# Tutorial example . pi / 4
ADD_TEST(rdTvPiOver4ExamplePolarimetricSynthesisFilterTest ${SARPOLARIMETRY_TESTS1}
# --compare-image ${EPSILON}
# ${BASELINE}/ARVIMultiChannelRAndBAndNIRVegetationIndex.tif
# ${TEMP}/ARVIMultiChannelRAndBAndNIRVegetationIndex.tif
PiOver4ExamplePolarimetricSynthesisFilterTest
--compare-image ${EPSILON}
${BASELINE}/refPiOver4PolarimetricSynthesis.tif
${TEMP}/resPiOver4PolarimetricSynthesis.tif
PiOver4ExamplePolarimetricSynthesisFilter
${INPUTDATA}/RSAT_imagery_HH.tif
${INPUTDATA}/RSAT_imagery_HV.tif
${INPUTDATA}/RSAT_imagery_VH.tif
${INPUTDATA}/RSAT_imagery_VV.tif
${INPUTDATA}/RSAT_imagery_VH.tif
${INPUTDATA}/RSAT_imagery_VV.tif
${TEMP}/resPiOver4PolarimetricSynthesis.tif
)
......
......@@ -41,8 +41,7 @@
int main( int argc, char* argv[] )
{
if(argc!=5)
if(argc!=6)
{
std::cout << argv[0]
<<" <input_filename_HH_channel>"
......
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