23 #ifndef otbMaskMuParserFilter_h
24 #define otbMaskMuParserFilter_h
27 #include "itkProgressReporter.h"
36 #include "itkImageToImageFilter.h"
37 #include "itkImageRegionIteratorWithIndex.h"
72 template <
class TInputImage,
class TOutputImage,
class TFunction = Functor::MaskMuParserFunctor<
typename TInputImage::PixelType>>
78 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
94 typedef typename InputImageType::PixelType
PixelType;
95 typedef typename InputImageType::IndexType
IndexType;
108 void SetExpression(
const std::string expression);
111 bool CheckExpression();
114 std::string GetExpression()
const;
116 std::vector<std::string> GetVar();
123 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
125 void BeforeThreadedGenerateData()
override;
126 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
127 void AfterThreadedGenerateData()
override;
131 void operator=(
const Self&) =
delete;
143 #ifndef OTB_MANUAL_INSTANTIATION