NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Classes | Macros | Typedefs | Functions | Variables
niftkBreastDensityFromMRIs.cxx File Reference

Classes

class  InputParameters
 

Macros

#define SegPrecisionTYPE   float
 

Typedefs

typedef itk::MetaDataDictionary DictionaryType
 
typedef itk::MetaDataObject
< std::string
MetaDataStringType
 
typedef float PixelType
 
typedef itk::Image< PixelType,
Dimension
ImageType
 
typedef itk::Image< unsigned
char, Dimension
MaskImageType
 

Functions

std::string GetTag (const DictionaryType &dictionary, std::string entryId, std::string *idTag=0)
 
std::string CreateRegisteredFilename (std::string fileTarget, std::string fileSource, std::string description)
 
std::string GetOrientationInfo (ImageType::Pointer image)
 
void PrintOrientationInfo (ImageType::Pointer image)
 
ImageType::Pointer ReorientateImage (ImageType::Pointer inImage, std::string desiredOrientation)
 
bool AffineRegisterImages (std::string fileTarget, std::string fileSource, std::string fileRegistered, std::string &fileAffineTransform, InputParameters &args)
 
bool NonRigidRegisterImages (std::string fileTarget, std::string fileSource, std::string fileRegistered, std::string fileAffineTransform, std::string &fileNonRigidTransform, InputParameters &args)
 
bool RegisterImages (std::string fileTarget, std::string fileSource, std::string fileRegistered, InputParameters &args)
 
bool ResampleImages (std::string fileTarget, std::string fileResampleInput, std::string fileResampleOutput, std::string fileNonRigidTransform, std::string resamplingInterpolation, InputParameters &args)
 
bool RegisterAndResample (std::string fileTarget, std::string fileSource, std::string fileResampleInput, std::string fileResampleOutput, std::string resamplingInterpolation, InputParameters &args)
 
std::string SplitStringIntoCommandAndArguments (std::string inString, QStringList &arguments)
 
void NaiveParenchymaSegmentation (std::string label, InputParameters &args, ImageType::Pointer &imSegmentedBreastMask, ImageType::Pointer &image, bool flgFatIsBright, float &nLeftVoxels, float &nRightVoxels, float &totalDensity, float &leftDensity, float &rightDensity, std::string fileOutputParenchyma)
 
bool SegmentParenchyma (std::string label, InputParameters &args, std::ofstream *foutOutputCSV, std::string fileOutputCSV, bool &flgVeryFirstRow, bool flgFatIsBright, std::string dirBaseName, std::string fileInputImage, std::string fileOutputBreastMask, std::string fileOutputParenchyma, std::string fileDensityMeasurements, ImageType::Pointer &imSegmentedBreastMask, ImageType::Pointer &image)
 
bool ReadFileCSV (InputParameters &args, std::string fileDensityMeasurements, std::ofstream *foutOutputCSV, bool &flgVeryFirstRow)
 
int main (int argc, char *argv[])
 

Variables

const unsigned int Dimension = 3
 

Macro Definition Documentation

#define SegPrecisionTYPE   float

Typedef Documentation

typedef itk::MetaDataDictionary DictionaryType
typedef itk::Image< PixelType, Dimension > ImageType
typedef itk::Image< unsigned char, Dimension > MaskImageType
typedef itk::MetaDataObject< std::string > MetaDataStringType
typedef float PixelType

Function Documentation

bool AffineRegisterImages ( std::string  fileTarget,
std::string  fileSource,
std::string  fileRegistered,
std::string fileAffineTransform,
InputParameters args 
)
std::string CreateRegisteredFilename ( std::string  fileTarget,
std::string  fileSource,
std::string  description 
)
std::string GetOrientationInfo ( ImageType::Pointer  image)
std::string GetTag ( const DictionaryType dictionary,
std::string  entryId,
std::string idTag = 0 
)
int main ( int  argc,
char *  argv[] 
)
void NaiveParenchymaSegmentation ( std::string  label,
InputParameters args,
ImageType::Pointer &  imSegmentedBreastMask,
ImageType::Pointer &  image,
bool  flgFatIsBright,
float &  nLeftVoxels,
float &  nRightVoxels,
float &  totalDensity,
float &  leftDensity,
float &  rightDensity,
std::string  fileOutputParenchyma 
)
bool NonRigidRegisterImages ( std::string  fileTarget,
std::string  fileSource,
std::string  fileRegistered,
std::string  fileAffineTransform,
std::string fileNonRigidTransform,
InputParameters args 
)
void PrintOrientationInfo ( ImageType::Pointer  image)
bool ReadFileCSV ( InputParameters args,
std::string  fileDensityMeasurements,
std::ofstream *  foutOutputCSV,
bool &  flgVeryFirstRow 
)
bool RegisterAndResample ( std::string  fileTarget,
std::string  fileSource,
std::string  fileResampleInput,
std::string  fileResampleOutput,
std::string  resamplingInterpolation,
InputParameters args 
)
bool RegisterImages ( std::string  fileTarget,
std::string  fileSource,
std::string  fileRegistered,
InputParameters args 
)
ImageType::Pointer ReorientateImage ( ImageType::Pointer  inImage,
std::string  desiredOrientation 
)
bool ResampleImages ( std::string  fileTarget,
std::string  fileResampleInput,
std::string  fileResampleOutput,
std::string  fileNonRigidTransform,
std::string  resamplingInterpolation,
InputParameters args 
)
bool SegmentParenchyma ( std::string  label,
InputParameters args,
std::ofstream *  foutOutputCSV,
std::string  fileOutputCSV,
bool &  flgVeryFirstRow,
bool  flgFatIsBright,
std::string  dirBaseName,
std::string  fileInputImage,
std::string  fileOutputBreastMask,
std::string  fileOutputParenchyma,
std::string  fileDensityMeasurements,
ImageType::Pointer &  imSegmentedBreastMask,
ImageType::Pointer &  image 
)
std::string SplitStringIntoCommandAndArguments ( std::string  inString,
QStringList &  arguments 
)

Variable Documentation

const unsigned int Dimension = 3