Commit d90a3fd5 authored by Jonathan Guinet's avatar Jonathan Guinet

TEST: Normalization option addition in PCA filter testing.

parent 27cfe166
......@@ -2068,9 +2068,40 @@ ADD_TEST(bfTvPCAImageFilter3
-in ${INPUTDATA}/cupriteSubHsi.tif
-out ${TEMP}/bfTvPCAImageFilter3.tif
-inv ${TEMP}/bfTvPCAImageFilter3Inv.tif
)
# Test the direct transform
ADD_TEST(bfTvPCAImageFilter3Norm
${BASICFILTERS_TESTS13}
--compare-n-images ${EPSILON_7} 2
${BASELINE}/bfTvPCAImageFilter3Norm.tif
${TEMP}/bfTvPCAImageFilter3Norm.tif
${BASELINE}/bfTvPCAImageFilter3InvNorm.tif
${TEMP}/bfTvPCAImageFilter3InvNorm.tif
otbPCAImageFilterTest
-in ${INPUTDATA}/cupriteSubHsi.tif
-out ${TEMP}/bfTvPCAImageFilter3Norm.tif
-inv ${TEMP}/bfTvPCAImageFilter3InvNorm.tif
-norm)
# Test the direct transform, reducing dimensionnality
ADD_TEST(bfTvPCAImageFilter4Norm
${BASICFILTERS_TESTS13}
--compare-n-images ${EPSILON_7} 2
${BASELINE}/bfTvPCAImageFilter4Norm.tif
${TEMP}/bfTvPCAImageFilter4Norm.tif
${BASELINE}/bfTvPCAImageFilter4InvNorm.tif
${TEMP}/bfTvPCAImageFilter4InvNorm.tif
otbPCAImageFilterTest
-in ${INPUTDATA}/cupriteSubHsi.tif
-out ${TEMP}/bfTvPCAImageFilter4Norm.tif
-inv ${TEMP}/bfTvPCAImageFilter4InvNorm.tif
-norm
-n 4)
# Test the direct transform, reducing dimensionnality
ADD_TEST(bfTvPCAImageFilter4
${BASICFILTERS_TESTS13}
......@@ -2083,7 +2114,6 @@ ADD_TEST(bfTvPCAImageFilter4
-in ${INPUTDATA}/cupriteSubHsi.tif
-out ${TEMP}/bfTvPCAImageFilter4.tif
-inv ${TEMP}/bfTvPCAImageFilter4Inv.tif
-norm
-n 4)
......
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