From 0f1aadc7a0416861f10a00bf391f6890ef6b7de1 Mon Sep 17 00:00:00 2001 From: Jordi Inglada <jordi.inglada@orfeo-toolbox.org> Date: Thu, 18 May 2006 15:05:36 +0000 Subject: [PATCH] Pbs. otbImage --- Code/Common/otbExtractROI.h | 6 +++--- .../FeatureExtraction/ExtractSegmentsByStepsExample.cxx | 2 +- Examples/IO/ImageReadRegionOfInterestWrite.cxx | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Code/Common/otbExtractROI.h b/Code/Common/otbExtractROI.h index 100f38b755..013e22678c 100755 --- a/Code/Common/otbExtractROI.h +++ b/Code/Common/otbExtractROI.h @@ -24,17 +24,17 @@ namespace otb * * Le Pixel peut etre de type simple ou alors un itk::RGBPixel, etc. * \note Ces classe est param�tr�e par le type de pixel des images d'entr�e et de sortie. Les images manipul�es dans cette classe - * sont de type "otb::Image". + * sont de type "itk::Image". * */ template <class TInputPixel, class TOutputPixel> class ITK_EXPORT ExtractROI: - public ExtractROIBase<otb::Image<TInputPixel,2> , otb::Image<TOutputPixel,2> > + public ExtractROIBase<itk::Image<TInputPixel,2> , itk::Image<TOutputPixel,2> > { public: /** Standard class typedefs. */ typedef ExtractROI Self; - typedef ExtractROIBase<otb::Image<TInputPixel,2> , otb::Image<TOutputPixel,2> > Superclass; + typedef ExtractROIBase<itk::Image<TInputPixel,2> , itk::Image<TOutputPixel,2> > Superclass; typedef itk::SmartPointer<Self> Pointer; typedef itk::SmartPointer<const Self> ConstPointer; diff --git a/Examples/FeatureExtraction/ExtractSegmentsByStepsExample.cxx b/Examples/FeatureExtraction/ExtractSegmentsByStepsExample.cxx index 06786c9bc0..80142b5245 100644 --- a/Examples/FeatureExtraction/ExtractSegmentsByStepsExample.cxx +++ b/Examples/FeatureExtraction/ExtractSegmentsByStepsExample.cxx @@ -87,7 +87,7 @@ int main( int argc, char * argv[] ) // Software Guide : BeginCodeSnippet //>FIXME itk::image-->OTB typedef itk::Image< InternalPixelType, 2 > InternalImageType; - typedef otb::Image< OutputPixelType, 2 > OutputImageType; + typedef itk::Image< OutputPixelType, 2 > OutputImageType; // Software Guide : EndCodeSnippet typedef otb::LineSpatialObjectList LinesListType; diff --git a/Examples/IO/ImageReadRegionOfInterestWrite.cxx b/Examples/IO/ImageReadRegionOfInterestWrite.cxx index 6cb54d6621..9e7e6ffaeb 100644 --- a/Examples/IO/ImageReadRegionOfInterestWrite.cxx +++ b/Examples/IO/ImageReadRegionOfInterestWrite.cxx @@ -79,9 +79,9 @@ int main( int argc, char ** argv ) typedef unsigned char InputPixelType; typedef unsigned char OutputPixelType; const unsigned int Dimension = 2; - - typedef otb::Image< InputPixelType, Dimension > InputImageType; - typedef otb::Image< OutputPixelType, Dimension > OutputImageType; +//FIXME itk to otb image + typedef itk::Image< InputPixelType, Dimension > InputImageType; + typedef itk::Image< OutputPixelType, Dimension > OutputImageType; // Software Guide : EndCodeSnippet -- GitLab