Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkMultiLabelSegmentationStackNiftiWriter.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 mitkMultiLabelSegmentationStackNiftiWriter_h
14 #define mitkMultiLabelSegmentationStackNiftiWriter_h
15 
17 
18 namespace mitk
19 {
28  {
29  public:
33 
34  protected:
36  itk::ImageIOBase::Pointer GetITKIO() const override;
37 
39  std::string GetStackImageExtension() const override;
40  private:
41  MultiLabelSegmentationStackNiftiWriter *Clone() const override;
42  };
43 } // end of namespace mitk
44 
45 #endif
Write a MultiLabelSegmentation as stacks of NIfTI files with a mitklabel.json metadata file.
itk::ImageIOBase::Pointer GetITKIO() const override
Return the ITK NIfTI ImageIO instance used for writing individual stack images.
std::string GetStackImageExtension() const override
Return the file extension for NIfTI stack images (".nii.gz").
MultiLabelSegmentationStackNiftiWriter()
Default constructor. Registers writer for the NIfTI stack MIME type.
Base class for writers that export MultiLabelSegmentation to a stack of image files with a metadata f...
Find image slices visible on a given plane.