Skip to content
Snippets Groups Projects
Commit a4ad4a16 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

MAJ otbImage

parent a2b77ab0
No related branches found
No related tags found
No related merge requests found
...@@ -13,14 +13,12 @@ ...@@ -13,14 +13,12 @@
#pragma warning ( disable : 4786 ) #pragma warning ( disable : 4786 )
#endif #endif
#define MAIN
#include "itkExceptionObject.h" #include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
#include <iostream> #include <iostream>
#include "otbImage.h"
#include "otbImageFileReader.h" #include "otbImageFileReader.h"
#include "otbImageFileWriter.h"
#include "otbLeeImageFilter.h" #include "otbLeeImageFilter.h"
...@@ -39,11 +37,11 @@ int otbLeeFilter( int argc, char ** argv ) ...@@ -39,11 +37,11 @@ int otbLeeFilter( int argc, char ** argv )
typedef unsigned char OutputPixelType; typedef unsigned char OutputPixelType;
const unsigned int Dimension = 2; const unsigned int Dimension = 2;
typedef itk::Image< InputPixelType, Dimension > InputImageType; typedef otb::Image< InputPixelType, Dimension > InputImageType;
typedef itk::Image< OutputPixelType, Dimension > OutputImageType; typedef otb::Image< OutputPixelType, Dimension > OutputImageType;
typedef otb::ImageFileReader< InputImageType > ReaderType; typedef otb::ImageFileReader< InputImageType > ReaderType;
typedef itk::ImageFileWriter< OutputImageType > WriterType; typedef otb::ImageFileWriter< OutputImageType > WriterType;
typedef otb::LeeImageFilter< InputImageType,OutputImageType > FilterType; typedef otb::LeeImageFilter< InputImageType,OutputImageType > FilterType;
......
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