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;
143 #ifndef OTB_MANUAL_INSTANTIATION
TOutputImage OutputImageType
OutputImageType::RegionType OutputImageRegionType
MaskMuParserFilter(const Self &)=delete
void operator=(const Self &)=delete
itk::SmartPointer< const Self > ConstPointer
itk::Array< long > m_ThreadOverflow
itk::SmartPointer< Self > Pointer
InputImageType::ConstPointer InputImageConstPointer
InputImageType::Pointer InputImagePointer
MaskMuParserFilter< InputImageType, OutputImageType, FunctorType > MaskMuParserFilterType
FunctorType::Pointer FunctorPointer
std::vector< FunctorPointer > m_VFunctor
OutputImageType::Pointer OutputImagePointer
InputImageType::PixelType PixelType
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
itk::Array< long > m_ThreadUnderflow
InputImageType::RegionType InputImageRegionType
TInputImage InputImageType
InputImageType::IndexType IndexType
std::map< std::string, int > FunctionMapType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.