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