Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkMaskUtilities_h
14 #define mitkMaskUtilities_h
27 template <
class TPixel,
unsigned int VImageDimension>
41 typedef itk::Image<TPixel, VImageDimension>
ImageType;
42 typedef itk::Image<unsigned short, VImageDimension>
MaskType;
84 #ifndef ITK_MANUAL_INSTANTIATION
85 #include <mitkMaskUtilities.tpp>
constexpr double MASK_SUITABILITY_TOLERANCE_COORDINATE
void SetMask(const MaskType *mask)
Set mask.
itk::Image< unsigned short, VImageDimension > MaskType
itk::SmartPointer< const Self > ConstPointer
itk::Image< TPixel, VImageDimension > ImageType
void SetImage(const ImageType *image)
Set image.
~MaskUtilities() override
constexpr double NODE_PREDICATE_GEOMETRY_DEFAULT_CHECK_DIRECTION_PRECISION
Find image slices visible on a given plane.
ImageType::ConstPointer ExtractMaskImageRegion()
Crops the image to the LargestPossibleRegion of the mask.
Utility class for mask operations. It checks whether an image and a mask are compatible (spacing,...
constexpr double NODE_PREDICATE_GEOMETRY_DEFAULT_CHECK_COORDINATE_PRECISION
bool CheckMaskSanity()
Checks whether mask and image are compatible for joint access (as via iterators). Spacing and directi...
constexpr double MASK_SUITABILITY_TOLERANCE_DIRECTION
itk::SmartPointer< Self > Pointer