Commit 7ebec2bd authored by Emmanuel Christophe's avatar Emmanuel Christophe

STYLE: CMakeLists.txt

parent 620769f2
......@@ -118,7 +118,7 @@ SET(CXX_TEST_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
FIND_PACKAGE(OSGeo4W)
# Put GDAL first, since on Windows, include dirs for other libs (curl, expat, mapnik) contain gdal 1.5 includes
INCLUDE(ImportGdal)
INCLUDE(ImportGdal)
INCLUDE(ImportLibLAS) # depends on ImportGdal
INCLUDE(ImportExpat)
INCLUDE(ImportITK)
......
......@@ -43,35 +43,35 @@ SET(NOTOL 0.0)
# ------- LeeImageFilterTest----------
ADD_TEST(bfTeLeeImageFilterTest ${EXE_TESTS}
--compare-n-images ${NOTOL} 1
${BASELINE}/GomaSmallLeeFiltered.png
${TEMP}/GomaSmallLeeFiltered.png
LeeImageFilterTest
${INPUTDATA}/GomaSmall.png
${TEMP}/GomaSmallLeeFiltered.png
--compare-n-images ${NOTOL} 1
${BASELINE}/GomaSmallLeeFiltered.png
${TEMP}/GomaSmallLeeFiltered.png
LeeImageFilterTest
${INPUTDATA}/GomaSmall.png
${TEMP}/GomaSmallLeeFiltered.png
3 1
)
# ------- FrostImageFilterTest----------
ADD_TEST(bfTeFrostImageFilterTest ${EXE_TESTS}
--compare-n-images ${NOTOL} 1
${BASELINE}/GomaSmallFrostFiltered.png
${TEMP}/GomaSmallFrostFiltered.png
FrostImageFilterTest
${INPUTDATA}/GomaSmall.png
${TEMP}/GomaSmallFrostFiltered.png
--compare-n-images ${NOTOL} 1
${BASELINE}/GomaSmallFrostFiltered.png
${TEMP}/GomaSmallFrostFiltered.png
FrostImageFilterTest
${INPUTDATA}/GomaSmall.png
${TEMP}/GomaSmallFrostFiltered.png
5 0.1
)
# ------- DEMToRainbowExampleTest ----------
ADD_TEST(bfTeDEMToRainbowExampleTest ${EXE_TESTS}
--compare-n-images ${NOTOL} 1
${BASELINE}/DEMToRainbowImageGenerator.png
${TEMP}/DEMToRainbowImageGenerator.png
DEMToRainbowExampleTest
${TEMP}/DEMToRainbowImageGenerator.png
--compare-n-images ${NOTOL} 1
${BASELINE}/DEMToRainbowImageGenerator.png
${TEMP}/DEMToRainbowImageGenerator.png
DEMToRainbowExampleTest
${TEMP}/DEMToRainbowImageGenerator.png
6.5 45.5 500 500 0.002 -0.002 ${OTB_DATA_ROOT}/Examples/DEM_srtm
)
......@@ -79,69 +79,69 @@ ADD_TEST(bfTeDEMToRainbowExampleTest ${EXE_TESTS}
# ------- ScalingFilterExampleTest ----------
ADD_TEST(bfTeScalingFilterExampleTest ${EXE_TESTS}
--compare-n-images ${NOTOL} 2
${BASELINE}/QB_Toulouse_Ortho_PAN_rescaled.png
${TEMP}/QB_Toulouse_Ortho_PAN_rescaled.png
${BASELINE}/QB_Toulouse_Ortho_PAN_casted.png
${TEMP}/QB_Toulouse_Ortho_PAN_casted.png
ScalingFilterExampleTest
${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif
${TEMP}/QB_Toulouse_Ortho_PAN_rescaled.png
${TEMP}/QB_Toulouse_Ortho_PAN_casted.png
--compare-n-images ${NOTOL} 2
${BASELINE}/QB_Toulouse_Ortho_PAN_rescaled.png
${TEMP}/QB_Toulouse_Ortho_PAN_rescaled.png
${BASELINE}/QB_Toulouse_Ortho_PAN_casted.png
${TEMP}/QB_Toulouse_Ortho_PAN_casted.png
ScalingFilterExampleTest
${INPUTDATA}/QB_Toulouse_Ortho_PAN.tif
${TEMP}/QB_Toulouse_Ortho_PAN_rescaled.png
${TEMP}/QB_Toulouse_Ortho_PAN_casted.png
)
# ------- PrintableImageFilterTest----------
ADD_TEST(bfTePrintableImageFilterExample1Test ${EXE_TESTS}
--compare-n-images ${NOTOL} 1
${BASELINE}/PrintableExampleOutput1.png
${TEMP}/PrintableExampleOutput1.png
PrintableImageFilterExample1Test
${INPUTDATA}/IMAGERY_SSECH.tif
${TEMP}/PrintableExampleOutput1.png
--compare-n-images ${NOTOL} 1
${BASELINE}/PrintableExampleOutput1.png
${TEMP}/PrintableExampleOutput1.png
PrintableImageFilterExample1Test
${INPUTDATA}/IMAGERY_SSECH.tif
${TEMP}/PrintableExampleOutput1.png
1 2 3
)
ADD_TEST(bfTePrintableImageFilteExample2rTest ${EXE_TESTS}
--compare-n-images ${NOTOL} 1
${BASELINE}/PrintableExampleOutput2.png
${TEMP}/PrintableExampleOutput2.png
PrintableImageFilterExample2Test
${INPUTDATA}/IMAGERY_SSECH.tif
${TEMP}/PrintableExampleOutput2.png
--compare-n-images ${NOTOL} 1
${BASELINE}/PrintableExampleOutput2.png
${TEMP}/PrintableExampleOutput2.png
PrintableImageFilterExample2Test
${INPUTDATA}/IMAGERY_SSECH.tif
${TEMP}/PrintableExampleOutput2.png
1 4 2
)
# ------- IndexedToRGBExampleTest----------
ADD_TEST(bfTeIndexedToRGBExampleTest ${EXE_TESTS}
--compare-n-images ${NOTOL} 2
${BASELINE}/buildingExtractionRGB.png
${TEMP}/buildingExtractionRGB.png
${BASELINE}/buildingExtractionIndexed_scaled.png
${TEMP}/buildingExtractionIndexed_scaled.png
IndexedToRGBExampleTest
${INPUTDATA}/buildingExtractionIndexed.tif
${TEMP}/buildingExtractionRGB.png
${TEMP}/buildingExtractionIndexed_scaled.png
--compare-n-images ${NOTOL} 2
${BASELINE}/buildingExtractionRGB.png
${TEMP}/buildingExtractionRGB.png
${BASELINE}/buildingExtractionIndexed_scaled.png
${TEMP}/buildingExtractionIndexed_scaled.png
IndexedToRGBExampleTest
${INPUTDATA}/buildingExtractionIndexed.tif
${TEMP}/buildingExtractionRGB.png
${TEMP}/buildingExtractionIndexed_scaled.png
)
ADD_TEST(bfTeMeanShiftVectorImageFilterExampleTest ${EXE_TESTS}
--compare-n-images ${NOTOL} 6
${BASELINE}/MSFilteredOutput.tif
${TEMP}/MSFilteredOutput.tif
${BASELINE}/MSClusteredOutput.tif
${TEMP}/MSClusteredOutput.tif
${BASELINE}/MSLabelledOutput.tif
${TEMP}/MSLabelledOutput.tif
${BASELINE}/MSBoundariesOutput.tif
${TEMP}/MSBoundariesOutput.tif
${BASELINE}/MSFilteredOutput-pretty.png
${TEMP}/MSFilteredOutput-pretty.png
${BASELINE}/MSClusteredOutput-pretty.png
${TEMP}/MSClusteredOutput-pretty.png
--compare-n-images ${NOTOL} 6
${BASELINE}/MSFilteredOutput.tif
${TEMP}/MSFilteredOutput.tif
${BASELINE}/MSClusteredOutput.tif
${TEMP}/MSClusteredOutput.tif
${BASELINE}/MSLabelledOutput.tif
${TEMP}/MSLabelledOutput.tif
${BASELINE}/MSBoundariesOutput.tif
${TEMP}/MSBoundariesOutput.tif
${BASELINE}/MSFilteredOutput-pretty.png
${TEMP}/MSFilteredOutput-pretty.png
${BASELINE}/MSClusteredOutput-pretty.png
${TEMP}/MSClusteredOutput-pretty.png
MeanShiftVectorImageFilterExampleTest
${INPUTDATA}/ROI_QB_MUL_1.png
${INPUTDATA}/ROI_QB_MUL_1.png
${TEMP}/MSFilteredOutput.tif
${TEMP}/MSClusteredOutput.tif
${TEMP}/MSLabelledOutput.tif
......@@ -157,14 +157,14 @@ ADD_TEST(bfTeMeanShiftVectorImageFilterExampleTest ${EXE_TESTS}
# ------- HillShadingExampleTest ----------
ADD_TEST(bfTeHillShadingExampleTest ${EXE_TESTS}
--compare-n-images ${NOTOL} 2
${BASELINE}/HillShadingExample.png
${TEMP}/HillShadingExample.png
${BASELINE}/HillShadingColorExample.png
${TEMP}/HillShadingColorExample.png
HillShadingExampleTest
${TEMP}/HillShadingExample.png
${TEMP}/HillShadingColorExample.png
--compare-n-images ${NOTOL} 2
${BASELINE}/HillShadingExample.png
${TEMP}/HillShadingExample.png
${BASELINE}/HillShadingColorExample.png
${TEMP}/HillShadingColorExample.png
HillShadingExampleTest
${TEMP}/HillShadingExample.png
${TEMP}/HillShadingColorExample.png
6.8 45.3 500 500 0.002 -0.002 ${OTB_DATA_ROOT}/Examples/DEM_srtm
)
......
......@@ -85,7 +85,7 @@ ELSE(OTB_BINARY_DIR)
ADD_SUBDIRECTORY(Fusion)
ADD_SUBDIRECTORY(Tutorials)
ADD_SUBDIRECTORY(Markov)
ADD_SUBDIRECTORY(OBIA)
ADD_SUBDIRECTORY(OBIA)
IF(OTB_USE_VISU_GUI)
ADD_SUBDIRECTORY(Visualization)
......@@ -96,7 +96,7 @@ ELSE(OTB_BINARY_DIR)
ENDIF(OTB_USE_PATENTED)
IF(OTB_USE_PQXX)
ADD_SUBDIRECTORY(GeospatialAnalysis)
ADD_SUBDIRECTORY(GeospatialAnalysis)
ENDIF(OTB_USE_PQXX)
ELSE(OTB_FOUND)
MESSAGE("OTB not found. Please set OTB_DIR")
......
......@@ -61,66 +61,66 @@ SET(PNGEPSILON 2)
# ------- CorrelChDetTest----------
ADD_TEST(cdTeCorrelChDetTest ${EXE_TESTS}
--compare-n-images ${TOL} 1
${BASELINE}/CorrChDet.tif
${TEMP}/CorrChDet.tif
CorrelChDetTest
${INPUTDATA}/ERSBefore.png
${INPUTDATA}/ERSAfter.png
${TEMP}/CorrChDet.tif
--compare-n-images ${TOL} 1
${BASELINE}/CorrChDet.tif
${TEMP}/CorrChDet.tif
CorrelChDetTest
${INPUTDATA}/ERSBefore.png
${INPUTDATA}/ERSAfter.png
${TEMP}/CorrChDet.tif
15
)
# ------- DiffChDetTest----------
ADD_TEST(cdTeDiffChDetTest ${EXE_TESTS}
--compare-n-images ${TOL} 1
${BASELINE}/DiffChDet.tif
${TEMP}/DiffChDet.tif
DiffChDetTest
${INPUTDATA}/SpotBefore.png
${INPUTDATA}/SpotAfter.png
${TEMP}/DiffChDet.tif
--compare-n-images ${TOL} 1
${BASELINE}/DiffChDet.tif
${TEMP}/DiffChDet.tif
DiffChDetTest
${INPUTDATA}/SpotBefore.png
${INPUTDATA}/SpotAfter.png
${TEMP}/DiffChDet.tif
3
)
# ------- RatioChDetTest----------
ADD_TEST(cdTeRatioChDetTest ${EXE_TESTS}
--compare-n-images ${TOL} 1
${BASELINE}/RatioChDet.tif
${TEMP}/RatioChDet.tif
RatioChDetTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
${TEMP}/RatioChDet.tif
--compare-n-images ${TOL} 1
${BASELINE}/RatioChDet.tif
${TEMP}/RatioChDet.tif
RatioChDetTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
${TEMP}/RatioChDet.tif
3
)
# ------- KullbackLeiblerDistanceChDetTest----------
ADD_TEST(cdTeKullbackLeiblerDistanceChDetTest ${EXE_TESTS}
--compare-n-images ${PNGEPSILON} 1
${BASELINE}/KullbackLeiblerDistanceChDetTest.png
${TEMP}/KullbackLeiblerDistanceChDetTest.png
KullbackLeiblerDistanceChDetTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
${TEMP}/KullbackLeiblerDistanceChDetTest.png
35
--compare-n-images ${PNGEPSILON} 1
${BASELINE}/KullbackLeiblerDistanceChDetTest.png
${TEMP}/KullbackLeiblerDistanceChDetTest.png
KullbackLeiblerDistanceChDetTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
${TEMP}/KullbackLeiblerDistanceChDetTest.png
35
)
# ------- KullbackLeiblerProfileChDetTest----------
ADD_TEST(cdTeKullbackLeiblerProfileChDetTest ${EXE_TESTS}
--compare-n-images ${TOL} 1
${BASELINE}/KullbackLeiblerProfileChDetTest.png
${TEMP}/KullbackLeiblerProfileChDetTest.png
KullbackLeiblerProfileChDetTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
${TEMP}/KullbackLeiblerProfileChDetTest.png
5 51 1 12 24
--compare-n-images ${TOL} 1
${BASELINE}/KullbackLeiblerProfileChDetTest.png
${TEMP}/KullbackLeiblerProfileChDetTest.png
KullbackLeiblerProfileChDetTest
${INPUTDATA}/GomaAvant.png
${INPUTDATA}/GomaApres.png
${TEMP}/KullbackLeiblerProfileChDetTest.png
5 51 1 12 24
)
INCLUDE_DIRECTORIES(${OTB_SOURCE_DIR}/Testing/Code)
......
......@@ -131,25 +131,25 @@ SET(TOL 0.0)
# ------- ScalarImageMarkovRandomField1Test----------
ADD_TEST(clTeScalarImageMarkovRandomField1Test ${EXE_TESTS}
--compare-n-images ${TOL} 1
${BASELINE}/ScalarImageMarkovRandomField1Output.png
${TEMP}/ScalarImageMarkovRandomField1Output.png
ScalarImageMarkovRandomField1Test
${INPUTDATA}/QB_Suburb.png
${INPUTDATA}/QB_Suburb_labelled.png
${TEMP}/ScalarImageMarkovRandomField1Output.png
--compare-n-images ${TOL} 1
${BASELINE}/ScalarImageMarkovRandomField1Output.png
${TEMP}/ScalarImageMarkovRandomField1Output.png
ScalarImageMarkovRandomField1Test
${INPUTDATA}/QB_Suburb.png
${INPUTDATA}/QB_Suburb_labelled.png
${TEMP}/ScalarImageMarkovRandomField1Output.png
50 3 4 79.5097 138.136 213.846 25.9395
)
# ------- ScalarImageKmeansClassifierTest----------
ADD_TEST(clTeScalarImageKmeansClassifierTest ${EXE_TESTS}
--compare-n-images ${TOL} 1
${BASELINE}/QB_Suburb_labelled.png
${TEMP}/QB_Suburb_labelled.png
ScalarImageKmeansClassifierTest
${INPUTDATA}/QB_Suburb.png
${TEMP}/QB_Suburb_labelled.png
--compare-n-images ${TOL} 1
${BASELINE}/QB_Suburb_labelled.png
${TEMP}/QB_Suburb_labelled.png
ScalarImageKmeansClassifierTest
${INPUTDATA}/QB_Suburb.png
${TEMP}/QB_Suburb_labelled.png
0 4 79.5097 138.136 213.846 25.9395
)
......
......@@ -56,45 +56,45 @@ SET(TOL 0.0)
# ------- ImageAdaptor4Test----------
ADD_TEST(diTeImageAdaptor4Test1 ${EXE_TESTS}
--compare-n-images ${TOL} 1
${BASELINE}/ImageAdaptorThresholdingA.png
${TEMP}/ImageAdaptorThresholdingA.png
ImageAdaptor4Test
${INPUTDATA}/QB_Suburb.png
${TEMP}/ImageAdaptorThresholdingA.png
--compare-n-images ${TOL} 1
${BASELINE}/ImageAdaptorThresholdingA.png
${TEMP}/ImageAdaptorThresholdingA.png
ImageAdaptor4Test
${INPUTDATA}/QB_Suburb.png
${TEMP}/ImageAdaptorThresholdingA.png
100
)
# ------- ImageAdaptor4Test----------
ADD_TEST(diTeImageAdaptor4Test2 ${EXE_TESTS}
--compare-n-images ${TOL} 1
${BASELINE}/ImageAdaptorThresholdingB.png
${TEMP}/ImageAdaptorThresholdingB.png
ImageAdaptor4Test
${INPUTDATA}/QB_Suburb.png
${TEMP}/ImageAdaptorThresholdingB.png
--compare-n-images ${TOL} 1
${BASELINE}/ImageAdaptorThresholdingB.png
${TEMP}/ImageAdaptorThresholdingB.png
ImageAdaptor4Test
${INPUTDATA}/QB_Suburb.png
${TEMP}/ImageAdaptorThresholdingB.png
200
)
# ------- Image5Test----------
ADD_TEST(diTeImage5Test ${EXE_TESTS}
--compare-n-images ${TOL} 1
${BASELINE}/Image5.png
${TEMP}/Image5.png
Image5Test
${TEMP}/Image5.png
--compare-n-images ${TOL} 1
${BASELINE}/Image5.png
${TEMP}/Image5.png
Image5Test
${TEMP}/Image5.png
)
# ------- Image6Test----------
ADD_TEST(diTeImage6Test ${EXE_TESTS}
--compare-n-images ${TOL} 1
${BASELINE}/Image6.tif
${TEMP}/Image6.tif
Image6Test
${TEMP}/Image6.tif
--compare-n-images ${TOL} 1
${BASELINE}/Image6.tif
${TEMP}/Image6.tif
Image6Test
${TEMP}/Image6.tif
)
INCLUDE_DIRECTORIES(${OTB_SOURCE_DIR}/Testing/Code)
......
......@@ -119,118 +119,118 @@ SET(TOL 0.0)
# ------- CorrelationLineDetectorExampleTest----------
ADD_TEST(feTeCorrelationLineDetectorExampleTest ${EXE_TESTS1}
--compare-n-images ${TOL} 2
${BASELINE}/amstLineCorrelations.png
${TEMP}/amstLineCorrelations.png
${BASELINE}/amstLineCorrelationDirections.png
${TEMP}/amstLineCorrelationDirections.png
CorrelationLineDetectorExampleTest
${INPUTDATA}/amst.png
${TEMP}/amstLineCorrelations.png
${TEMP}/amstLineCorrelationDirections.png
--compare-n-images ${TOL} 2
${BASELINE}/amstLineCorrelations.png
${TEMP}/amstLineCorrelations.png
${BASELINE}/amstLineCorrelationDirections.png
${TEMP}/amstLineCorrelationDirections.png
CorrelationLineDetectorExampleTest
${INPUTDATA}/amst.png
${TEMP}/amstLineCorrelations.png
${TEMP}/amstLineCorrelationDirections.png
5 1
)
# ------- LocalHoughExampleTest----------
ADD_TEST(feTeLocalHoughExampleTest ${EXE_TESTS1}
--compare-n-images ${TOL} 1
${BASELINE}/detected_local_hough.png
${TEMP}/detected_local_hough.png
LocalHoughExampleTest
${INPUTDATA}/detected_lines.png
${TEMP}/detected_local_hough.png
--compare-n-images ${TOL} 1
${BASELINE}/detected_local_hough.png
${TEMP}/detected_local_hough.png
LocalHoughExampleTest
${INPUTDATA}/detected_lines.png
${TEMP}/detected_local_hough.png
30 10 1 50
)
# ------- HarrisExampleTest----------
ADD_TEST(feTeHarrisExampleTest ${EXE_TESTS1}
--compare-n-images ${TOL} 1
${BASELINE}/ROISpot5Harris.png
${TEMP}/ROISpot5Harris.png
HarrisExampleTest
${INPUTDATA}/ROISpot5.png
${TEMP}/ROISpot5Harris.png
--compare-n-images ${TOL} 1
${BASELINE}/ROISpot5Harris.png
${TEMP}/ROISpot5Harris.png
HarrisExampleTest
${INPUTDATA}/ROISpot5.png
${TEMP}/ROISpot5Harris.png
1.5 2 0.1
)
# ------- TouziEdgeDetectorExampleTest----------
ADD_TEST(feTeTouziEdgeDetectorExampleTest ${EXE_TESTS1}
--compare-n-images ${TOL} 2
${BASELINE}/amstTouziEdges.png
${TEMP}/amstTouziEdges.png
${BASELINE}/amstTouziDirections.png
${TEMP}/amstTouziDirections.png
TouziEdgeDetectorExampleTest
${INPUTDATA}/amst.png
${TEMP}/amstTouziEdges.png
${TEMP}/amstTouziDirections.png
--compare-n-images ${TOL} 2
${BASELINE}/amstTouziEdges.png
${TEMP}/amstTouziEdges.png
${BASELINE}/amstTouziDirections.png
${TEMP}/amstTouziDirections.png
TouziEdgeDetectorExampleTest
${INPUTDATA}/amst.png
${TEMP}/amstTouziEdges.png
${TEMP}/amstTouziDirections.png
3
)
# ------- ExtractSegmentsByStepsExampleTest----------
ADD_TEST(feTeExtractSegmentsByStepsExampleTest ${EXE_TESTS1}
--compare-n-images ${TOL} 1
${BASELINE}/amstSegmentExtractionBySteps.png
${TEMP}/amstSegmentExtractionBySteps.png
ExtractSegmentsByStepsExampleTest
${INPUTDATA_OTB}/amst_ers1.ima.extrait.419_187_70_66.hdr
${TEMP}/amstSegmentExtractionBySteps.png
--compare-n-images ${TOL} 1
${BASELINE}/amstSegmentExtractionBySteps.png
${TEMP}/amstSegmentExtractionBySteps.png
ExtractSegmentsByStepsExampleTest
${INPUTDATA_OTB}/amst_ers1.ima.extrait.419_187_70_66.hdr
${TEMP}/amstSegmentExtractionBySteps.png
10 3 10 0.5 10 10 3 10 0.5
)
# ------- AssymmetricFusionOfLineDetectorExampleTest----------
ADD_TEST(feTeAssymmetricFusionOfLineDetectorExampleTest ${EXE_TESTS1}
--compare-n-images ${TOL} 1
${BASELINE}/amstLineFusion.png
${TEMP}/amstLineFusion.png
AssymmetricFusionOfLineDetectorExampleTest
${INPUTDATA}/amst.png
${TEMP}/amstLineFusion.png
--compare-n-images ${TOL} 1
${BASELINE}/amstLineFusion.png
${TEMP}/amstLineFusion.png
AssymmetricFusionOfLineDetectorExampleTest
${INPUTDATA}/amst.png
${TEMP}/amstLineFusion.png
5 1
)
# ------- ExtractSegmentsExampleTest----------
ADD_TEST(feTeExtractSegmentsExampleTest ${EXE_TESTS1}
--compare-n-images ${TOL} 1
${BASELINE}/amstSegmentExtraction.png
${TEMP}/amstSegmentExtraction.png
ExtractSegmentsExampleTest
${INPUTDATA_OTB}/amst_ers1.ima.extrait.419_187_70_66.hdr
${TEMP}/amstSegmentExtraction.png
--compare-n-images ${TOL} 1
${BASELINE}/amstSegmentExtraction.png
${TEMP}/amstSegmentExtraction.png
ExtractSegmentsExampleTest
${INPUTDATA_OTB}/amst_ers1.ima.extrait.419_187_70_66.hdr
${TEMP}/amstSegmentExtraction.png
10 3 10 0.5 10 10 3 10 0.5
)
# ------- RatioLineDetectorExampleTest----------
ADD_TEST(feTeRatioLineDetectorExampleTest ${EXE_TESTS1}
--compare-n-images ${TOL} 2
${BASELINE}/amstLineRatios.png
${TEMP}/amstLineRatios.png
${BASELINE}/amstLineRatioDirections.png
${TEMP}/amstLineRatioDirections.png
RatioLineDetectorExampleTest
${INPUTDATA}/amst.png
${TEMP}/amstLineRatios.png
${TEMP}/amstLineRatioDirections.png
--compare-n-images ${TOL} 2
${BASELINE}/amstLineRatios.png
${TEMP}/amstLineRatios.png
${BASELINE}/amstLineRatioDirections.png
${TEMP}/amstLineRatioDirections.png
RatioLineDetectorExampleTest
${INPUTDATA}/amst.png
${TEMP}/amstLineRatios.png
${TEMP}/amstLineRatioDirections.png
5 1
)
# ------- AlignmentsExampleTest----------
ADD_TEST(feTeAlignmentsExampleTest ${EXE_TESTS1}
--compare-n-images ${TOL} 1
${BASELINE}/QB_SuburbAlign.png
${TEMP}/QB_SuburbAlign.png
AlignmentsExampleTest
${INPUTDATA}/QB_Suburb.png
${TEMP}/QB_SuburbAlign.png
5
--compare-n-images ${TOL} 1
${BASELINE}/QB_SuburbAlign.png
${TEMP}/QB_SuburbAlign.png
AlignmentsExampleTest
${INPUTDATA}/QB_Suburb.png
${TEMP}/QB_SuburbAlign.png
5
)
# ------- RoadExtractionExamplesTest----------
......@@ -238,15 +238,15 @@ ADD_TEST(feTeAlignmentsExampleTest ${EXE_TESTS1}
ADD_TEST(feTeExtractRoadByStepsExampleTest ${EXE_TESTS2}
--compare-n-images ${TOL} 2
${BASELINE}/qb_ExtractRoad_pretty.png
${TEMP}/qb_ExtractRoad_pretty.png
${BASELINE}/qb_ExtractRoad_pretty.png
${TEMP}/qb_ExtractRoad_pretty.png