Skip to content
Snippets Groups Projects
Commit 46c4479f authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

TEST: add FilterWatcher to the DEM to Image test

parent 35e72311
Branches
Tags
No related merge requests found
......@@ -20,6 +20,7 @@
#include "otbDEMToImageGenerator.h"
#include "otbImageFileWriter.h"
#include "otbImage.h"
#include "otbStandardFilterWatcher.h"
int otbDEMToImageGeneratorTest(int argc, char * argv[])
{
......@@ -61,6 +62,7 @@ int otbDEMToImageGeneratorTest(int argc, char * argv[])
object->SetOutputOrigin(origin);
object->SetOutputSize(size);
object->SetOutputSpacing(spacing);
otb::StandardFilterWatcher watcher(object, "DEM to image generator");
writer->SetFileName( outputName );
writer->SetInput( object->GetOutput() );
......
......@@ -21,6 +21,7 @@
#include "otbMapProjections.h"
#include "otbImageFileWriter.h"
#include "otbImage.h"
#include "otbStandardFilterWatcher.h"
int otbDEMToOrthoImageGeneratorTest(int argc, char * argv[])
{
......@@ -69,6 +70,7 @@ int otbDEMToOrthoImageGeneratorTest(int argc, char * argv[])
object->SetOutputSize(size);
object->SetOutputSpacing(spacing);
object->SetMapProjection(mapProj);
otb::StandardFilterWatcher watcher(object, "DEM to ortho image generator");
writer->SetFileName( outputName );
writer->SetInput( object->GetOutput() );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment