18#ifndef itkUnaryFrequencyDomainFilter_h
19#define itkUnaryFrequencyDomainFilter_h
60template <
typename TImageType,
typename TFrequencyIterator = FrequencyFFTLayoutImageRegionIteratorWithIndex<TImageType>>
88 static constexpr unsigned int ImageDimension = TImageType::ImageDimension;
90#ifdef ITK_USE_CONCEPT_CHECKING
103 itkSetMacro(ActualXDimensionIsOdd,
bool);
104 itkGetConstReferenceMacro(ActualXDimensionIsOdd,
bool);
105 itkBooleanMacro(ActualXDimensionIsOdd);
114#if !defined(ITK_WRAPPING_PARSER)
121 m_DynamicThreadedGenerateDataFunction = [
this, inPlaceFunctor](
const ImageRegionType & outputRegionForThread) {
122 return this->DynamicThreadedGenerateDataWithFunctor(inPlaceFunctor, outputRegionForThread);
132 m_DynamicThreadedGenerateDataFunction = [
this, f](
const ImageRegionType & outputRegionForThread) {
133 return this->DynamicThreadedGenerateDataWithFunctor(f, outputRegionForThread);
147 m_DynamicThreadedGenerateDataFunction = [
this, inPlaceFunctor](
const ImageRegionType & outputRegionForThread) {
148 return this->DynamicThreadedGenerateDataWithFunctor(inPlaceFunctor, outputRegionForThread);
158 m_DynamicThreadedGenerateDataFunction = [
this, funcPointer](
const ImageRegionType & outputRegionForThread) {
159 return this->DynamicThreadedGenerateDataWithFunctor(funcPointer, outputRegionForThread);
174 template <
typename TFunctor>
178 m_DynamicThreadedGenerateDataFunction = [
this, functor](
const ImageRegionType & outputRegionForThread) {
179 return this->DynamicThreadedGenerateDataWithFunctor(functor, outputRegionForThread);
201 template <
typename TFunctor>
211 bool m_ActualXDimensionIsOdd{
false };
215#ifndef ITK_MANUAL_INSTANTIATION
216# include "itkUnaryFrequencyDomainFilter.hxx"
Base class for filters that take an image as input and overwrite that image as the output.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Performs a unary operation on a frequency domain image.
typename TImageType::RegionType ImageRegionType
void DynamicThreadedGenerateDataWithFunctor(const TFunctor &, const ImageRegionType &outputRegionForThread)
TFrequencyIterator FrequencyIteratorType
double(const FrequencyIteratorType &) ConstRefFunctionType
void SetFunctor(ValueFunctionType *funcPointer)
void DynamicThreadedGenerateData(const ImageRegionType &outputRegionForThread) override
void SetFunctor(ConstRefFunctionType *f)
UnaryFrequencyDomainFilter()
typename TImageType::IndexType IndexType
typename ImageType::ConstPointer ImageConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
void SetFunctor(const TFunctor &functor)
void SetFunctor(const std::function< ValueFunctionType > &f)
void(FrequencyIteratorType &) ValueFunctionType
typename ImageType::Pointer ImagePointer
void SetFunctor(const std::function< ConstRefFunctionType > &f)
typename TImageType::PixelType PixelType
typename FrequencyIteratorType::FrequencyValueType FrequencyValueType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....