18 #ifndef sitkGaborImageSource_h
19 #define sitkGaborImageSource_h
74 SITK_RETURN_SELF_TYPE_HEADER
SetSize ( std::vector<unsigned int>
Size ) { this->m_Size = std::move(
Size);
return *
this; }
78 std::vector<unsigned int>
GetSize()
const {
return this->m_Size; }\
83 SITK_RETURN_SELF_TYPE_HEADER
SetSigma ( std::vector<double> Sigma ) { this->m_Sigma = std::move(Sigma);
return *
this; }
86 SITK_RETURN_SELF_TYPE_HEADER
SetSigma(
double value ) { this->m_Sigma = std::vector<double>(3, value);
return *
this; }
91 std::vector<double>
GetSigma()
const {
return this->m_Sigma; }\
96 SITK_RETURN_SELF_TYPE_HEADER
SetMean ( std::vector<double>
Mean ) { this->m_Mean = std::move(
Mean);
return *
this; }
99 SITK_RETURN_SELF_TYPE_HEADER
SetMean(
double value ) { this->m_Mean = std::vector<double>(3, value);
return *
this; }
104 std::vector<double>
GetMean()
const {
return this->m_Mean; }\
109 SITK_RETURN_SELF_TYPE_HEADER
SetFrequency (
double Frequency ) { this->m_Frequency = Frequency;
return *
this; }
118 SITK_RETURN_SELF_TYPE_HEADER
SetOrigin ( std::vector<double> Origin ) { this->m_Origin = std::move(Origin);
return *
this; }
122 std::vector<double>
GetOrigin()
const {
return this->m_Origin; }\
126 SITK_RETURN_SELF_TYPE_HEADER
SetSpacing ( std::vector<double> Spacing ) { this->m_Spacing = std::move(Spacing);
return *
this; }
130 std::vector<double>
GetSpacing()
const {
return this->m_Spacing; }\
134 SITK_RETURN_SELF_TYPE_HEADER
SetDirection ( std::vector<double> Direction ) { this->m_Direction = Direction;
return *
this; }
141 std::string
GetName()
const {
return std::string (
"GaborImageSource"); }
144 std::string ToString()
const;
157 template <
class TImageType>
Image ExecuteInternal ( );
167 std::vector<unsigned int> m_Size{std::vector<unsigned int>(3, 64)};
169 std::vector<double> m_Sigma{std::vector<double>(3, 16.0)};
171 std::vector<double> m_Mean{std::vector<double>(3, 32.0)};
173 double m_Frequency{0.4};
175 std::vector<double> m_Origin{std::vector<double>(3, 0.0)};
177 std::vector<double> m_Spacing{std::vector<double>(3, 1.0)};
180 std::vector<double> m_Direction{std::vector<double>()};
198 SITKBasicFilters_EXPORT Image GaborSource (
PixelIDValueEnum outputPixelType =
itk::simple::sitkFloat32, std::vector<unsigned int> size = std::vector<unsigned int>(3, 64), std::vector<double> sigma = std::vector<double>(3, 16.0), std::vector<double> mean = std::vector<double>(3, 32.0),
double frequency = 0.4, std::vector<double> origin = std::vector<double>(3, 0.0), std::vector<double> spacing = std::vector<double>(3, 1.0), std::vector<double> direction = std::vector<double>() );