eLynx SDK
v3.3.0 C++ image processing API reference |
2D spline interface. More...
#include <ISpline.h>
Public Member Functions | |
virtual bool | IsUseful () const =0 |
Verifies that spline can be used for interpolation. | |
virtual std::pair< int32, int32 > | GetXRange () const =0 |
Returns the interpolation range in X direction in form of [X1, Xn) | |
virtual std::pair< int32, int32 > | GetYRange () const =0 |
Returns the interpolation range in Y direction in form of [Y1, Yn) | |
virtual T | Evaluate (int32 iX, int32 iY) const =0 |
Computes an interpolation at a given point. | |
virtual void | Evaluate (const int32 *iX, uint32 iSize, int32 iY, T *oValues) const =0 |
Computes an interpolation at a given set of points. |
2D spline interface.
DEGREE specifies the order of the interpolation.
virtual T eLynx::Math::ISpline2D< T, DEGREE >::Evaluate | ( | int32 | iX, |
int32 | iY | ||
) | const [pure virtual] |
Computes an interpolation at a given point.
The point must fall into the ranges returned by GetXRange/GetYRange methods.
iX | point's X coordinate. |
iY | point's Y coordinate. |
Implemented in eLynx::Math::BSpline2< F >.
virtual void eLynx::Math::ISpline2D< T, DEGREE >::Evaluate | ( | const int32 * | iX, |
uint32 | iSize, | ||
int32 | iY, | ||
T * | oValues | ||
) | const [pure virtual] |
Computes an interpolation at a given set of points.
All points must fall into the ranges returned by GetXRange/GetYRange methods. The iX values must be sorted in the ascending order
iX | list of coordinates in X dimention. |
iSize | number of coordinates in a list. |
iY | coordinate in Y dimantion. |
oValues | interpolation values . |
Implemented in eLynx::Math::BSpline2< F >.
virtual std::pair<int32,int32> eLynx::Math::ISpline2D< T, DEGREE >::GetXRange | ( | ) | const [pure virtual] |
Returns the interpolation range in X direction in form of [X1, Xn)
Implemented in eLynx::Math::BSpline2< F >.
virtual std::pair<int32,int32> eLynx::Math::ISpline2D< T, DEGREE >::GetYRange | ( | ) | const [pure virtual] |
Returns the interpolation range in Y direction in form of [Y1, Yn)
Implemented in eLynx::Math::BSpline2< F >.
virtual bool eLynx::Math::ISpline2D< T, DEGREE >::IsUseful | ( | ) | const [pure virtual] |
Verifies that spline can be used for interpolation.
Implemented in eLynx::Math::BSpline2< F >.