18 #ifndef sitkRelabelComponentImageFilter_h
19 #define sitkRelabelComponentImageFilter_h
71 SITK_RETURN_SELF_TYPE_HEADER
SetMinimumObjectSize ( uint64_t MinimumObjectSize ) { this->m_MinimumObjectSize = MinimumObjectSize;
return *
this; }
81 SITK_RETURN_SELF_TYPE_HEADER
SetSortByObjectSize (
bool SortByObjectSize ) { this->m_SortByObjectSize = SortByObjectSize;
return *
this; }
125 std::string
GetName()
const {
return std::string (
"RelabelComponentImageFilter"); }
128 std::string ToString()
const;
142 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
150 uint64_t m_MinimumObjectSize{0u};
152 bool m_SortByObjectSize{
true};
155 uint32_t m_NumberOfObjects{0u};
157 uint32_t m_OriginalNumberOfObjects{0u};
159 std::vector<float> m_SizeOfObjectsInPhysicalUnits{std::vector<float>()};
161 std::vector<uint64_t> m_SizeOfObjectsInPixels{std::vector<uint64_t>()};
164 bool m_InPlace{
false};