Commit 93326c7d authored by Ethan Rublee's avatar Ethan Rublee

Adding a default constructor to ORB that initializes. Had segfaults on non

initialized orb detector.
parent 0eb1bb36
......@@ -434,16 +434,11 @@ public:
int patch_size_;
};
/** Default Constructor */
ORB()
{
}
/** Constructor
* @param n_features the number of desired features
* @param detector_params parameters to use
*/
ORB(size_t n_features, const CommonParams & detector_params = CommonParams());
ORB(size_t n_features = 500, const CommonParams & detector_params = CommonParams());
/** returns the descriptor size in bytes */
int descriptorSize() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment