OTB
9.0.0
Orfeo Toolbox
|
#include <otbConvolutionImageFilter.h>
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef ConvolutionImageFilter | Self |
typedef itk::ImageToImageFilter< InputImageType, OutputImageType > | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef InputImageType::PixelType | InputPixelType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef itk::NumericTraits< InputPixelType >::RealType | InputRealType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef InputImageType::SizeType | InputSizeType |
typedef TFilterPrecision | FilterPrecisionType |
typedef itk::Array< FilterPrecisionType > | ArrayType |
typedef TBoundaryCondition | BoundaryConditionType |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
InputSizeType | m_Radius |
ArrayType | m_Filter |
bool | m_NormalizeFilter |
static Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual void | SetRadius (const InputSizeType rad) |
virtual const InputSizeType & | GetRadius () const |
virtual void | SetFilter (ArrayType filter) |
virtual const ArrayType & | GetFilter () const |
virtual void | SetNormalizeFilter (bool _arg) |
virtual bool | GetNormalizeFilter () |
virtual void | NormalizeFilterOn () |
virtual void | NormalizeFilterOff () |
typedef (itk::Concept::HasNumericTraits< InputPixelType >) InputHasNumericTraitsCheck | |
ConvolutionImageFilter () | |
~ConvolutionImageFilter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | GenerateInputRequestedRegion () override |
ConvolutionImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Applies a convolution filter to a mono channel image.
Computes an image which is the convolution of the input image with a filter.
The radius of the input filter is provided by the
method and the filters coefficients are given by an itk::Array passed to the
method.
By default, the input filter is not normalized but it can be using the NormalizeFilterOn() method.
This filter allows the user to choose the boundary conditions in the template parameters. Default boundary conditions are zero flux Neumann boundary conditions.
An optimized version of this filter using FFTW is available in the Orfeo ToolBox and will significantly improves performances especially for large kernels (see OverlapSaveConvolutionImageFilter).
Definition at line 68 of file otbConvolutionImageFilter.h.
typedef itk::Array<FilterPrecisionType> otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::ArrayType |
Convenient typedefs for simplifying declarations.
Definition at line 100 of file otbConvolutionImageFilter.h.
typedef TBoundaryCondition otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::BoundaryConditionType |
Convenient typedefs for simplifying declarations.
Definition at line 101 of file otbConvolutionImageFilter.h.
typedef itk::SmartPointer<const Self> otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::ConstPointer |
Convenient typedefs for simplifying declarations.
Definition at line 84 of file otbConvolutionImageFilter.h.
typedef TFilterPrecision otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::FilterPrecisionType |
Convenient typedefs for simplifying declarations.
Definition at line 99 of file otbConvolutionImageFilter.h.
typedef InputImageType::RegionType otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::InputImageRegionType |
Convenient typedefs for simplifying declarations.
Definition at line 96 of file otbConvolutionImageFilter.h.
typedef TInputImage otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::InputImageType |
Convenient typedefs for simplifying declarations.
Definition at line 77 of file otbConvolutionImageFilter.h.
typedef InputImageType::PixelType otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::InputPixelType |
Image typedef support.
Definition at line 90 of file otbConvolutionImageFilter.h.
typedef itk::NumericTraits<InputPixelType>::RealType otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::InputRealType |
Convenient typedefs for simplifying declarations.
Definition at line 95 of file otbConvolutionImageFilter.h.
typedef InputImageType::SizeType otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::InputSizeType |
Convenient typedefs for simplifying declarations.
Definition at line 98 of file otbConvolutionImageFilter.h.
typedef OutputImageType::RegionType otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::OutputImageRegionType |
Convenient typedefs for simplifying declarations.
Definition at line 97 of file otbConvolutionImageFilter.h.
typedef TOutputImage otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::OutputImageType |
Convenient typedefs for simplifying declarations.
Definition at line 78 of file otbConvolutionImageFilter.h.
typedef OutputImageType::PixelType otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::OutputPixelType |
Convenient typedefs for simplifying declarations.
Definition at line 94 of file otbConvolutionImageFilter.h.
typedef itk::SmartPointer<Self> otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::Pointer |
Convenient typedefs for simplifying declarations.
Definition at line 83 of file otbConvolutionImageFilter.h.
typedef ConvolutionImageFilter otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::Self |
Standard class typedefs.
Definition at line 81 of file otbConvolutionImageFilter.h.
typedef itk::ImageToImageFilter<InputImageType, OutputImageType> otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::Superclass |
Convenient typedefs for simplifying declarations.
Definition at line 82 of file otbConvolutionImageFilter.h.
|
protected |
End concept checking
Definition at line 38 of file otbConvolutionImageFilter.hxx.
|
inlineoverrideprotected |
Convenient typedefs for simplifying declarations.
Definition at line 158 of file otbConvolutionImageFilter.h.
|
privatedelete |
Convenient typedefs for simplifying declarations.
virtual::itk::LightObject::Pointer otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::CreateAnother | ( | void | ) | const |
Convenient typedefs for simplifying declarations.
|
overrideprotected |
ConvolutionImageFilter needs a larger input requested region than the output requested region. As such, ConvolutionImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Definition at line 47 of file otbConvolutionImageFilter.hxx.
References otbMsgDevMacro.
|
virtual |
Convenient typedefs for simplifying declarations.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Convenient typedefs for simplifying declarations.
|
virtual |
Get the radius of the neighborhood of the filter
|
static |
Method for creation through the object factory.
|
virtual |
Convenient typedefs for simplifying declarations.
|
virtual |
Convenient typedefs for simplifying declarations.
|
privatedelete |
Convenient typedefs for simplifying declarations.
|
overrideprotected |
Standard "PrintSelf" method
Definition at line 168 of file otbConvolutionImageFilter.hxx.
|
inlinevirtual |
Set the input filter
Definition at line 126 of file otbConvolutionImageFilter.h.
|
virtual |
Set/Get methods for the normalization of the filter
|
inlinevirtual |
Set the radius of the neighborhood of the filter
Definition at line 104 of file otbConvolutionImageFilter.h.
|
overrideprotected |
ConvolutionImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Definition at line 95 of file otbConvolutionImageFilter.hxx.
otb::ConvolutionImageFilter< TInputImage, TOutputImage, TBoundaryCondition, TFilterPrecision >::typedef | ( | itk::Concept::HasNumericTraits< InputPixelType > | ) |
Begin concept checking This class requires InputHasNumericTraitsCheck in the form of (itk::Concept::HasNumericTraits<InputPixelType>)
|
static |
Extract dimension from input and output image.
Definition at line 72 of file otbConvolutionImageFilter.h.
|
private |
Array containing the filter values
Definition at line 191 of file otbConvolutionImageFilter.h.
|
private |
Flag for filter coefficients normalization
Definition at line 194 of file otbConvolutionImageFilter.h.
|
private |
Radius of the filter
Definition at line 188 of file otbConvolutionImageFilter.h.
|
static |
Convenient typedefs for simplifying declarations.
Definition at line 73 of file otbConvolutionImageFilter.h.