CBICA Toolkit  1.0.0
DicomMetadataReader Class Reference

Public Types

typedef itk::MetaDataDictionary DictionaryType
 
typedef std::vector< std::string > FileNamesContainer
 
typedef itk::GDCMImageIO ImageIOType
 
typedef itk::Image< PixelType, 2 > ImageType
 
typedef itk::MapContainer< std::string, std::pair< std::string, std::string > > MapContainerType
 
typedef itk::MetaDataObject< std::string > MetaDataStringType
 
typedef itk::GDCMSeriesFileNames NamesGeneratorType
 
typedef signed short PixelType
 we may need to handle pixeltype in a template if we run into issues
 
typedef itk::ImageFileReader< ImageType > ReaderType
 

Public Member Functions

 DicomMetadataReader ()
 Constructor/Destructor.
 
std::map< std::string, std::pair< std::string, std::string > > GetMetaDataMap ()
 Get all metadata as a map <tag, <description, value> >
 
bool GetTagValue (std::string tag, std::string &label, std::string &value)
 Get individual tag description and value for a given tag.
 
bool ReadMetaData ()
 Read meta data.
 
void SetFilePath (std::string path)
 Set the input file path to dicom image.
 

Public Attributes

const unsigned int Dimension = 2
 

The documentation for this class was generated from the following file: