From c63b410726290080bf131788547db2681485248d Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Thu, 7 May 2009 21:34:05 +0800 Subject: [PATCH] BUG: fix templates in new viewer --- ViewerManager/Model/otbImageViewerManagerModel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ViewerManager/Model/otbImageViewerManagerModel.h b/ViewerManager/Model/otbImageViewerManagerModel.h index e392eb348e..a06341b8d0 100644 --- a/ViewerManager/Model/otbImageViewerManagerModel.h +++ b/ViewerManager/Model/otbImageViewerManagerModel.h @@ -22,7 +22,7 @@ PURPOSE. See the above copyright notices for more information. #include "otbImageViewerManagerEventsListener.h" #include "otbImage.h" #include "otbVectorImage.h" -#include "itkRGBPixel.h" +#include "itkRGBAPixel.h" #include "otbImageFileReader.h" #include "otbObjectList.h" @@ -77,7 +77,7 @@ public: /** Image Type*/ typedef VectorImage<PixelType , 2> ImageType; - typedef itk::RGBPixel<unsigned char> RGBPixelType; + typedef itk::RGBAPixel<unsigned char> RGBPixelType; typedef Image<RGBPixelType,2> ViewerImageType; typedef ImageType::Pointer ImagePointerType; -- GitLab