Skip to content
Snippets Groups Projects
Commit 6876670e authored by Julien Michel's avatar Julien Michel
Browse files

Changement de la précision du type de pixel employé dans le test, et ajout d'une tolérance.

parent 92f46ace
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ SET(TEMP ${OTBTesting_BINARY_DIR}/Temporary)
#Tolerance sur diff pixel image
SET(TOL 0.0)
SET(EPSILON 0.00000000001)
SET(UTILITIES_TESTS ${CXX_TEST_PATH}/otbUtilitiesTests)
......@@ -21,7 +22,7 @@ ossimIntegrationTest
)
ADD_TEST(utIjBSplineScatteredDataPointSetToImageFilterTest ${UTILITIES_TESTS}
--compare-image ${TOL}
--compare-image ${EPSILON}
${BASELINE}/ijBSplineScatteredDataPointSetToImageFilterTestOutput.hdr
${TEMP}/ijBSplineScatteredDataPointSetToImageFilterTestOutput.hdr
ijBSplineScatteredDataPointSetToImageFilterTest
......
......@@ -18,7 +18,7 @@ int ijBSplineScatteredDataPointSetToImageFilterTest( int argc, char *argv[] )
typedef int PixelType;
typedef otb::Image<PixelType, ParametricDimension> InputImageType;
typedef float RealType;
typedef double RealType;
typedef itk::Vector<RealType, DataDimension> VectorType;
typedef otb::Image<VectorType, ParametricDimension> VectorImageType;
typedef itk::PointSet
......
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