Skip to content
Snippets Groups Projects
Commit 4d74539a authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

FA 00005 : lecture image Envi Multi bande

parent f1ef4a34
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
IF( NOT OTB_DISABLE_CXX_TESTING )
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Images)
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Fa)
SET(INPUTDATA ${OTB_DATA_ROOT}/Input)
SET(TEMP ${OTBTesting_BINARY_DIR}/Temporary)
#Images de teledetection (grosses images )
......@@ -21,12 +21,22 @@ SET(IO_TESTS ${CXX_TEST_PATH}/otbIOTests)
# --- FA 00005 ENVI (GDAL) image multi-canal ---
ADD_TEST(FA-00005-io_EnviMultiBande ${COMMON_TESTS}
--compare-binary ${BASELINE}/FA-00005-io_EnviMultiBande_GomaBestScale_w15_50_100_120_150_200.c1
${TEMP}/FA-00005-io_EnviMultiBande_GomaBestScale_w15_50_100_120_150_200.c1
otbMultiChannelExtractROI
-double ${INPUTDATA}/GomaBestScale_w15_50.raw
-double ${TEMP}/FA-00005-io_EnviMultiBande_GomaBestScale_w15_50_100_120_150_200.hd
-startX 100 -startY 150 -sizeX 150 -sizeY 200
-channels 1 2 3)
ADD_TEST(FA-00005-io_EnviMultiBande_RW ${IO_TESTS}
otbVectorImageFileReaderWriterTest
${INPUTDATA}/GomaBestScale_w15_50.raw
${TEMP}/FA-00005-io_EnviMultiBande_GomaBestScale_w15.hd
)
# --- FA 00006 ENVI (GDAL) Conversion Type de pixel ---
ADD_TEST(FA-00006-io_Poupees_OCT_UChar2Double ${COMMON_TESTS}
# --compare-image ${TOL} ${BASELINE}/ioMultiMonoChannelROI_ENVI2PNG_poupees_1canal_302_2_134_330.png
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment