SaDVIO
|
Classes | |
struct | DrawingBranch |
class | EdgeDrawer |
class | ELSED |
struct | ELSEDParams |
class | FullSegmentInfo |
struct | LineDetectionExtraInfo |
struct | Pixel |
struct | SalientSegment |
Typedefs | |
typedef std::shared_ptr< EdgeDrawer > | EdgeDrawerPtr |
typedef cv::Vec4f | Segment |
typedef std::vector< Segment > | Segments |
typedef std::shared_ptr< LineDetectionExtraInfo > | LineDetectionExtraInfoPtr |
typedef std::vector< Pixel > | ImageEdge |
typedef std::vector< ImageEdge > | ImageEdges |
typedef std::vector< SalientSegment > | SalientSegments |
Functions | |
Pixel | calcLastPixelWithDirection (const Pixel &px, uint8_t lastDir) |
int | calculateNumPtsToTrim (int nPoints) |
float | lerp (float s, float e, float t) |
float | blerp (float c00, float c10, float c01, float c11, float tx, float ty) |
double | circularDist (double valueA, double valueB, double mod=360) |
Calculate the angular distance between two angles valueA and valueB. Taking into account that 0 degrees is equivalent to 360. More... | |
cv::Point2f | getProjectionPtn (const cv::Vec3f &l, const cv::Point2f &p) |
Gets the projection of a point into a line. More... | |
float | segLength (const Segment &s) |
Calculates the length of a line segment. More... | |
float | segAngle (const Segment &s) |
Calculates the angle of a line segment. More... | |
typedef std::shared_ptr<EdgeDrawer> upm::EdgeDrawerPtr |
typedef std::vector<Pixel> upm::ImageEdge |
typedef std::vector<ImageEdge> upm::ImageEdges |
typedef std::shared_ptr<LineDetectionExtraInfo> upm::LineDetectionExtraInfoPtr |
typedef std::vector<SalientSegment> upm::SalientSegments |
typedef cv::Vec4f upm::Segment |
typedef std::vector<Segment> upm::Segments |
|
inline |
|
inline |
|
inline |
Calculate the angular distance between two angles valueA and valueB. Taking into account that 0 degrees is equivalent to 360.
valueA | |
valueB | |
mod | The number of elements in the circle (2 * PI to radians or 360 for degrees) |
|
inline |
Gets the projection of a point into a line.
l | The general line ecuation ax + by +c = 0 in format (a, b, c) |
p | The point which we want to calculate its projection over the line |
|
inline |
|
inline |
Calculates the angle of a line segment.
s | The input segment |
|
inline |
Calculates the length of a line segment.
s | The input segment |