21 #ifndef __vtkSegmentationModifier_h 22 #define __vtkSegmentationModifier_h 25 #include "vtkSegmentationCoreConfigure.h" 28 #include "vtkObject.h" 59 int mergeMode = MODE_REPLACE,
const int extent[6] =
nullptr,
bool minimumOfAllSegments =
false,
bool masterRepresentationModifiedEnabled =
false,
60 const std::vector<std::string> segmentIdsToOverwrite = {}, std::vector<std::string>* modifiedSegmentIDs =
nullptr);
69 std::vector<std::string>& segmentIDs,
int maskThreshold = 0.0,
bool includeInputSharedSegmentID =
false);
73 bool minimumOfAllSegments, std::vector<std::string>* modifiedSegmentIDs,
bool& segmentLabelmapModified);
77 static bool SharedLabelmapShouldOverlap(
vtkSegmentation* segmentation, std::string segmentID, std::vector<std::string>& segmentIDsToOverwrite);
80 const int extent[6],
const std::vector<std::string>& segmentIDsToOverwrite);
88 static void GetExtentIntersection(
const int extentA[6],
const int extentB[6],
int extentIntersection[6]);
92 static bool IsExtentValid(
int extent[6]);
Image data containing orientation information.
This class encapsulates a segmentation that can contain multiple segments and multiple representation...
Utility functions for resampling oriented image data.