Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkLabelSetImage.h File Reference
#include <shared_mutex>
#include <mitkImage.h>
#include <mitkLabel.h>
#include <mitkLookupTable.h>
#include <mitkMultiLabelEvents.h>
#include <mitkMessage.h>
#include <mitkITKEventObserverGuard.h>
#include <MitkMultilabelExports.h>

Go to the source code of this file.

Classes

class  mitk::LabelSetImage
 LabelSetImage class for handling labels and layers in a segmentation session. More...
 

Namespaces

 mitk
 Find image slices visible on a given plane.
 
 mitk::MultiLabelSegmentation
 

Typedefs

using mitk::LabelValueMappingVector = std::vector< std::pair< Label::PixelType, Label::PixelType > >
 

Enumerations

enum  mitk::MultiLabelSegmentation::MergeStyle { mitk::MultiLabelSegmentation::MergeStyle::Replace, mitk::MultiLabelSegmentation::MergeStyle::Merge }
 
enum  mitk::MultiLabelSegmentation::OverwriteStyle { mitk::MultiLabelSegmentation::OverwriteStyle::RegardLocks, mitk::MultiLabelSegmentation::OverwriteStyle::IgnoreLocks }
 

Functions

MITKMULTILABEL_EXPORT bool mitk::Equal (const mitk::LabelSetImage &leftHandSide, const mitk::LabelSetImage &rightHandSide, ScalarType eps, bool verbose)
 Equal A function comparing two label set images for being equal in meta- and imagedata. More...
 
MITKMULTILABEL_EXPORT bool mitk::Equal (const mitk::LabelSetImage::ConstLabelVectorType &leftHandSide, const mitk::LabelSetImage::ConstLabelVectorType &rightHandSide, ScalarType eps, bool verbose)
 Equal A function comparing two vectors of labels for being equal in data. More...
 
MITKMULTILABEL_EXPORT void mitk::TransferLabelContentAtTimeStep (const LabelSetImage *sourceImage, LabelSetImage *destinationImage, const TimeStepType timeStep, LabelValueMappingVector labelMapping={ {1, 1} }, MultiLabelSegmentation::MergeStyle mergeStyle=MultiLabelSegmentation::MergeStyle::Replace, MultiLabelSegmentation::OverwriteStyle overwriteStlye=MultiLabelSegmentation::OverwriteStyle::RegardLocks)
 
MITKMULTILABEL_EXPORT void mitk::TransferLabelContent (const LabelSetImage *sourceImage, LabelSetImage *destinationImage, LabelValueMappingVector labelMapping={ {1, 1} }, MultiLabelSegmentation::MergeStyle mergeStyle=MultiLabelSegmentation::MergeStyle::Replace, MultiLabelSegmentation::OverwriteStyle overwriteStlye=MultiLabelSegmentation::OverwriteStyle::RegardLocks)
 
MITKMULTILABEL_EXPORT void mitk::TransferLabelContentAtTimeStep (const Image *sourceImage, Image *destinationImage, const mitk::ConstLabelVector &destinationLabelVector, const TimeStepType timeStep, mitk::Label::PixelType sourceBackground=LabelSetImage::UNLABELED_VALUE, mitk::Label::PixelType destinationBackground=LabelSetImage::UNLABELED_VALUE, bool destinationBackgroundLocked=false, LabelValueMappingVector labelMapping={ {1, 1} }, MultiLabelSegmentation::MergeStyle mergeStyle=MultiLabelSegmentation::MergeStyle::Replace, MultiLabelSegmentation::OverwriteStyle overwriteStlye=MultiLabelSegmentation::OverwriteStyle::RegardLocks)
 
MITKMULTILABEL_EXPORT void mitk::TransferLabelContent (const Image *sourceImage, Image *destinationImage, const mitk::ConstLabelVector &destinationLabelVector, mitk::Label::PixelType sourceBackground=LabelSetImage::UNLABELED_VALUE, mitk::Label::PixelType destinationBackground=LabelSetImage::UNLABELED_VALUE, bool destinationBackgroundLocked=false, LabelValueMappingVector labelMapping={ {1, 1} }, MultiLabelSegmentation::MergeStyle mergeStyle=MultiLabelSegmentation::MergeStyle::Replace, MultiLabelSegmentation::OverwriteStyle overwriteStlye=MultiLabelSegmentation::OverwriteStyle::RegardLocks)