18 #ifndef itkMaskFeaturePointSelectionFilter_h
19 #define itkMaskFeaturePointSelectionFilter_h
59 template <
typename TImage,
60 typename TMask = TImage,
61 typename TFeatures = PointSet<Matrix<SpacePrecisionType, TImage::ImageDimension, TImage::ImageDimension>,
62 TImage::ImageDimension>>
80 static constexpr
unsigned int ImageDimension = 3u;
107 VERTEX_CONNECTIVITY = 0,
108 EDGE_CONNECTIVITY = 1,
109 FACE_CONNECTIVITY = 2
116 itkSetMacro(NonConnectivity,
unsigned int);
117 itkGetMacro(NonConnectivity,
unsigned int);
121 itkSetInputMacro(MaskImage, MaskType);
122 itkGetInputMacro(MaskImage, MaskType);
127 itkGetConstReferenceMacro(BlockRadius,
SizeType);
131 itkSetMacro(ComputeStructureTensors,
bool);
132 itkGetMacro(ComputeStructureTensors,
bool);
133 itkBooleanMacro(ComputeStructureTensors);
137 itkSetClampMacro(SelectFraction,
double, 0, 1);
138 itkGetMacro(SelectFraction,
double);
141 #ifdef ITK_USE_CONCEPT_CHECKING
153 PrintSelf(std::ostream & os,
Indent indent)
const override;
156 GenerateData()
override;
163 ComputeConnectivityOffsets();
166 unsigned int m_NonConnectivity{};
167 std::vector<OffsetType> m_NonConnectivityOffsets{};
169 double m_SelectFraction{};
170 bool m_ComputeStructureTensors{};
174 #ifndef ITK_MANUAL_INSTANTIATION
175 # include "itkMaskFeaturePointSelectionFilter.hxx"