Visualization
From OTBWiki
A new visualization framework has been available since OTB 3.0 to migrate replace
- Include:
#include "otbImageViewer.h"
to be replaced by
#include "otbStandardImageViewer.h"
- Typedef:
typedef otb::ImageViewer<PixelType> ViewerType;
to be replaced by
typedef otb::StandardImageViewer<ImageType> ViewerType;
- Pipeline execution:
lViewer->Show();
to be replaced by
lViewer->Update();
No call to Update() is required on the filter before the viewer. For more information, have a look a the tutorial and the example in the software guide.
Back to Migration guide