#include <otbSpot5SensorModel.h>
|
static constexpr double | C = 299792458 |
|
Definition at line 39 of file otbSpot5SensorModel.h.
◆ ContinuousIndexType
◆ DurationType
◆ MatrixType
◆ Point2DType
◆ Point3DType
◆ PolygonType
◆ TimeType
◆ Vector3DType
◆ Spot5SensorModel() [1/3]
otb::Spot5SensorModel::Spot5SensorModel |
( |
const std::string & |
productType, |
|
|
const Spot5Param & |
Spot5Param |
|
) |
| |
◆ Spot5SensorModel() [2/3]
otb::Spot5SensorModel::Spot5SensorModel |
( |
const ImageMetadata & |
imd | ) |
|
◆ ~Spot5SensorModel()
virtual otb::Spot5SensorModel::~Spot5SensorModel |
( |
| ) |
|
|
virtualdefault |
◆ Spot5SensorModel() [3/3]
◆ ComputeSatToOrbRotation()
MatrixType otb::Spot5SensorModel::ComputeSatToOrbRotation |
( |
double |
t | ) |
const |
Compute SatToOrb matrix with an input time.
- Parameters
-
- Returns
- 3X3 matrix computed
◆ EcefToWorld()
itk::Point<double, 3> otb::Spot5SensorModel::EcefToWorld |
( |
const itk::Point< double, 3 > & |
ecefPoint | ) |
const |
|
private |
Coordinate transformation from ECEF to geographic.
- Parameters
-
ecefPoint | 3D position ephemeris coordinates |
- Returns
- itk::Point<double, 3> 3D position wgs84
◆ GetAttitude()
Point3DType otb::Spot5SensorModel::GetAttitude |
( |
double |
time | ) |
const |
Get the Attitude of the sensor at time (interpolation of attitude samples vector from metadata).
- Parameters
-
- Returns
- 3D attitude
◆ GetBilinearInterpolation()
Point3DType otb::Spot5SensorModel::GetBilinearInterpolation |
( |
const double & |
time, |
|
|
const std::vector< Point3DType > & |
V, |
|
|
const std::vector< double > & |
T |
|
) |
| const |
Compute the bilinear interpolation from a 3D point vector with a double time vector.
- Parameters
-
[in] | time | time to interpolate |
[in] | V | 3D point vector |
[in] | T | Index time double vector |
- Returns
- 3D point interpolated
◆ GetLagrangeInterpolation()
Point3DType otb::Spot5SensorModel::GetLagrangeInterpolation |
( |
const double & |
time, |
|
|
const std::vector< Point3DType > & |
V, |
|
|
const std::vector< double > & |
T |
|
) |
| const |
Compute the lagrange interpolation from a 3D point vector with a double time vector.
- Parameters
-
[in] | time | time to interpolate |
[in] | V | 3D point vector |
[in] | T | Index time double vector |
- Returns
- 3D point interpolated
◆ GetPixelLookAngleXY()
void otb::Spot5SensorModel::GetPixelLookAngleXY |
( |
unsigned int |
line, |
|
|
double & |
psiX, |
|
|
double & |
psiY |
|
) |
| const |
Get look angles on X and Y axis of the sensor at line (interpolation of angles samples vector from metadata).
- Parameters
-
[in] | line | input line |
[out] | psiX | X angle |
[out] | psiY | Y angle |
◆ GetPositionEcf()
Point3DType otb::Spot5SensorModel::GetPositionEcf |
( |
double |
time | ) |
const |
Get the 3D position of the sensor at time (interpolation of position samples vector from metadata).
- Parameters
-
- Returns
- 3D position
◆ GetVelocityEcf()
Point3DType otb::Spot5SensorModel::GetVelocityEcf |
( |
double |
time | ) |
const |
Get the 3D velocity of the sensor at time (interpolation of velocity samples vector from metadata).
- Parameters
-
- Returns
- 3D position
◆ ImagingRay()
Compute a ray from sensor position and image point.
- Parameters
-
[in] | imPt | image point (col row) |
- Returns
- ephemeris point (3D space point with position and velocity)
◆ InitBilinearTransform()
void otb::Spot5SensorModel::InitBilinearTransform |
( |
| ) |
|
|
private |
◆ insideImage()
virtual bool otb::Spot5SensorModel::insideImage |
( |
const itk::Point< double, 2 > |
point, |
|
|
double |
epsilon |
|
) |
| const |
|
inlineprivatevirtual |
◆ IntersectRay()
Compute world point intersected by image ray.
- Parameters
-
[in] | imRay | ephemeris point (3D space point with position and velocity) |
- Returns
- world point (lat,lon,hgt)
◆ LineSampleHeightToWorld()
Point3DType otb::Spot5SensorModel::LineSampleHeightToWorld |
( |
Point2DType |
imPt, |
|
|
double |
heightAboveEllipsoid |
|
) |
| const |
Transform image point (col, row) with a height to world point (lat,lon,hgt).
- Parameters
-
[in] | imPt | image point (col, row) |
[in] | heightAboveEllipsoid | height |
- Returns
- image point and height converted to world point (lat,lon,hgt)
◆ LineSampleToWorld()
Transform image point (col, row) to world point (lat,lon,hgt).
- Parameters
-
[in] | imPt | image point (col, row) |
- Returns
- image point converted to world point (lat,lon,hgt)
◆ NearestIntersection()
Point3DType otb::Spot5SensorModel::NearestIntersection |
( |
const Ephemeris & |
imRay, |
|
|
double |
offset |
|
) |
| const |
Compute the nearest intersection (world point) between the ray and the ellipsoid.
- Parameters
-
[in] | imRay | ephemeris point (3D space point with position and velocity) |
[in] | offset | double offset |
- Returns
- world point (lat,lon,hgt)
◆ operator=()
◆ Point2DToIndex()
ContinuousIndexType otb::Spot5SensorModel::Point2DToIndex |
( |
const itk::Point< double, 2 > |
point | ) |
const |
|
private |
Convert 2Dpoint to 2DContinuousIndex.
- Parameters
-
- Returns
- ContinuousIndexType ContinuousIndex
◆ Point3DToIndex()
ContinuousIndexType otb::Spot5SensorModel::Point3DToIndex |
( |
const itk::Point< double, 3 > |
point | ) |
const |
|
private |
Convert 3Dpoint to 2DContinuousIndex.
- Parameters
-
- Returns
- ContinuousIndexType ContinuousIndex
◆ UpdateImageMetadata()
void otb::Spot5SensorModel::UpdateImageMetadata |
( |
ImageMetadata & |
imd | ) |
|
◆ WorldToEcef()
itk::Point<double, 3> otb::Spot5SensorModel::WorldToEcef |
( |
const itk::Point< double, 3 > & |
worldPoint | ) |
const |
|
private |
Coordinate transformation from geographic to ECEF.
- Parameters
-
worldPoint | 3D position wgs84 |
- Returns
- itk::Point<double, 3> 3D position ephemeris coordinates
◆ WorldToLineSample()
Transform world point (lat,lon,hgt) to image point (col,row).
- Parameters
-
[in] | inGeoPoint | ground point in WGS84 (lat, lon, hgt) coordinates |
- Returns
- ground point converted to image point (col,row) coordinates
constexpr double otb::Spot5SensorModel::C = 299792458 |
|
staticconstexprprivate |
◆ m_BilinearProj
◆ m_EcefToWorldTransform
◆ m_GroundRect
◆ m_ImageRect
◆ m_ProductType
std::string otb::Spot5SensorModel::m_ProductType |
|
private |
◆ m_Spot5Param
◆ m_WorldToEcefTransform
The documentation for this class was generated from the following file: