Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkCommon.h>
#include <chrono>
#include <mitkIOUtil.h>
#include <mitkCommandLineParser.h>
#include <mitkException.h>
#include <mitkPhotoacousticFilterService.h>
#include <mitkBeamformingSettings.h>
#include <mitkCastToFloatImageFilter.h>
#include <itksys/SystemTools.hxx>
#include <tinyxml/tinyxml.h>
Go to the source code of this file.
Functions | |
InputParameters | parseInput (int argc, char *argv[]) |
TiXmlElement * | getRootChild (TiXmlElement *root, std::string childName) |
void | ParseXML (std::string xmlFile, InputParameters input, mitk::BeamformingSettings::Pointer *bfSet, BandpassSettings &bandpassSet, CropSettings &cropSet, ResampleSettings &resSet, BModeSettings &bmodeSet, ProcessSettings &processSet) |
int | main (int argc, char *argv[]) |
TiXmlElement* getRootChild | ( | TiXmlElement * | root, |
std::string | childName | ||
) |
Definition at line 146 of file PABeamformingTool.cpp.
Referenced by ParseXML().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 312 of file PABeamformingTool.cpp.
References MITK_INFO, mitk::CastToFloatImageFilter::New(), mitk::PhotoacousticFilterService::New(), parseInput(), ParseXML(), and mitk::IOUtil::Save().
InputParameters parseInput | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 75 of file PABeamformingTool.cpp.
References mitkCommandLineParser::addArgument(), us::any_cast(), mitkCommandLineParser::beginGroup(), mitkCommandLineParser::Bool, mitkCommandLineParser::endGroup(), mitkCommandLineParser::File, mitkCommandLineParser::Image, mitkCommandLineParser::Input, MITK_INFO, mitkThrow, mitkCommandLineParser::Output, mitkCommandLineParser::parseArguments(), mitkCommandLineParser::setArgumentPrefix(), mitkCommandLineParser::setCategory(), mitkCommandLineParser::setContributor(), mitkCommandLineParser::setDescription(), mitkCommandLineParser::setTitle(), and mitkCommandLineParser::String.
Referenced by main().
void ParseXML | ( | std::string | xmlFile, |
InputParameters | input, | ||
mitk::BeamformingSettings::Pointer * | bfSet, | ||
BandpassSettings & | bandpassSet, | ||
CropSettings & | cropSet, | ||
ResampleSettings & | resSet, | ||
BModeSettings & | bmodeSet, | ||
ProcessSettings & | processSet | ||
) |
Definition at line 156 of file PABeamformingTool.cpp.
References compare(), getRootChild(), mitk::InterpolateImageFunction::Linear, MITK_INFO, mitkThrow, and mitk::BeamformingSettings::New().
Referenced by main().