18 #ifndef sitkImageReaderBase_h
19 #define sitkImageReaderBase_h
62 virtual Image Execute() = 0;
64 std::string ToString()
const override;
75 virtual SITK_RETURN_SELF_TYPE_HEADER SetLoadPrivateTags(
bool loadPrivateTags);
76 virtual bool GetLoadPrivateTags()
const;
77 virtual void LoadPrivateTagsOn();
78 virtual void LoadPrivateTagsOff();
95 virtual SITK_RETURN_SELF_TYPE_HEADER SetImageIO(
const std::string &imageio);
96 virtual std::string GetImageIO( )
const;
107 static std::string GetImageIOFromFileName(
const std::string &fileName);
113 void GetPixelIDFromImageIO(
const std::string &fileName,
115 unsigned int & outDimensions );
118 unsigned int & outDimensions );
120 unsigned int GetDimensionFromImageIO(
const std::string &fileName,
unsigned int i );
121 unsigned int GetDimensionFromImageIO(
const itk::ImageIOBase* iobase,
unsigned int i );
143 #endif // sitkImageReaderBase_h