21 #ifndef otbWrapperOutputImageParameter_h
22 #define otbWrapperOutputImageParameter_h
25 #include "itkImageBase.h"
79 itkSetMacro(RAMValue,
unsigned int);
80 itkGetMacro(RAMValue,
unsigned int);
89 m_PixelType = m_DefaultPixelType;
105 itkGetStringMacro(FileName);
123 return GetFileName();
143 template <
typename TInputImage>
147 template <
typename TOutputImage,
typename TInputImage>
Creation of an "otb" image which contains metadata.
itk::SmartPointer< Self > Pointer
This class represents a OutputImage parameter.
void SetFileName(const std::string &filename)
itk::SmartPointer< Self > Pointer
void FromString(const std::string &value) override
bool HasValue() const override
static bool ConvertStringToPixelType(const std::string &value, ImagePixelType &type)
ImageBaseType * GetValue(void)
ParameterType GetType() const override
void SetFileName(const char *filename)
otb::MultiImageFileWriter::Pointer m_MultiWriter
itk::ProcessObject::Pointer m_OutputCaster
itk::ProcessObject * GetWriter()
static std::string ConvertPixelTypeToString(ImagePixelType type)
itk::SmartPointer< const Self > ConstPointer
bool IsMultiWritingEnabled()
std::string CheckFileName(bool fixMissingExtension=false)
ImagePixelType m_PixelType
std::string ToString() const override
ImageBaseType::Pointer m_Image
void operator=(const Parameter &)=delete
void SetValue(ImageBaseType *image)
void ClampAndWriteVectorImage(TInputImage *)
itk::ProcessObject::Pointer m_InputCaster
OutputImageParameter Self
itk::ProcessObject::Pointer m_Writer
OutputImageParameter(const Parameter &)=delete
void SwitchInput(TInputImage *)
~OutputImageParameter() override
itkGetObjectMacro(Image, ImageBaseType)
ImagePixelType m_DefaultPixelType
void InitializeWriters(otb::MultiImageFileWriter::Pointer multi=otb::MultiImageFileWriter::Pointer())
This class represent a parameter for the wrapper framework This class is a high level class represent...
itk::ImageBase< 2 > ImageBaseType
@ ParameterType_OutputImage
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.