18 #ifndef sitkRegionOfInterestImageFilter_h
19 #define sitkRegionOfInterestImageFilter_h
65 SITK_RETURN_SELF_TYPE_HEADER
SetSize ( std::vector<unsigned int>
Size ) { this->m_Size = std::move(
Size);
return *
this; }
69 std::vector<unsigned int>
GetSize()
const {
return this->m_Size; }\
74 SITK_RETURN_SELF_TYPE_HEADER
SetIndex ( std::vector<int>
Index ) { this->m_Index = std::move(
Index);
return *
this; }
78 std::vector<int>
GetIndex()
const {
return this->m_Index; }
81 std::string
GetName()
const {
return std::string (
"RegionOfInterestImageFilter"); }
84 std::string ToString()
const;
93 void SetRegionOfInterest(
const std::vector<unsigned int> &
Region );
100 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
108 std::vector<unsigned int> m_Size{std::vector<unsigned int>(3, 1)};
110 std::vector<int> m_Index{std::vector<int>(3, 0)};