22 #ifndef __StreamingMosaicFilterWithBlendingBase_H
23 #define __StreamingMosaicFilterWithBlendingBase_H
26 #include "itkNearestNeighborInterpolateImageFunction.h"
48 template <
class TInputImage,
class TOutputImage,
class TDistanceImage,
class TInternalValueType =
double>
88 void PushBackInputs(
const TInputImage* image,
const TDistanceImage* distance)
90 this->PushBackInput(
const_cast<TInputImage*
>(image));
91 this->PushBackInput(
const_cast<TDistanceImage*
>(distance));
96 virtual void PrepareDistanceImageAccessors(
typename std::vector<DistanceImageType*>& currentDistanceImage,
97 typename std::vector<DistanceImageInterpolatorPointer>& distanceInterpolator);
106 void AddUsedInputImageIndex(
unsigned int inputImageIndex)
override;
108 unsigned int GetNumberOfInputImages()
override;
112 return 0.5 * Superclass::GetUsedInputImageIndice(i);
129 #ifndef OTB_MANUAL_INSTANTIATION
Base class for mosaic filters. Computes the total extent of multiple inputs, and provide routines to ...
Base class for mosaic filters with blending.
DistanceImageType::Pointer DistanceImagePointer
itk::LinearInterpolateImageFunction< DistanceImageType > DistanceImageDefaultInterpolatorType
DistanceImageInterpolatorPointer m_DistanceInterpolator
void operator=(const Self &)
DistanceImageInternalPixelType m_DistanceOffset
DistanceImageType::InternalPixelType DistanceImageInternalPixelType
itk::SmartPointer< Self > Pointer
DistanceImageType::PixelType DistanceImagePixelType
StreamingMosaicFilterWithBlendingBase(const Self &)
DistanceImageInterpolatorType::Pointer DistanceImageInterpolatorPointer
DistanceImageType::ConstPointer DistanceImageConstPointer
unsigned int GetUsedInputImageIndice(unsigned int i) override
void PushBackInputs(const TInputImage *image, const TDistanceImage *distance)
DistanceImageType::PointType DistanceImagePointType
itkGetObjectMacro(DistanceInterpolator, DistanceImageInterpolatorType)
itk::SmartPointer< const Self > ConstPointer
itk::InterpolateImageFunction< DistanceImageType > DistanceImageInterpolatorType
TDistanceImage DistanceImageType
DistanceImageType::RegionType DistanceImageRegionType
StreamingMosaicFilterWithBlendingBase Self
otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType > Superclass
~StreamingMosaicFilterWithBlendingBase()
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.