18#ifndef sitkImageReaderBase_h
19#define sitkImageReaderBase_h
60 SITK_RETURN_SELF_TYPE_HEADER
80 virtual std::vector<std::string>
88 virtual SITK_RETURN_SELF_TYPE_HEADER
112 virtual SITK_RETURN_SELF_TYPE_HEADER
virtual std::vector< std::string > GetRegisteredImageIOs() const
Get a vector of the names of registered itk ImageIOs.
virtual Image Execute()=0
PixelIDValueType ExecuteInternalReadScalar(int componentType)
std::string ToString() const override
virtual bool GetLoadPrivateTags() const
Set/Get loading private DICOM tags into Image's MetaData.
virtual std::string GetImageIO() const
Set/Get name of ImageIO to use.
PixelIDValueType ExecuteInternalReadVector(int componentType)
PixelIDValueEnum m_OutputPixelType
void GetPixelIDFromImageIO(const itk::ImageIOBase *iobase, PixelIDValueType &outPixelType, unsigned int &outDimensions)
unsigned int GetDimensionFromImageIO(const itk::ImageIOBase *iobase, unsigned int i)
unsigned int GetDimensionFromImageIO(const PathType &filename, unsigned int i)
itk::SmartPointer< ImageIOBase > GetImageIOBase(const PathType &fileName)
virtual Self & SetLoadPrivateTags(bool loadPrivateTags)
Set/Get loading private DICOM tags into Image's MetaData.
void GetPixelIDFromImageIO(const PathType &fileName, PixelIDValueType &outPixelType, unsigned int &outDimensions)
static std::string GetImageIOFromFileName(const PathType &fileName)
Get the automatic ImageIO from the ImageIOFactory.
Self & SetOutputPixelType(PixelIDValueEnum pixelID)
Set/Get The output PixelType of the image.
std::string m_ImageIOName
PixelIDValueEnum GetOutputPixelType() const
Set/Get The output PixelType of the image.
virtual void LoadPrivateTagsOff()
Set/Get loading private DICOM tags into Image's MetaData.
virtual Self & SetImageIO(const std::string &imageio)
Set/Get name of ImageIO to use.
PixelIDValueType ExecuteInternalReadComplex(int componentType)
virtual void LoadPrivateTagsOn()
Set/Get loading private DICOM tags into Image's MetaData.
~ImageReaderBase() override
The Image class for SimpleITK.
PixelIDValueEnum
Enumerated values of pixelIDs.