![]() |
OTB
10.0.0
Orfeo Toolbox
|
#include <otbBilinearProjection.h>
Public Types | |
using | ConstPointer = itk::SmartPointer< const Self > |
using | LSQREstimatorType = otb::LeastSquareBilinearTransformEstimator< Point2DType > |
using | MatrixType = itk::Matrix< double, 3, 1 > |
using | Point2DType = itk::Point< double, 2 > |
using | Point3DType = itk::Point< double, 3 > |
using | Pointer = itk::SmartPointer< Self > |
using | Self = BilinearProjection |
using | SuperClass = itk::Object |
Public Member Functions | |
void | computeLS () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const std::vector< Point2DType > & | getLineSamplePoints () const |
virtual const char * | GetNameOfClass () const |
const std::vector< Point3DType > & | getWorldPoints () const |
bool | imgPointsHaveNan () |
Point3DType | lineSampleHeightToWorld (Point2DType lineSampPt, double heightAboveEllipsoid) const |
Point3DType | lineSampleToWorld (Point2DType lineSampPt) const |
void | setLineSamplePoints (const std::vector< Point2DType > &lsPt) |
void | setWorldPoints (const std::vector< Point3DType > &wPt) |
bool | worldPointsHaveNan () |
Point2DType | worldToLineSample (const Point3DType &worldPoint) const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
BilinearProjection () | |
BilinearProjection (const Point2DType &ul, const Point2DType &ur, const Point2DType &lr, const Point2DType &ll, const Point3DType &ulg, const Point3DType &urg, const Point3DType &lrg, const Point3DType &llg) | |
virtual | ~BilinearProjection ()=default |
Private Member Functions | |
BilinearProjection (const Self &)=delete | |
void | operator= (const Self &)=delete |
Private Attributes | |
LSQREstimatorType::Pointer | m_LatFit |
std::vector< Point2DType > | m_LineSamplePoints |
LSQREstimatorType::Pointer | m_LonFit |
std::vector< Point3DType > | m_worldPoints |
LSQREstimatorType::Pointer | m_XFit |
LSQREstimatorType::Pointer | m_YFit |
Computes a bilinear projection after init with reference points.
Definition at line 38 of file otbBilinearProjection.h.
using otb::BilinearProjection::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 46 of file otbBilinearProjection.h.
using otb::BilinearProjection::LSQREstimatorType = otb::LeastSquareBilinearTransformEstimator<Point2DType> |
Definition at line 49 of file otbBilinearProjection.h.
using otb::BilinearProjection::MatrixType = itk::Matrix<double, 3, 1> |
Definition at line 50 of file otbBilinearProjection.h.
using otb::BilinearProjection::Point2DType = itk::Point<double, 2> |
Definition at line 47 of file otbBilinearProjection.h.
using otb::BilinearProjection::Point3DType = itk::Point<double, 3> |
Definition at line 48 of file otbBilinearProjection.h.
using otb::BilinearProjection::Pointer = itk::SmartPointer<Self> |
Definition at line 45 of file otbBilinearProjection.h.
Standard class usings.
Definition at line 43 of file otbBilinearProjection.h.
using otb::BilinearProjection::SuperClass = itk::Object |
Definition at line 44 of file otbBilinearProjection.h.
|
protected |
|
protected |
|
protectedvirtualdefault |
|
privatedelete |
void otb::BilinearProjection::computeLS | ( | ) |
Resolve the bilinear system
virtual::itk::LightObject::Pointer otb::BilinearProjection::CreateAnother | ( | void | ) | const |
const std::vector<Point2DType>& otb::BilinearProjection::getLineSamplePoints | ( | ) | const |
|
virtual |
Run-time type information (and related methods).
const std::vector<Point3DType>& otb::BilinearProjection::getWorldPoints | ( | ) | const |
bool otb::BilinearProjection::imgPointsHaveNan | ( | ) |
Return true if there is any nan in the points coordinates
Point3DType otb::BilinearProjection::lineSampleHeightToWorld | ( | Point2DType | lineSampPt, |
double | heightAboveEllipsoid | ||
) | const |
METHOD: lineSampleHeightToWorld This projects the image point to the given elevation above ellipsoid, thereby bypassing reference to a DEM. Useful for projections that are sensitive to elevation (such as sensor models).
Point3DType otb::BilinearProjection::lineSampleToWorld | ( | Point2DType | lineSampPt | ) | const |
METHOD: lineSampleToWorld() Performs the inverse projection from line, sample to ground (world):
|
static |
Method for creation through the object factory.
|
privatedelete |
void otb::BilinearProjection::setLineSamplePoints | ( | const std::vector< Point2DType > & | lsPt | ) |
void otb::BilinearProjection::setWorldPoints | ( | const std::vector< Point3DType > & | wPt | ) |
bool otb::BilinearProjection::worldPointsHaveNan | ( | ) |
Return true if there is any nan in the points coordinates
Point2DType otb::BilinearProjection::worldToLineSample | ( | const Point3DType & | worldPoint | ) | const |
|
private |
Definition at line 113 of file otbBilinearProjection.h.
|
private |
Definition at line 110 of file otbBilinearProjection.h.
|
private |
Definition at line 112 of file otbBilinearProjection.h.
|
private |
Definition at line 111 of file otbBilinearProjection.h.
|
private |
Definition at line 114 of file otbBilinearProjection.h.
|
private |
Definition at line 115 of file otbBilinearProjection.h.