21 #ifndef otbStereorectificationDisplacementFieldSource_h
22 #define otbStereorectificationDisplacementFieldSource_h
24 #include "itkImageSource.h"
26 #include "itkImageRegionIteratorWithIndex.h"
27 #include "itkVector.h"
89 template <
class TInputImage,
class TOutputImage>
106 typedef typename OutputImageType::SizeType
SizeType;
126 itkSetMacro(Scale,
double);
127 itkGetConstReferenceMacro(Scale,
double);
131 itkSetMacro(GridStep,
double);
132 itkGetMacro(GridStep,
double);
146 itkGetConstReferenceMacro(RectifiedImageSize,
SizeType);
149 itkGetConstReferenceMacro(MeanBaselineRatio,
double);
163 itkSetMacro(UseDEM,
bool);
164 itkGetMacro(UseDEM,
bool);
165 itkBooleanMacro(UseDEM);
175 void GenerateOutputInformation()
override;
178 void EnlargeOutputRequestedRegion(itk::DataObject* itkNotUsed(output))
override;
181 void GenerateData()
override;
184 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
235 #ifndef OTB_MANUAL_INSTANTIATION
Compute the deformation fields for stereo-rectification.
OutputImageType::RegionType RegionType
OutputImageType::PointType PointType
RSTransformPointerType m_RightToLeftTransform
void operator=(const Self &)=delete
itk::SmartPointer< const Self > ConstPointer
itkGetObjectMacro(RightImage, InputImageType)
RSTransformPointerType m_LeftToRightTransform
TDPointType m_OutputOriginInLeftImage
InputImagePointerType m_LeftImage
StereorectificationDisplacementFieldSource(const Self &)
otb::GenericRSTransform< double, 3, 3 > RSTransformType
TOutputImage OutputImageType
StereorectificationDisplacementFieldSource Self
itk::SmartPointer< Self > Pointer
OutputImageType::Pointer OutputImagePointerType
~StereorectificationDisplacementFieldSource(void) override
OutputImageType::SpacingType SpacingType
itk::ImageSource< TOutputImage > Superclass
double m_MeanBaselineRatio
InputImageType::Pointer InputImagePointerType
RSTransformType::Pointer RSTransformPointerType
SizeType m_RectifiedImageSize
InputImagePointerType m_RightImage
RSTransformType::InputPointType TDPointType
OutputImageType::SizeType SizeType
TInputImage InputImageType
itkGetObjectMacro(LeftImage, InputImageType)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.