18 #ifndef sitkImageFileReader_h
19 #define sitkImageFileReader_h
45 virtual std::string ToString()
const;
48 virtual std::string
GetName()
const {
return std::string(
"ImageFileReader"); }
50 SITK_RETURN_SELF_TYPE_HEADER SetFileName (
const std::string &fn );
51 std::string GetFileName()
const;
68 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
An abract base class for image readers.
PixelIDValueEnum
Enumerated values of pixelIDs.
Read a 2D or 3D image and return a smart pointer to a SimpleITK image.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
SITKIO_EXPORT Image ReadImage(const std::string &filename, PixelIDValueEnum outputPixelType=sitkUnknown)
ReadImage is a procedural interface to the ImageFileReader class which is convenient for most image r...
The main Image class for SimpleITK.
virtual std::string GetName() const