21 #ifndef otbVectorImage_h
22 #define otbVectorImage_h
24 #if defined(__GNUC__) || defined(__clang__)
25 #pragma GCC diagnostic push
26 #pragma GCC diagnostic ignored "-Wunused-parameter"
27 #include "itkVectorImage.h"
28 #pragma GCC diagnostic pop
30 #include "itkVectorImage.h"
34 #include "OTBImageBaseExport.h"
44 template <
class TPixel,
unsigned int VImageDimension = 2>
46 :
public itk::VectorImage<TPixel, VImageDimension>
52 using Superclass = itk::VectorImage<TPixel, VImageDimension>;
95 itkStaticConstMacro(ImageDimension,
unsigned int, VImageDimension);
124 virtual VectorType GetGeoTransform(
void)
const;
144 virtual void SetNumberOfComponentsPerPixel(
unsigned int n)
override;
147 void CopyInformation(
const itk::DataObject*)
override;
149 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
188 #ifndef OTB_MANUAL_INSTANTIATION
207 extern template class OTBImageBase_EXPORT_TEMPLATE VectorImage<std::complex<int>, 2>;
208 extern template class OTBImageBase_EXPORT_TEMPLATE VectorImage<std::complex<short>, 2>;
209 extern template class OTBImageBase_EXPORT_TEMPLATE VectorImage<std::complex<float>, 2>;
210 extern template class OTBImageBase_EXPORT_TEMPLATE VectorImage<std::complex<double>, 2>;
Creation of an "otb" vector image which contains metadata.
Superclass::PixelContainer PixelContainer
Superclass::PixelType PixelType
Superclass::PointType PointType
Superclass::IndexType IndexType
Superclass::OffsetType OffsetType
VectorImage(const Self &)=delete
Superclass::IOPixelType IOPixelType
Superclass::SizeType SizeType
itk::WeakPointer< const Self > ConstWeakPointer
Superclass::RegionType RegionType
void operator=(const Self &)=delete
ImageMetadataInterfaceBase::VectorType VectorType
itk::SmartPointer< const Self > ConstPointer
itk::VectorImageNeighborhoodAccessorFunctor< Self > NeighborhoodAccessorFunctorType
Superclass::DirectionType DirectionType
Superclass::ValueType ValueType
Superclass::SpacingType SpacingType
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor()
itk::VectorImage< TPixel, VImageDimension > Superclass
itk::SmartPointer< Self > Pointer
itk::DefaultVectorPixelAccessorFunctor< Self > AccessorFunctorType
Superclass::InternalPixelType InternalPixelType
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor() const
void SetSignedSpacing(InputImage *input, SpacingType spacing)
ImageType::SpacingType GetSignedSpacing(const ImageType *input)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
template class OTBImageBase_EXPORT_TEMPLATE VectorImage< unsigned int, 2 >
template class OTBImageBase_EXPORT_TEMPLATE VectorImage< unsigned char, 2 >
template class OTBImageBase_EXPORT_TEMPLATE VectorImage< short, 2 >
template class OTBImageBase_EXPORT_TEMPLATE VectorImage< char, 2 >
template class OTBImageBase_EXPORT_TEMPLATE VectorImage< float, 2 >
template class OTBImageBase_EXPORT_TEMPLATE VectorImage< unsigned short, 2 >
template class OTBImageBase_EXPORT_TEMPLATE VectorImage< int, 2 >
template class OTBImageBase_EXPORT_TEMPLATE VectorImage< double, 2 >