Commit d0e2ef69 authored by Julien Malik's avatar Julien Malik

ENH: missing projection filter

parent 72c7b9fe
......@@ -2040,6 +2040,37 @@ ADD_TEST(bfTvNormalizeVectorImageFilter
-in ${INPUTDATA}/cupriteSubHsi.tif
-out ${TEMP}/bfTvNormalizeVectorImageFilter.tif)
ADD_TEST(bfTuNormalizeVectorImageFilter
${BASICFILTERS_TESTS13}
otbNormalizeVectorImageFilterNewTest)
ADD_TEST(bfTvNormalizeVectorImageFilter
${BASICFILTERS_TESTS13}
--compare-image ${EPSILON_7}
${BASELINE}/bfTvNormalizeVectorImageFilter.tif
${TEMP}/bfTvNormalizeVectorImageFilter.tif
otbNormalizeVectorImageFilterTest
-in ${INPUTDATA}/cupriteSubHsi.tif
-out ${TEMP}/bfTvNormalizeVectorImageFilter.tif)
ADD_TEST(bfTuProjectiveProjectionNew
${BASICFILTERS_TESTS13}
otbProjectiveProjectionNew)
ADD_TEST(bfTvProjectiveProjectionTestHighSNR
${BASICFILTERS_TESTS13}
--compare-image ${EPSILON_7}
${BASELINE}/bfTvProjectiveProjectionTestHighSNR.tif
${TEMP}/bfTvProjectiveProjectionTestHighSNR.tif
otbProjectiveProjectionTestHighSNR
${INPUTDATA}/cupriteSubHsi.tif
3
${TEMP}/bfTvProjectiveProjectionTestHighSNR.tif)
ADD_TEST(bfTuVectorImageToMatrixNew
${BASICFILTERS_TESTS13}
otbVectorImageToMatrixNewTest)
......
......@@ -62,5 +62,6 @@ void RegisterTests()
REGISTER_TEST(otbFastICAImageFilterTest);
REGISTER_TEST(otbVectorImageToMatrixNewTest);
REGISTER_TEST(otbVectorImageToMatrixTest);
REGISTER_TEST(otbProjectiveProjectionNew);
REGISTER_TEST(otbProjectiveProjectionTestHighSNR);
}
......@@ -44,6 +44,13 @@ typedef otb::StreamingStatisticsImageFilter<ImageType> StreamingStatisticsImageF
typedef StreamingStatisticsVectorImageFilterType::MatrixType MatrixType;
int otbProjectiveProjectionNew(int argc, char * argv[])
{
ProjectiveProjectionImageFilterType::Pointer filter = ProjectiveProjectionImageFilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
int otbProjectiveProjectionTestHighSNR(int argc, char * argv[])
{
const char * inputImage = argv[1];
......
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