Commit 1cab1fae authored by Davis King's avatar Davis King

Set a default value for the max number of points argument for get_surf_points().

parent 26639d62
...@@ -237,7 +237,7 @@ namespace dlib ...@@ -237,7 +237,7 @@ namespace dlib
template <typename image_type> template <typename image_type>
const std::vector<surf_point> get_surf_points ( const std::vector<surf_point> get_surf_points (
const image_type& img, const image_type& img,
long max_points, long max_points = 10000,
double detection_threshold = 30.0 double detection_threshold = 30.0
) )
{ {
......
...@@ -126,7 +126,7 @@ namespace dlib ...@@ -126,7 +126,7 @@ namespace dlib
template <typename image_type> template <typename image_type>
const std::vector<surf_point> get_surf_points ( const std::vector<surf_point> get_surf_points (
const image_type& img, const image_type& img,
long max_points, long max_points = 10000,
double detection_threshold = 30.0 double detection_threshold = 30.0
); );
/*! /*!
......
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