|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
14 #include "recConfig.h"
54 std::vector<PropertyPtr> retval;
78 QString(
"Method: %1, radius: %2, planeMethod: %3, nClosePlanes: %4, nPlanes: %5, nStarts: %6 ").arg(method).arg(
79 radius).arg(planeMethod).arg(nClosePlanes).arg(input->getDimensions()[2]).arg(nStarts));
82 if (!
mAlgorithm->initCL(kernel, nClosePlanes, input->getDimensions()[2], method, planeMethod, nStarts, newnessWeight, brightnessWeight))
85 bool ret =
mAlgorithm->reconstruct(input, outputData, radius, nClosePlanes);
93 for (std::vector<QString>::iterator it =
mMethods.begin(); it !=
mMethods.end(); ++it)
119 QString method = *it;
123 methods[0], methods, root);
virtual std::vector< PropertyPtr > getSettings(QDomElement root)
virtual DoublePropertyPtr getBrightnessWeightOption(QDomElement root)
virtual DoublePropertyPtr getNStartsOption(QDomElement root)
virtual DoublePropertyPtr getNewnessWeightOption(QDomElement root)
virtual QString getName() const
Namespace for all CustusX production code.
boost::shared_ptr< class ProcessedUSInputData > ProcessedUSInputDataPtr
virtual int getPlaneMethodID(QDomElement root)
boost::shared_ptr< class StringProperty > StringPropertyPtr
virtual StringPropertyPtr getPlaneMethodOption(QDomElement root)
std::vector< QString > mPlaneMethods
Abstract interface for reconstruction algorithm.
VNNclAlgorithmPtr mAlgorithm
virtual DoublePropertyPtr getRadiusOption(QDomElement root)
static DoublePropertyPtr initialize(const QString &uid, QString name, QString help, double value, DoubleRange range, int decimals, QDomNode root=QDomNode())
boost::shared_ptr< class DoubleProperty > DoublePropertyPtr
boost::shared_ptr< VNNclAlgorithm > VNNclAlgorithmPtr
virtual StringPropertyPtr getMethodOption(QDomElement root)
VNNclReconstructionMethodService(ctkPluginContext *context)
virtual ~VNNclReconstructionMethodService()
static StringPropertyPtr initialize(const QString &uid, QString name, QString help, QString value, QStringList range, QDomNode root=QDomNode())
std::vector< QString > mMethods
double getKernelExecutionTime()
Utility class for describing a bounded numeric range.
static QString findConfigFilePath(QString fileName, QString pathRelativeToConfigRoot, QString alternativeAbsolutePath="")
virtual bool reconstruct(ProcessedUSInputDataPtr input, vtkImageDataPtr outputData, QDomElement settings)
virtual int getMethodID(QDomElement root)
Settings * settings()
Shortcut for accessing the settings instance.
virtual DoublePropertyPtr getMaxPlanesOption(QDomElement root)