|
ITK
5.3.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkImageFileReader_h
19 #define itkImageFileReader_h
22 #include "ITKIOImageBaseExport.h"
73 template <
typename TOutputImage,
74 typename ConvertPixelTraits = DefaultConvertPixelTraits<typename TOutputImage::IOPixelType>>
104 itkSetGetDecoratedInputMacro(FileName, std::string);
118 itkSetMacro(UseStreaming,
bool);
119 itkGetConstReferenceMacro(UseStreaming,
bool);
120 itkBooleanMacro(UseStreaming);
127 PrintSelf(std::ostream & os,
Indent indent)
const override;
131 DoConvertBuffer(
void * inputData,
size_t numberOfPixels);
139 TestFileExistanceAndReadability();
144 GenerateOutputInformation()
override;
152 EnlargeOutputRequestedRegion(
DataObject * output)
override;
156 GenerateData()
override;
183 template <
typename TOutputImage,
189 reader->SetFileName(filename);
191 return reader->GetOutput();
198 #ifndef ITK_MANUAL_INSTANTIATION
199 # include "itkImageFileReader.hxx"
202 #if defined ITK_IMAGEIO_FACTORY_REGISTER_MANAGER || defined ITK_IO_FACTORY_REGISTER_MANAGER
203 # include "itkImageIOFactoryRegisterManager.h"
206 #endif // itkImageFileReader_h
SmartPointer< Self > Pointer
Abstract superclass defines image IO interface.
ImageBaseType::SizeType SizeType
Control indentation during Print() invocation.
An ImageIORegion represents a structured region of data.
typename TOutputImage::SizeType SizeType
Data source that reads image data from a single file.
ImageBaseType::IndexType IndexType
Base class for all process objects that output image data.
std::string m_ExceptionMessage
typename TOutputImage::IndexType IndexType
ImageIORegion m_ActualIORegion
Traits class used to by ConvertPixels to convert blocks of pixels.
ImageBaseType::RegionType RegionType
TOutputImage::Pointer ReadImage(const std::string &filename)
bool m_UserSpecifiedImageIO
typename TOutputImage::RegionType ImageRegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename OutputImageType::PixelType OutputImagePixelType
ImageIOBase::Pointer m_ImageIO
Base class for all data objects in ITK.