diff --git a/Modules/Core/ImageBase/test/CMakeLists.txt b/Modules/Core/ImageBase/test/CMakeLists.txt index e9f92a752cf60e295fb158442577b5631ec01301..9fac553ba0833bc4c11ac16db9dcab4a0f5b5ab6 100644 --- a/Modules/Core/ImageBase/test/CMakeLists.txt +++ b/Modules/Core/ImageBase/test/CMakeLists.txt @@ -135,7 +135,7 @@ otb_add_test(NAME coTvMultiChannelROI_5c_BSQ COMMAND otbImageBaseTestDriver --compare-image ${NOTOL} ${BASELINE}/coMultiChannelExtractROI_RGB_ENVI_poupees_303_2_134_330_channels_12321.tif ${TEMP}/coMultiChannelExtractROI_RGB_ENVI_poupees_303_2_134_330_channels_12321.tif otbMultiChannelExtractROI - ${INPUTDATA}/poupees.hdr + ${INPUTDATA}/poupees.raw.hdr ${TEMP}/coMultiChannelExtractROI_RGB_ENVI_poupees_303_2_134_330_channels_12321.tif -startX 303 -startY 2 -sizeX 134 -sizeY 330 -channels 1 2 3 2 1 ) @@ -443,7 +443,7 @@ otb_add_test(NAME ioTvMultiChannelROI_ENVI2PNG_2 COMMAND otbImageBaseTestDriver # --compare-image ${EPSILON_9} ${BASELINE}/ioExtractROI_ENVI2PNG_poupees_100_100_77_300_channels_1_2_3.png # ${TEMP}/ioExtractROI_ENVI2PNG_poupees_100_100_77_300_channels_1_2_3.png otbMultiChannelExtractROI - -uchar ${INPUTDATA}/poupees.hdr + -uchar ${INPUTDATA}/poupees.raw.hdr -uchar ${TEMP}/ioExtractROI_ENVI2PNG_poupees_100_100_77_300_channels_1_2_3.png -startX 100 -startY 100 -sizeX 77 -sizeY 300 -channels 1 2 3 ) diff --git a/Modules/Core/PointSet/test/CMakeLists.txt b/Modules/Core/PointSet/test/CMakeLists.txt index a33d5ad76ebdb93c74107143943223f1c6493f3f..29dbbc9eda32a1894821739fd56513b15119bb51 100644 --- a/Modules/Core/PointSet/test/CMakeLists.txt +++ b/Modules/Core/PointSet/test/CMakeLists.txt @@ -60,7 +60,7 @@ otb_add_test(NAME feTvThresholdImageToPointSet1 COMMAND otbPointSetTestDriver --compare-ascii ${EPSILON_3} ${BASELINE_FILES}/feThresholdImageToPointSet_Threshold_0To255.txt ${TEMP}/feThresholdImageToPointSet_Threshold_0To255.txt otbThresholdImageToPointSetTest - ${INPUTDATA}/small_points.hdr + ${INPUTDATA}/small_points.raw.hdr ${TEMP}/feThresholdImageToPointSet_Threshold_0To255.txt 0 255 ) @@ -68,7 +68,7 @@ otb_add_test(NAME feTvThresholdImageToPointSet2 COMMAND otbPointSetTestDriver --compare-ascii ${EPSILON_3} ${BASELINE_FILES}/feThresholdImageToPointSet_Threshold_0To0.txt ${TEMP}/feThresholdImageToPointSet_Threshold_0To0.txt otbThresholdImageToPointSetTest - ${INPUTDATA}/small_points.hdr + ${INPUTDATA}/small_points.raw.hdr ${TEMP}/feThresholdImageToPointSet_Threshold_0To0.txt 0 0 ) @@ -76,7 +76,7 @@ otb_add_test(NAME feTvThresholdImageToPointSet3 COMMAND otbPointSetTestDriver --compare-ascii ${EPSILON_3} ${BASELINE_FILES}/feThresholdImageToPointSet_Threshold_255To255.txt ${TEMP}/feThresholdImageToPointSet_Threshold_255To255.txt otbThresholdImageToPointSetTest - ${INPUTDATA}/small_points.hdr + ${INPUTDATA}/small_points.raw.hdr ${TEMP}/feThresholdImageToPointSet_Threshold_255To255.txt 255 255 ) @@ -84,7 +84,6 @@ otb_add_test(NAME feTvThresholdImageToPointSet4 COMMAND otbPointSetTestDriver --compare-ascii ${EPSILON_3} ${BASELINE_FILES}/feThresholdImageToPointSet_Threshold_1To200.txt ${TEMP}/feThresholdImageToPointSet_Threshold_1To200.txt otbThresholdImageToPointSetTest - ${INPUTDATA}/small_points.hdr + ${INPUTDATA}/small_points.raw.hdr ${TEMP}/feThresholdImageToPointSet_Threshold_1To200.txt 1 200 ) - diff --git a/Modules/Core/Transform/test/CMakeLists.txt b/Modules/Core/Transform/test/CMakeLists.txt index 63830dc153619bd6ab94dbba8d9862cb35c43ee5..ac9dd0cbb7016adfc4db8b0bd7433e1a071e6b67 100644 --- a/Modules/Core/Transform/test/CMakeLists.txt +++ b/Modules/Core/Transform/test/CMakeLists.txt @@ -95,7 +95,7 @@ otb_add_test(NAME bfTvLogPolarTransformResample COMMAND otbTransformTestDriver --compare-image ${EPSILON_7} ${BASELINE}/bfLogPolarTransformResampleOutput.tif ${TEMP}/bfLogPolarTransformResampleOutput.tif otbLogPolarTransformResample - ${INPUTDATA}/circle.hdr + ${INPUTDATA}/circle.raw.hdr ${TEMP}/bfLogPolarTransformResampleOutput.tif ) diff --git a/Modules/Detection/RoadExtraction/test/CMakeLists.txt b/Modules/Detection/RoadExtraction/test/CMakeLists.txt index 9750b26f1751e3fa9fdc9b72d5d1633571f222bb..1b9707aa243dce38c28a3cf6eaa83d1ae78a9e31 100644 --- a/Modules/Detection/RoadExtraction/test/CMakeLists.txt +++ b/Modules/Detection/RoadExtraction/test/CMakeLists.txt @@ -50,7 +50,7 @@ otb_add_test(NAME feTvLikelihoodPathListFilter COMMAND otbRoadExtractionTestDriv ${BASELINE_FILES}/feTvLikelihoodPathOutput.txt ${TEMP}/feTvLikelihoodPathOutput.txt otbLikelihoodPathListFilter - ${INPUTDATA}/InputForRoadDetection_NonMaxRem.hdr + ${INPUTDATA}/InputForRoadDetection_NonMaxRem.raw.hdr ${TEMP}/feTvLikelihoodPathOutput.txt 157 335 204 376 | 21 305 35 308 77 354 85 358 | @@ -62,8 +62,8 @@ otb_add_test(NAME feTvRemoveWrongDirectionFilter COMMAND otbRoadExtractionTestDr ${BASELINE}/feTvRemoveWrongDirectionOutput.tif ${TEMP}/feTvRemoveWrongDirectionOutput.tif otbRemoveWrongDirectionFilter - ${INPUTDATA}/InputForRoadDetection_IsolatedRem.hdr - ${INPUTDATA}/InputForRoadDetectionScalarProductDir.hdr + ${INPUTDATA}/InputForRoadDetection_IsolatedRem.raw.hdr + ${INPUTDATA}/InputForRoadDetectionScalarProductDir.raw.hdr ${TEMP}/feTvRemoveWrongDirectionOutput.tif ) @@ -84,7 +84,7 @@ otb_add_test(NAME feTvAlignMV2ITK COMMAND otbRoadExtractionTestDriver --compare-ascii ${EPSILON_3} ${BASELINE_FILES}/feAlign.txt ${TEMP}/feAlign.txt otbAlignImageToPath - ${INPUTDATA}/poupees.hdr + ${INPUTDATA}/poupees.raw.hdr ${TEMP}/feAlign.txt) otb_add_test(NAME feTvNonMaxRemovalByDirectionFilter COMMAND otbRoadExtractionTestDriver @@ -92,8 +92,8 @@ otb_add_test(NAME feTvNonMaxRemovalByDirectionFilter COMMAND otbRoadExtractionTe ${BASELINE}/feTvNonMaxRemovalByDirectionOutput.tif ${TEMP}/feTvNonMaxRemovalByDirectionOutput.tif otbNonMaxRemovalByDirectionFilter - ${INPUTDATA}/InputForRoadDetection_WrongRem.hdr - ${INPUTDATA}/InputForRoadDetectionScalarProductDir.hdr + ${INPUTDATA}/InputForRoadDetection_WrongRem.raw.hdr + ${INPUTDATA}/InputForRoadDetectionScalarProductDir.raw.hdr ${TEMP}/feTvNonMaxRemovalByDirectionOutput.tif ) @@ -102,7 +102,7 @@ otb_add_test(NAME feTvRoadExtractionFilter COMMAND otbRoadExtractionTestDriver ${BASELINE}/feTvOutputRoadDetection.tif ${TEMP}/feTvOutputRoadDetection.tif otbRoadExtractionFilter - ${INPUTDATA}/qb_RoadExtract.img.hdr + ${INPUTDATA}/qb_RoadExtract.img.raw.hdr ${TEMP}/feTvOutputRoadDetection.tif 337 557 432 859 # ReferencePixel 1.0 # Alpha @@ -157,8 +157,8 @@ otb_add_test(NAME feTvRemoveIsolatedByDirectionFilter COMMAND otbRoadExtractionT ${BASELINE}/feTvRemoveIsolatedByDirectionOutput.tif ${TEMP}/feTvRemoveIsolatedByDirectionOutput.tif otbRemoveIsolatedByDirectionFilter - ${INPUTDATA}/InputForRoadDetectionScalarProductMod.hdr - ${INPUTDATA}/InputForRoadDetectionScalarProductDir.hdr + ${INPUTDATA}/InputForRoadDetectionScalarProductMod.raw.hdr + ${INPUTDATA}/InputForRoadDetectionScalarProductDir.raw.hdr ${TEMP}/feTvRemoveIsolatedByDirectionOutput.tif ) @@ -188,7 +188,7 @@ otb_add_test(NAME feTvNeighborhoodScalarProductFilter COMMAND otbRoadExtractionT ${BASELINE}/feTvNeighborhoodScalarProductDirectionOutput.tif ${TEMP}/feTvNeighborhoodScalarProductDirectionOutput.tif otbNeighborhoodScalarProductFilter - ${INPUTDATA}/InputForRoadDetection_SpectralAngle.hdr + ${INPUTDATA}/InputForRoadDetection_SpectralAngle.raw.hdr ${TEMP}/feTvNeighborhoodScalarProductModulusOutput.tif ${TEMP}/feTvNeighborhoodScalarProductDirectionOutput.tif 1.0 diff --git a/Modules/Feature/Corner/test/CMakeLists.txt b/Modules/Feature/Corner/test/CMakeLists.txt index 2f5164667457ec3d3b1b4e8dba533183a123a7f7..3e203c0f8145da40e27a886897ab1c537aac8ae6 100644 --- a/Modules/Feature/Corner/test/CMakeLists.txt +++ b/Modules/Feature/Corner/test/CMakeLists.txt @@ -80,7 +80,7 @@ otb_add_test(NAME feTvHarrisPoupee COMMAND otbCornerTestDriver otb_add_test(NAME feTvHarrisProduceImageToValidHarrisToPointSet COMMAND otbCornerTestDriver otbHarrisImage - ${INPUTDATA}/small_points.hdr + ${INPUTDATA}/small_points.raw.hdr ${TEMP}/small_points_harris.tif 1.0 1.0 1.0) @@ -96,7 +96,7 @@ otb_add_test(NAME feTvHarrisToPointSet2 COMMAND otbCornerTestDriver --compare-ascii ${EPSILON_3} ${BASELINE_FILES}/feHarrisToPointSet_Threshold_20To90.txt ${TEMP}/feHarrisToPointSet_Threshold_20To90.txt otbHarrisToPointSet - ${INPUTDATA}/small_points.hdr + ${INPUTDATA}/small_points.raw.hdr ${TEMP}/feHarrisToPointSet_Threshold_20To90.txt 1.0 1.0 1.0 20 90) @@ -104,7 +104,7 @@ otb_add_test(NAME feTvHarrisToPointSet3 COMMAND otbCornerTestDriver --compare-ascii ${EPSILON_3} ${BASELINE_FILES}/feHarrisToPointSet_Threshold_100To160.txt ${TEMP}/feHarrisToPointSet_Threshold_100To160.txt otbHarrisToPointSet - ${INPUTDATA}/small_points.hdr + ${INPUTDATA}/small_points.raw.hdr ${TEMP}/feHarrisToPointSet_Threshold_100To160.txt 1.0 1.0 1.0 100 160) @@ -112,7 +112,6 @@ otb_add_test(NAME feTvHarrisToPointSet1 COMMAND otbCornerTestDriver --compare-ascii ${EPSILON_3} ${BASELINE_FILES}/feHarrisToPointSet_Threshold_2To255.txt ${TEMP}/feHarrisToPointSet_Threshold_2To255.txt otbHarrisToPointSet - ${INPUTDATA}/small_points.hdr + ${INPUTDATA}/small_points.raw.hdr ${TEMP}/feHarrisToPointSet_Threshold_2To255.txt 1.0 1.0 1.0 2.0 255.0) - diff --git a/Modules/Feature/Descriptors/test/CMakeLists.txt b/Modules/Feature/Descriptors/test/CMakeLists.txt index 0fe85ecd942620afc349c8150998d3dc3f4b3cc2..3db89e4a428de65e9ee429c2b4cbbf71273a17df 100644 --- a/Modules/Feature/Descriptors/test/CMakeLists.txt +++ b/Modules/Feature/Descriptors/test/CMakeLists.txt @@ -54,7 +54,7 @@ otb_add_test(NAME feTvForwardFourierMellinImageFilter COMMAND otbDescriptorsTest ${BASELINE}/feForwardFourierMellinImageFilterImag.tif ${TEMP}/feForwardFourierMellinImageFilterImag.tif otbFourierMellinImageFilter - ${INPUTDATA}/circle.hdr + ${INPUTDATA}/circle.raw.hdr ${TEMP}/feForwardFourierMellinImageFilterReal.tif ${TEMP}/feForwardFourierMellinImageFilterImag.tif) diff --git a/Modules/Feature/Edge/test/CMakeLists.txt b/Modules/Feature/Edge/test/CMakeLists.txt index 8f7e5afcb026139362b080f06f7645a299c03e1c..687442cbfefdfdabffaa329e34f29029d1cb5a25 100644 --- a/Modules/Feature/Edge/test/CMakeLists.txt +++ b/Modules/Feature/Edge/test/CMakeLists.txt @@ -246,7 +246,7 @@ otb_add_test(NAME feTvLineRatioLinearAmsters1 COMMAND otbEdgeTestDriver ${BASELINE}/feFiltreLineRatioLinear_amst_dir_ers1_ima_extrait.tif ${TEMP}/feFiltreLineRatioLinear_amst_dir_ers1_ima_extrait.tif otbLineRatioDetectorLinear - ${INPUTDATA}/amst_ers1.ima.extrait.419_187_70_66.hdr + ${INPUTDATA}/amst_ers1.ima.extrait.419_187_70_66.raw.hdr ${TEMP}/feFiltreLineRatioLinear_amst_ers1_ima_extrait.tif ${TEMP}/feFiltreLineRatioLinear_amst_dir_ers1_ima_extrait.tif 1 2) diff --git a/Modules/Filtering/ImageManipulation/test/CMakeLists.txt b/Modules/Filtering/ImageManipulation/test/CMakeLists.txt index b2d6fa66d71cb7a2fc86c45f1f957e7c8230526d..e8317ea3781b71aeff5124c768480cea1b8efd5c 100644 --- a/Modules/Filtering/ImageManipulation/test/CMakeLists.txt +++ b/Modules/Filtering/ImageManipulation/test/CMakeLists.txt @@ -101,7 +101,7 @@ otb_add_test(NAME coTvImageToVectorImageCastFilter COMMAND otbImageManipulationT ${BASELINE}/coImageToVectorImageCastFilterOutput.tif ${TEMP}/coImageToVectorImageCastFilterOutput.tif otbImageToVectorImageCastFilter - ${INPUTDATA}/poupees.hdr + ${INPUTDATA}/poupees.raw.hdr ${TEMP}/coImageToVectorImageCastFilterOutput.tif ) diff --git a/Modules/Filtering/Path/test/CMakeLists.txt b/Modules/Filtering/Path/test/CMakeLists.txt index c3ed1dead7a097e22e5701b7d435d5052c7e231d..699c24a3ca0a9e7761c463280b97dc4e468282da 100644 --- a/Modules/Filtering/Path/test/CMakeLists.txt +++ b/Modules/Filtering/Path/test/CMakeLists.txt @@ -170,8 +170,8 @@ otb_add_test(NAME feTvVectorizationPathListFilterImageOutput COMMAND otbPathTest ${BASELINE}/feTvVectorizationPathListOutput.png ${TEMP}/feTvVectorizationPathListOutput.png otbVectorizationPathListFilter - ${INPUTDATA}/InputForRoadDetection_NonMaxRem.hdr - ${INPUTDATA}/InputForRoadDetectionScalarProductDir.hdr + ${INPUTDATA}/InputForRoadDetection_NonMaxRem.raw.hdr + ${INPUTDATA}/InputForRoadDetectionScalarProductDir.raw.hdr ${TEMP}/feTvVectorizationPathListOutputIgnored.txt ${TEMP}/feTvVectorizationPathListOutput.png 0.0001 @@ -182,8 +182,8 @@ otb_add_test(NAME feTvVectorizationPathListFilterAsciiOutput COMMAND otbPathTest ${BASELINE_FILES}/feTvVectorizationPathListOutput.txt ${TEMP}/feTvVectorizationPathListOutput.txt otbVectorizationPathListFilter - ${INPUTDATA}/InputForRoadDetection_NonMaxRem.hdr - ${INPUTDATA}/InputForRoadDetectionScalarProductDir.hdr + ${INPUTDATA}/InputForRoadDetection_NonMaxRem.raw.hdr + ${INPUTDATA}/InputForRoadDetectionScalarProductDir.raw.hdr ${TEMP}/feTvVectorizationPathListOutput.txt ${TEMP}/feTvVectorizationPathListOutputIgnored.png 0.0005 @@ -207,4 +207,3 @@ otb_add_test(NAME coTvPolyLineImageIterator COMMAND otbPathTestDriver 512 512 20 ${TEMP}/coTvPolyLineImageIterator.png ) - diff --git a/Modules/IO/ImageIO/test/CMakeLists.txt b/Modules/IO/ImageIO/test/CMakeLists.txt index 2c8fae0a3ac83454a514eaf65ba637a0c1a4b97f..c31024f53f410c7be44b7570a3e8a92c5abfb7d0 100644 --- a/Modules/IO/ImageIO/test/CMakeLists.txt +++ b/Modules/IO/ImageIO/test/CMakeLists.txt @@ -124,7 +124,7 @@ otb_add_test(NAME ioTvImageFileReaderShortRGB_BSQ2HDR COMMAND otbImageIOTestDriv otb_add_test(NAME ioTvImageFileReaderShortHDR2BSQ COMMAND otbImageIOTestDriver --compare-image ${EPSILON_9} ${INPUTDATA}/poupees_I2.hd - ${TEMP}/ioImageFileReaderI2_HDR2BSQ.hd + ${TEMP}/ioImageFileReaderI2_HDR2BSQ.raw.hd otbShortRGBImageIOTest ${TEMP}/ioImageFileReaderI2_BSQ2HDR.hdr ${TEMP}/ioImageFileReaderI2_HDR2BSQ.hd ) @@ -582,7 +582,7 @@ otb_add_test(NAME ioTvVectorImageComplexFloatTest COMMAND otbImageIOTestDriver otb_add_test(NAME ioTvVectorImageComplexIntoRealFloatTest COMMAND otbImageIOTestDriver otbVectorImageComplexIntoRealFloatTest - ${INPUTDATA}/multibandComplexFloat_2bands.hdr + ${INPUTDATA}/multibandComplexFloat_2bands.raw.hdr ) otb_add_test(NAME ioTvImageComplexFloatTest COMMAND otbImageIOTestDriver diff --git a/Modules/Wrappers/ApplicationEngine/test/CMakeLists.txt b/Modules/Wrappers/ApplicationEngine/test/CMakeLists.txt index f1095d67229291c10b02b3541ad0dd3d4342dc39..c3782838b033f3fa4697a1d8efc2e958da92edab 100644 --- a/Modules/Wrappers/ApplicationEngine/test/CMakeLists.txt +++ b/Modules/Wrappers/ApplicationEngine/test/CMakeLists.txt @@ -87,7 +87,7 @@ otb_add_test(NAME owTvParameterKey COMMAND otbApplicationEngineTestDriver otb_add_test(NAME owTvInputImageListParameter COMMAND otbApplicationEngineTestDriver otbWrapperInputImageListParameterTest1 - ${INPUTDATA}/poupees_c1.hdr + ${INPUTDATA}/poupees_c1.raw.hdr ${INPUTDATA}/poupees.tif "mykey" "my description"