SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
svkBrukerDCMMRSReader Class Reference

#include <svkBrukerDCMMRSReader.h>

Inheritance diagram for svkBrukerDCMMRSReader:
svkDcmVolumeReader svkImageReader2

Public Member Functions

 vtkTypeMacro (svkBrukerDCMMRSReader, svkDcmVolumeReader)
 
virtual const char * GetDescriptiveName ()
 
virtual svkImageReader2::ReaderType GetReaderType ()
 
virtual int CanReadFile (const char *fname)
 
- Public Member Functions inherited from svkDcmVolumeReader
 vtkTypeMacro (svkDcmVolumeReader, svkImageReader2)
 
- Public Member Functions inherited from svkImageReader2
 vtkTypeMacro (svkImageReader2, vtkImageReader2)
 
svkImageDataGetOutput ()
 
svkImageDataGetOutput (int)
 
svkDcmHeaderGetDcmHeader (const char *fileName)
 
void OnlyReadOneInputFile ()
 
void OnlyGlobFiles ()
 
void GlobFileNames ()
 
void OnlyReadHeader (bool onlyReadHeader)
 

Static Public Member Functions

static svkBrukerDCMMRSReaderNew ()
 
- Static Public Member Functions inherited from svkDcmVolumeReader
static float GetFloatValAttribute7 (vector< string > vec)
 
static int GetIntValAttribute8 (vector< string > vec)
 
static void GetVOILUTScaledPixels (float *floatPixels, unsigned short *shortPixels, float center, float window, int numberOfPixels)
 
- Static Public Member Functions inherited from svkImageReader2
static string StripWhite (string in)
 
static string RemoveDelimFromDate (string *slashDate, char delimChar= '/')
 
static string GetFileRoot (const char *fname)
 
static string GetFileExtension (const char *fname)
 
static string GetFilePath (const char *fname)
 
static string GetFileNameWithoutPath (const char *fname)
 
static long GetFileSize (ifstream *fs)
 

Protected Member Functions

 svkBrukerDCMMRSReader ()
 
 ~svkBrukerDCMMRSReader ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual
svkDcmHeader::DcmPixelDataFormat 
GetFileType ()
 
virtual void InitDcmHeader ()
 
virtual bool CheckForMultiVolume ()
 
virtual void CleanAttributes (set< string > *uniqueSlices)
 
- Protected Member Functions inherited from svkDcmVolumeReader
 svkDcmVolumeReader ()
 
 ~svkDcmVolumeReader ()
 
virtual void ExecuteInformation ()
 
virtual void ExecuteDataWithInformation (vtkDataObject *output, vtkInformation *outInfo)
 
ProprietarySOP ContainsProprietaryContent (svkImageData *data)
 
void InitFileNames ()
 
void OnlyReadInputFile ()
 
void SortFilesByImagePositionPatient (vector< vector< string > > &dcmSeriesAttributes, bool ascending)
 
void SortFilesByInstanceNumber (vector< vector< string > > &dcmSeriesAttributes, int numSlicesPerVol, bool ascending)
 
void InitSliceOrder ()
 
void InitSliceOrder (string hfileStart, string fileEnd)
 
float GetSliceSpacing ()
 
- Protected Member Functions inherited from svkImageReader2
 svkImageReader2 ()
 
 ~svkImageReader2 ()
 
void SetupOutputInformation ()
 
void SetupOutputExtent ()
 
void SetupOutputScalarData ()
 
virtual void ReadLine (ifstream *hdr, istringstream *iss)
 
void ReadLineIgnore (ifstream *hdr, istringstream *iss, char delim)
 
string ReadLineSubstr (ifstream *hdr, istringstream *iss, int start, int stop)
 
string ReadLineValue (ifstream *hdr, istringstream *iss, char delim)
 
int ReadLineKeyValue (ifstream *hdr, istringstream *iss, char delim, string *key, string *value)
 
virtual void SetProvenance ()
 
virtual string GetFileSeriesDescription (string fileName)
 
void SetReadLength (int length)
 

Additional Inherited Members

- Public Types inherited from svkImageReader2
enum  ReaderType {
  UNDEFINED = -1, DICOM_MRS =0, DICOM_MRI, DICOM_ENHANCED_MRI,
  DICOM_SEGMENTATION, DICOM_RAW, SIEMENS_RDA, VARIAN_FID,
  VARIAN_FDF, GE_PFILE, GE_SDBM, GE_POSTAGE_STAMP,
  GE_SIGNA_LX2, GE_SIGNA_5X, LC_MODEL_COORD, LC_MODEL_CSV,
  LC_MODEL_TABLE, VARIABLE_FLIP_DAT, BRUKER_MRS, PHILIPS_S,
  DDF, IDF, LAST_TYPE = IDF
}
 
- Protected Types inherited from svkDcmVolumeReader
enum  ProprietarySOP { DICOM_STD_SOP = 0, GE_POSTAGE_STAMP_SOP, BRUKER_MRS_SOP }
 
- Protected Attributes inherited from svkDcmVolumeReader
int numFrames
 
svkDcmHeader::DcmDataOrderingDirection dataSliceOrder
 
int numVolumes
 
- Protected Attributes inherited from svkImageReader2
vtkDataArray * dataArray
 
bool readOneInputFile
 
bool onlyGlobFiles
 
bool onlyReadHeader
 

Detailed Description

Reader for Bruker DICOM MRS data. Bruker encodes MRS data in a DICOM MR Image Storage SOP instance. If the MRI SOP Manufacturer is Bruker and the SequenceName contains CSI, then this custom DICOM reader is used to map the data to an MRS object. Currently this reader expects only 2D CSI data.

Thanks to Yanurita Dwihapsari, Timothy Stait-Gardner, PhD and William S. Price, DSc. of University of Western Sydney for providing sample Bruker data and helpful discussions.

Constructor & Destructor Documentation

svkBrukerDCMMRSReader ( )
protected
~svkBrukerDCMMRSReader ( )
protected

Member Function Documentation

int CanReadFile ( const char *  fname)
virtual
bool CheckForMultiVolume ( )
protectedvirtual

Reimplemented from svkDcmVolumeReader.

void CleanAttributes ( set< string > *  uniqueSlices)
protectedvirtual
int FillOutputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

Reimplemented from svkImageReader2.

virtual const char* GetDescriptiveName ( )
inlinevirtual
svkDcmHeader::DcmPixelDataFormat GetFileType ( )
protectedvirtual

Returns the file root without extension

Implements svkImageReader2.

References svkDcmHeader::SIGNED_FLOAT_4.

virtual svkImageReader2::ReaderType GetReaderType ( )
inlinevirtual
void InitDcmHeader ( )
protectedvirtual
static svkBrukerDCMMRSReader* New ( )
static
vtkTypeMacro ( svkBrukerDCMMRSReader  ,
svkDcmVolumeReader   
)

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