Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkMultiLabelPresetHelper.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 QmitkMultiLabelPresetHelper_h
14 #define QmitkMultiLabelPresetHelper_h
15 
16 #include <mitkLabelSetImage.h>
17 
19 
28 
36 void MITKSEGMENTATIONUI_EXPORT QmitkLoadMultiLabelPreset(const std::vector<mitk::MultiLabelSegmentation::Pointer>& segmentations);
37 
38 #endif
#define MITKSEGMENTATIONUI_EXPORT
void MITKSEGMENTATIONUI_EXPORT QmitkLoadMultiLabelPreset(const std::vector< mitk::MultiLabelSegmentation::Pointer > &segmentations)
Loads a label preset and imposes it on all passed segmentations.
void MITKSEGMENTATIONUI_EXPORT QmitkSaveMultiLabelPreset(const mitk::MultiLabelSegmentation *segmentation)
Saves the label information of a segmentation as a preset file.
MultiLabelSegmentation class for handling labels and layers in a segmentation session.