|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Writes classification feature results to an XML file. More...
#include <mitkCLResultXMLWriter.h>
Public Member Functions | |
| CLResultXMLWriter ()=default | |
| ~CLResultXMLWriter ()=default | |
| void | SetImage (const Image *image) |
| Set the intensity image whose features were computed. More... | |
| void | SetMask (const Image *mask) |
| Set the mask image used for feature computation. More... | |
| void | SetFeatures (const mitk::AbstractGlobalImageFeature::FeatureListType &features) |
| Set the computed feature list to be written. More... | |
| void | SetMethodName (const std::string &name) |
| Set the name of the analysis method. More... | |
| void | SetMethodVersion (const std::string &version) |
| Set the version of the analysis method. More... | |
| void | SetOrganisation (const std::string &orga) |
| Set the organisation performing the analysis. More... | |
| void | SetPipelineUID (const std::string &pipelineUID) |
| Set the unique identifier of the analysis pipeline. More... | |
| void | SetCLIArgs (const std::map< std::string, us::Any > &args) |
| Set the command-line arguments used for the analysis. More... | |
| void | write (const std::string &filePath) const |
| Write the XML output to a file. More... | |
| void | write (std::ostream &stream) const |
| Write the XML output to a stream. More... | |
Writes classification feature results to an XML file.
Serializes image metadata, mask information, computed features, and pipeline metadata (method name, version, organisation) into a structured XML format.
Definition at line 31 of file mitkCLResultXMLWriter.h.
|
default |
|
default |
| void mitk::cl::CLResultXMLWriter::SetCLIArgs | ( | const std::map< std::string, us::Any > & | args | ) |
Set the command-line arguments used for the analysis.
| args | Map of argument names to values. |
| void mitk::cl::CLResultXMLWriter::SetFeatures | ( | const mitk::AbstractGlobalImageFeature::FeatureListType & | features | ) |
Set the computed feature list to be written.
| features | The list of feature name-value pairs. |
| void mitk::cl::CLResultXMLWriter::SetImage | ( | const Image * | image | ) |
Set the intensity image whose features were computed.
| image | Pointer to the input image. |
| void mitk::cl::CLResultXMLWriter::SetMask | ( | const Image * | mask | ) |
Set the mask image used for feature computation.
| mask | Pointer to the mask image. |
| void mitk::cl::CLResultXMLWriter::SetMethodName | ( | const std::string & | name | ) |
Set the name of the analysis method.
| name | The method name string. |
| void mitk::cl::CLResultXMLWriter::SetMethodVersion | ( | const std::string & | version | ) |
Set the version of the analysis method.
| version | The version string. |
| void mitk::cl::CLResultXMLWriter::SetOrganisation | ( | const std::string & | orga | ) |
Set the organisation performing the analysis.
| orga | The organisation name. |
| void mitk::cl::CLResultXMLWriter::SetPipelineUID | ( | const std::string & | pipelineUID | ) |
Set the unique identifier of the analysis pipeline.
| pipelineUID | The pipeline UID string. |
| void mitk::cl::CLResultXMLWriter::write | ( | const std::string & | filePath | ) | const |
Write the XML output to a file.
| filePath | Path to the output XML file. |
| void mitk::cl::CLResultXMLWriter::write | ( | std::ostream & | stream | ) | const |
Write the XML output to a stream.
| stream | The output stream to write to. |