13 #ifndef mitkCLResultXMLWriter_h
14 #define mitkCLResultXMLWriter_h
83 void SetCLIArgs(
const std::map<std::string, us::Any>& args);
89 void write(
const std::string& filePath)
const;
95 void write(std::ostream& stream)
const;
101 Image::ConstPointer m_Image;
102 Image::ConstPointer m_Mask;
104 std::string m_MethodName =
"unknown";
105 std::string m_MethodVersion =
"unknown";
106 std::string m_Organisation =
"unknown";
107 std::string m_PipelineUID =
"unknown";
108 std::map<std::string, us::Any> m_CLIArgs;
#define MITKCLUTILITIES_EXPORT
std::vector< std::pair< FeatureID, double > > FeatureListType
Image class for storing multi-dimensional medical image data.
Writes classification feature results to an XML file.
void write(const std::string &filePath) const
Write the XML output to a file.
void SetMethodName(const std::string &name)
Set the name of the analysis method.
void SetOrganisation(const std::string &orga)
Set the organisation performing the analysis.
void write(std::ostream &stream) const
Write the XML output to a stream.
void SetMask(const Image *mask)
Set the mask image used for feature computation.
void SetCLIArgs(const std::map< std::string, us::Any > &args)
Set the command-line arguments used for the analysis.
void SetPipelineUID(const std::string &pipelineUID)
Set the unique identifier of the analysis pipeline.
void SetFeatures(const mitk::AbstractGlobalImageFeature::FeatureListType &features)
Set the computed feature list to be written.
void SetImage(const Image *image)
Set the intensity image whose features were computed.
~CLResultXMLWriter()=default
CLResultXMLWriter()=default
void SetMethodVersion(const std::string &version)
Set the version of the analysis method.
Find image slices visible on a given plane.