13 #ifndef __mitkLabelSetImageIO_h 14 #define __mitkLabelSetImageIO_h 43 void Write()
override;
48 int GetIntByKey(
const itk::MetaDataDictionary &dic,
const std::string &str);
49 std::string
GetStringByKey(
const itk::MetaDataDictionary &dic,
const std::string &str);
57 std::vector<itk::SmartPointer<BaseData>>
DoRead()
override;
65 std::vector<std::string> m_DefaultMetaDataKeys;
69 #endif // __mitkLabelSetImageIO_h
ConfidenceLevel GetReaderConfidenceLevel() const override
mitk::LabelSetImage InputType
int GetIntByKey(const itk::MetaDataDictionary &dic, const std::string &str)
std::string GetStringByKey(const itk::MetaDataDictionary &dic, const std::string &str)
DataCollection - Class to facilitate loading/accessing structured data.
void Write() override
Write the base data to the specified location or output stream.
std::vector< itk::SmartPointer< BaseData > > DoRead() override
Reads a number of mitk::LabelSetImages from the file system.
ConfidenceLevel
A confidence level describing the confidence of the reader or writer in handling the given data...
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
ConfidenceLevel GetWriterConfidenceLevel() const override
LabelSetImage class for handling labels and layers in a segmentation session.
Abstract class for implementing a reader and writer.
virtual void InitializeDefaultMetaDataKeys()