An abract base class for image readers.
More...
#include <sitkImageReaderBase.h>
|
static bool | GetGlobalDefaultDebug () |
|
static void | GlobalDefaultDebugOff () |
|
static void | GlobalDefaultDebugOn () |
|
static void | SetGlobalDefaultDebug (bool debugFlag) |
|
static void | GlobalWarningDisplayOn () |
|
static void | GlobalWarningDisplayOff () |
|
static void | SetGlobalWarningDisplay (bool flag) |
|
static bool | GetGlobalWarningDisplay () |
|
static void | SetGlobalDefaultNumberOfThreads (unsigned int n) |
|
static unsigned int | GetGlobalDefaultNumberOfThreads () |
|
static double | GetGlobalDefaultCoordinateTolerance () |
| Access the global tolerance to determine congruent spaces. More...
|
|
static void | SetGlobalDefaultCoordinateTolerance (double) |
| Access the global tolerance to determine congruent spaces. More...
|
|
static double | GetGlobalDefaultDirectionTolerance () |
| Access the global tolerance to determine congruent spaces. More...
|
|
static void | SetGlobalDefaultDirectionTolerance (double) |
| Access the global tolerance to determine congruent spaces. More...
|
|
template<class TImageType > |
static TImageType::ConstPointer | CastImageToITK (const Image &img) |
|
template<class TImageType > |
static Image | CastITKToImage (TImageType *img) |
|
template<class TPixelType , unsigned int VImageDimension, unsigned int VLength, template< typename, unsigned int > class TVector> |
static Image | CastITKToImage (itk::Image< TVector< TPixelType, VLength >, VImageDimension > *img) |
|
static const itk::EventObject & | GetITKEventObject (EventEnum e) |
|
template<typename T > |
static std::ostream & | ToStringHelper (std::ostream &os, const T &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const char &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const signed char &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const unsigned char &v) |
|
An abract base class for image readers.
Definition at line 39 of file sitkImageReaderBase.h.
virtual itk::simple::ImageReaderBase::~ImageReaderBase |
( |
| ) |
|
|
virtual |
itk::simple::ImageReaderBase::ImageReaderBase |
( |
| ) |
|
virtual Image itk::simple::ImageReaderBase::Execute |
( |
| ) |
|
|
pure virtual |
PixelIDValueType itk::simple::ImageReaderBase::ExecuteInternalReadComplex |
( |
int |
componentType | ) |
|
|
private |
PixelIDValueType itk::simple::ImageReaderBase::ExecuteInternalReadScalar |
( |
int |
componentType | ) |
|
|
private |
PixelIDValueType itk::simple::ImageReaderBase::ExecuteInternalReadVector |
( |
int |
componentType | ) |
|
|
private |
unsigned int itk::simple::ImageReaderBase::GetDimensionFromImageIO |
( |
const std::string & |
fileName, |
|
|
unsigned int |
i |
|
) |
| |
|
protected |
unsigned int itk::simple::ImageReaderBase::GetDimensionFromImageIO |
( |
const itk::ImageIOBase * |
iobase, |
|
|
unsigned int |
i |
|
) |
| |
|
protected |
virtual std::string itk::simple::ImageReaderBase::GetImageIO |
( |
void |
| ) |
const |
|
virtual |
Set/Get name of ImageIO to use.
An option to override the automatically detected ImageIO used to read the image. The available ImageIOs are listed by the GetRegisteredImageIOs method. If the ImageIO can not be constructed an exception will be generated. If the ImageIO can not read the file an exception will be generated.
The default value is an empty string (""). This indicates that the ImageIO will be automatically determined by the ITK ImageIO factory mechanism.
virtual bool itk::simple::ImageReaderBase::GetLoadPrivateTags |
( |
| ) |
const |
|
virtual |
Set/Get loading private DICOM tags into Image's MetaData.
Unknown private tags may be encoded with Base64 encoding.
PixelIDValueEnum itk::simple::ImageReaderBase::GetOutputPixelType |
( |
void |
| ) |
const |
Set/Get The output PixelType of the image.
By default the value is sitkUnknown, which enable the output pixel type to be same as the file. If the pixel type is specified then the itk::ConvertPixelBuffer will be used to convert the pixels.
void itk::simple::ImageReaderBase::GetPixelIDFromImageIO |
( |
const std::string & |
fileName, |
|
|
PixelIDValueType & |
outPixelType, |
|
|
unsigned int & |
outDimensions |
|
) |
| |
|
protected |
virtual std::vector<std::string> itk::simple::ImageReaderBase::GetRegisteredImageIOs |
( |
| ) |
const |
|
virtual |
Get a vector of the names of registered itk ImageIOs.
virtual void itk::simple::ImageReaderBase::LoadPrivateTagsOff |
( |
| ) |
|
|
virtual |
Set/Get loading private DICOM tags into Image's MetaData.
Unknown private tags may be encoded with Base64 encoding.
virtual void itk::simple::ImageReaderBase::LoadPrivateTagsOn |
( |
| ) |
|
|
virtual |
Set/Get loading private DICOM tags into Image's MetaData.
Unknown private tags may be encoded with Base64 encoding.
virtual Self& itk::simple::ImageReaderBase::SetImageIO |
( |
const std::string & |
imageio | ) |
|
|
virtual |
Set/Get name of ImageIO to use.
An option to override the automatically detected ImageIO used to read the image. The available ImageIOs are listed by the GetRegisteredImageIOs method. If the ImageIO can not be constructed an exception will be generated. If the ImageIO can not read the file an exception will be generated.
The default value is an empty string (""). This indicates that the ImageIO will be automatically determined by the ITK ImageIO factory mechanism.
virtual Self& itk::simple::ImageReaderBase::SetLoadPrivateTags |
( |
bool |
loadPrivateTags | ) |
|
|
virtual |
Set/Get loading private DICOM tags into Image's MetaData.
Unknown private tags may be encoded with Base64 encoding.
Set/Get The output PixelType of the image.
By default the value is sitkUnknown, which enable the output pixel type to be same as the file. If the pixel type is specified then the itk::ConvertPixelBuffer will be used to convert the pixels.
virtual std::string itk::simple::ImageReaderBase::ToString |
( |
| ) |
const |
|
virtual |
std::string itk::simple::ImageReaderBase::m_ImageIOName |
|
private |
bool itk::simple::ImageReaderBase::m_LoadPrivateTags |
|
private |
The documentation for this class was generated from the following file: