Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkMultiLabelSegmentationStackWriterBase.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkMultiLabelSegmentationStackWriterBase_h
14 #define mitkMultiLabelSegmentationStackWriterBase_h
15 
16 #include <mitkAbstractFileWriter.h>
17 #include <mitkLabelSetImage.h>
18 
19 #include <itkImageIOBase.h>
20 
22 
23 namespace mitk
24 {
32  {
33  public:
35 
37  const std::string& description);
38 
39  void Write() override;
41 
42  protected:
43  virtual itk::ImageIOBase::Pointer GetITKIO() const = 0;
44  virtual std::string GetStackImageExtension() const = 0;
45 
46  private:
47  std::vector<std::string> m_DefaultMetaDataKeys;
48  };
49 } // end of namespace mitk
50 
51 #endif
#define MITKMULTILABELIO_EXPORT
Base class for writing mitk::BaseData objects to files or streams.
The CustomMimeType class represents a custom mime-type which may be registered as a service object....
void Write() override
Write the base data to the specified location or output stream.
MultiLabelSegmentationStackWriterBase(const CustomMimeType &mimeType, const std::string &description)
virtual itk::ImageIOBase::Pointer GetITKIO() const =0
virtual std::string GetStackImageExtension() const =0
ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
Find image slices visible on a given plane.
ConfidenceLevel
A confidence level describing the confidence of the reader or writer in handling the given data.
Definition: mitkIFileIO.h:46