Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkLabelSetImageConverter_h
14 #define mitkLabelSetImageConverter_h
#define MITKMULTILABEL_EXPORT
MITKMULTILABEL_EXPORT Image::Pointer CreateLabelMask(const LabelSetImage *segmentation, LabelSetImage::LabelValueType labelValue, bool createBinaryMap=true)
std::map< LabelSetImage::LabelValueType, std::string > IDToLabelClassNameMapType
MITKMULTILABEL_EXPORT LabelSetImage::Pointer ConvertImageVectorToLabelSetImage(const std::vector< mitk::Image::Pointer > &images, const TimeGeometry *timeGeometry)
MITKMULTILABEL_EXPORT Image::Pointer ConvertLabelSetImageToImage(LabelSetImage::ConstPointer labelSetImage)
Convert mitk::LabelSetImage to mitk::Image (itk::VectorImage)
LabelVector LabelVectorType
MITKMULTILABEL_EXPORT LabelSetImage::LabelVectorType GenerateLabelSetWithMappedValues(const LabelSetImage::ConstLabelVectorType &, LabelValueMappingVector labelMapping)
MITKMULTILABEL_EXPORT std::vector< mitk::Image::Pointer > SplitVectorImage(const Image *vecImage)
MITKMULTILABEL_EXPORT bool CheckForLabelValueConflictsAndResolve(const mitk::LabelSetImage::LabelValueVectorType &newValues, mitk::LabelSetImage::LabelValueVectorType &usedLabelValues, mitk::LabelSetImage::LabelValueVectorType &correctedLabelValues)
Find image slices visible on a given plane.
MITKMULTILABEL_EXPORT Image::Pointer ConvertImageToGroupImage(const Image *inputImage, mitk::LabelSetImage::LabelValueVectorType &foundLabels)
MITKMULTILABEL_EXPORT std::pair< Image::Pointer, IDToLabelClassNameMapType > CreateLabelClassMap(const LabelSetImage *segmentation, LabelSetImage::GroupIndexType groupID, const LabelSetImage::LabelValueVectorType &selectedLabels)
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
MITKMULTILABEL_EXPORT LabelSetImage::Pointer ConvertImageToLabelSetImage(Image::Pointer image)
Convert mitk::Image to mitk::LabelSetImage, templating and differentation between itk::Image and itk:...
std::vector< std::pair< Label::PixelType, Label::PixelType > > LabelValueMappingVector
std::size_t GroupIndexType
std::vector< LabelValueType > LabelValueVectorType
LabelSetImage class for handling labels and layers in a segmentation session.
ConstLabelVector ConstLabelVectorType
mitk::Label::PixelType LabelValueType