refactor
This commit is contained in:
@@ -32,11 +32,11 @@ struct Feature
|
|||||||
};
|
};
|
||||||
|
|
||||||
FeatureType type; //!< Type can be corner or edgelet.
|
FeatureType type; //!< Type can be corner or edgelet.
|
||||||
Frame* frame; //!< Pointer to frame in which the feature was detected.
|
Frame* frame; //!< Pointer to frame in which the feature was detected.
|
||||||
Vector2d px; //!< Coordinates in pixels on pyramid level 0.
|
Vector2d px; //!< Coordinates in pixels on pyramid level 0.
|
||||||
Vector3d f; //!< Unit-bearing vector of the feature.
|
Vector3d f; //!< Unit-bearing vector of the feature.
|
||||||
int level; //!< Image pyramid level where feature was extracted.
|
int level; //!< Image pyramid level where feature was extracted.
|
||||||
Point* point; //!< Pointer to 3D point which corresponds to the feature.
|
Point* point; //!< Pointer to 3D point which corresponds to the feature.
|
||||||
Vector2d grad; //!< Dominant gradient direction for edglets, normalized.
|
Vector2d grad; //!< Dominant gradient direction for edglets, normalized.
|
||||||
|
|
||||||
Feature(Frame* _frame, const Vector2d& _px, int _level) :
|
Feature(Frame* _frame, const Vector2d& _px, int _level) :
|
||||||
|
|||||||
Reference in New Issue
Block a user