Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
Fiberfox.cpp File Reference
#include <mitkImageCast.h>
#include <mitkITKImageImport.h>
#include <mitkProperties.h>
#include <mitkImage.h>
#include <mitkIOUtil.h>
#include <mitkFiberBundle.h>
#include <mitkFiberfoxParameters.h>
#include "mitkCommandLineParser.h"
#include <itkTractsToDWIImageFilter.h>
#include <boost/lexical_cast.hpp>

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 Command line interface to Fiberfox. Simulate a diffusion-weighted image from a tractogram using the specified parameter file. More...
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Command line interface to Fiberfox. Simulate a diffusion-weighted image from a tractogram using the specified parameter file.

Definition at line 35 of file Fiberfox.cpp.

References mitkCommandLineParser::addArgument(), us::any_cast(), mitkCommandLineParser::Bool, mitk::CastToItkImage(), mitk::SignalGenerationParameters::GetGradientDirections(), mitk::IOUtil::GetTempPath(), mitk::GrabItkImageMemory(), mitk::DiffusionPropertyHelper::GRADIENTCONTAINERPROPERTYNAME, mitk::DiffusionPropertyHelper::InitializeImage(), mitkCommandLineParser::InputFile, mitk::IOUtil::Load(), mitk::FiberfoxParameters< ScalarType >::LoadParameters(), mitk::SignalGenerationParameters::m_Bvalue, mitk::SignalGenerationParameters::m_ImageDirection, mitk::SignalGenerationParameters::m_ImageOrigin, mitk::SignalGenerationParameters::m_ImageRegion, mitk::SignalGenerationParameters::m_ImageSpacing, mitk::FiberfoxParameters< ScalarType >::m_Misc, mitk::MiscFiberfoxParameters::m_OutputPath, mitk::MiscFiberfoxParameters::m_OutputPrefix, mitk::FiberfoxParameters< ScalarType >::m_SignalGen, mitk::SignalGenerationParameters::m_SignalScale, max(), MITK_DEBUG, mitk::FloatProperty::New(), mitk::New(), itk::TractsToDWIImageFilter< PixelType >::New(), mitk::Image::New(), mitkCommandLineParser::OutputFile, mitkCommandLineParser::parseArguments(), mitk::DiffusionPropertyHelper::REFERENCEBVALUEPROPERTYNAME, mitk::IOUtil::Save(), mitk::FiberfoxParameters< ScalarType >::SaveParameters(), mitkCommandLineParser::setArgumentPrefix(), mitkCommandLineParser::setCategory(), mitkCommandLineParser::setContributor(), mitkCommandLineParser::setDescription(), mitk::SignalGenerationParameters::SetGradienDirections(), mitkCommandLineParser::setTitle(), and mitkCommandLineParser::String.