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

TEST: Adding test for SAR deburst filter

parent aea626d7
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,11 @@ set(OTBSARTests
add_executable(otbSARTestDriver ${OTBSARTests})
target_link_libraries(otbSARTestDriver ${OTBSAR-Test_LIBRARIES})
otb_module_target_label(otbSARTestDriver)
otb_add_test(NAME saTvSarDeburstImageFilterTest COMMAND otbSARTestDriver
--compare-image ${NOTOL}
${BASELINE}/saTvSarDeburstImageFilterTestOutput.tif
${TEMP}/saTvSarDeburstImageFilterTestOutput.tif
otbSarDeburstFilterTest
${INPUTDATA}/s1a-iw1-slc-vh-amp_xt.tif
${TEMP}/saTvSarDeburstImageFilterTestOutput.tif)
......@@ -20,7 +20,7 @@
#include "otbImageFileReader.h"
#include "otbImageFileWriter.h"
typedef otb::Image<float> ImageType;
typedef otb::Image<unsigned short> ImageType;
typedef otb::ImageFileReader<ImageType> ReaderType;
typedef otb::ImageFileWriter<ImageType> WriterType;
typedef otb::SarDeburstImageFilter<ImageType> DeburstFilterType;
......
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