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" 33 #include "OTBImageBaseExport.h" 43 template <
class TPixel,
unsigned int VImageDimension = 2>
44 class OTBImageBase_EXPORT_TEMPLATE
VectorImage :
public itk::VectorImage<TPixel, VImageDimension>
49 typedef itk::VectorImage<TPixel, VImageDimension>
Superclass;
66 typedef typename Superclass::PixelType
PixelType;
94 itkStaticConstMacro(ImageDimension,
unsigned int, VImageDimension);
123 virtual std::string GetProjectionRef(
void)
const;
125 virtual void SetProjectionRef(
const std::string& wkt);
128 virtual std::string GetGCPProjection(
void)
const;
130 virtual unsigned int GetGCPCount(
void)
const;
132 virtual OTB_GCP& GetGCPs(
unsigned int GCPnum);
133 virtual const OTB_GCP& GetGCPs(
unsigned int GCPnum)
const;
135 virtual std::string GetGCPId(
unsigned int GCPnum)
const;
136 virtual std::string GetGCPInfo(
unsigned int GCPnum)
const;
137 virtual double GetGCPRow(
unsigned int GCPnum)
const;
138 virtual double GetGCPCol(
unsigned int GCPnum)
const;
139 virtual double GetGCPX(
unsigned int GCPnum)
const;
140 virtual double GetGCPY(
unsigned int GCPnum)
const;
141 virtual double GetGCPZ(
unsigned int GCPnum)
const;
144 virtual VectorType GetGeoTransform(
void)
const;
155 virtual VectorType GetUpperLeftCorner(
void)
const;
156 virtual VectorType GetUpperRightCorner(
void)
const;
157 virtual VectorType GetLowerLeftCorner(
void)
const;
158 virtual VectorType GetLowerRightCorner(
void)
const;
162 virtual ImageKeywordlistType GetImageKeywordlist(
void);
163 virtual const ImageKeywordlistType GetImageKeywordlist(
void)
const;
166 virtual void SetImageKeywordList(
const ImageKeywordlistType& kwl);
169 void CopyInformation(
const itk::DataObject*)
override;
171 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
188 return NeighborhoodAccessorFunctorType(this->GetNumberOfComponentsPerPixel());
194 return NeighborhoodAccessorFunctorType(this->GetNumberOfComponentsPerPixel());
205 void operator=(
const Self&) =
delete;
210 ImageMetadataInterfacePointerType GetMetaDataInterface()
const;
218 #ifndef OTB_MANUAL_INSTANTIATION itk::Size< Monteverdi_DIMENSION > SizeType
ImageMetadataInterfaceBase::ImageKeywordlistType ImageKeywordlistType
itk::WeakPointer< const Self > ConstWeakPointer
itk::Index< Monteverdi_DIMENSION > IndexType
Creation of an "otb" vector image which contains metadata.
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor() const
Storage and conversion for OSSIM metadata.
Superclass::PixelType PixelType
This OTB_GCP class is used to manage the GCP parameters in OTB.
void SetSignedSpacing(InputImage *input, SpacingType spacing)
Superclass::SpacingType SpacingType
Superclass::IndexType IndexType
ImageMetadataInterfaceBase::VectorType VectorType
Superclass::OffsetType OffsetType
Superclass::DirectionType DirectionType
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor()
ImageType::SpacingType GetSignedSpacing(const ImageType *input)
Superclass::PixelContainer PixelContainer
itk::SmartPointer< Self > Pointer
Superclass::IOPixelType IOPixelType
Superclass::SizeType SizeType
itk::VectorImageNeighborhoodAccessorFunctor< Self > NeighborhoodAccessorFunctorType
Superclass::ValueType ValueType
Superclass::PointType PointType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
itk::VectorImage< TPixel, VImageDimension > Superclass
itk::DefaultVectorPixelAccessorFunctor< Self > AccessorFunctorType
Superclass::InternalPixelType InternalPixelType
itk::SmartPointer< const Self > ConstPointer
VectorImageType::SpacingType SpacingType
ImageMetadataInterfaceBase::Pointer ImageMetadataInterfacePointerType
Superclass::RegionType RegionType
VectorImageType::PointType PointType
ImageMetadataInterfacePointerType m_ImageMetadataInterface