Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
DFTraining.cpp File Reference
#include <mitkBaseData.h>
#include <mitkImageCast.h>
#include <mitkImageToItk.h>
#include <metaCommand.h>
#include "mitkCommandLineParser.h"
#include <usAny.h>
#include <itkImageFileWriter.h>
#include <mitkIOUtil.h>
#include <iostream>
#include <fstream>
#include <itksys/SystemTools.hxx>
#include <mitkCoreObjectFactory.h>
#include <mitkFiberBundle.h>
#include <mitkTrackingForestHandler.h>
#include <math.h>

Go to the source code of this file.

Macros

#define _USE_MATH_DEFINES
 

Functions

int main (int argc, char *argv[])
 Train random forest classifier for machine learning based streamline tractography. More...
 

Macro Definition Documentation

#define _USE_MATH_DEFINES

Definition at line 33 of file DFTraining.cpp.

Function Documentation

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

Train random forest classifier for machine learning based streamline tractography.

Definition at line 41 of file DFTraining.cpp.

References mitkCommandLineParser::addArgument(), us::any_cast(), mitk::CastToItkImage(), mitkCommandLineParser::Float, mitkCommandLineParser::Int, mitk::IOUtil::Load(), mitk::IOUtil::LoadImage(), MITK_INFO, mitk::New(), mitkCommandLineParser::OutputFile, mitkCommandLineParser::parseArguments(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::SaveForest(), mitkCommandLineParser::setArgumentPrefix(), mitkCommandLineParser::setCategory(), mitkCommandLineParser::setContributor(), mitkCommandLineParser::setDescription(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::SetGrayMatterSamplesPerVoxel(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::SetMaskImages(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::SetMaxTreeDepth(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::SetNumTrees(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::SetRawData(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::SetSampleFraction(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::SetStepSize(), mitkCommandLineParser::setTitle(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::SetTractograms(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::SetWhiteMatterImages(), mitk::TrackingForestHandler< ShOrder, NumberOfSignalFeatures >::StartTraining(), and mitkCommandLineParser::StringList.