Commit 8b0de7ec authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH : image dimension constraint to 2

parent a046bcd1
......@@ -57,8 +57,11 @@ public:
<TXsImageType, TOutputImageType> Superclass;
typedef itk::SmartPointer<Self> Pointer;
typedef itk::SmartPointer<const Self> ConstPointer;
typedef otb::Image<double,2> InternalImageType;
typedef otb::VectorImage<double> InternalVectorImageType;
//typedef otb::Image<double,2> InternalImageType;
//typedef otb::VectorImage<double> InternalVectorImageType;
typedef otb::Image<double,TPanImageType::ImageDimension> InternalImageType;
typedef otb::VectorImage<double,TPanImageType::ImageDimension> InternalVectorImageType;
typedef typename InternalImageType::PixelType InternalPixelType;
typedef typename itk::NumericTraits<InternalPixelType>::RealType InternalRealType;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment