Commit 9c875a80 authored by Maria Dimashova's avatar Maria Dimashova

added static to funcs

parent 26712fad
...@@ -82,7 +82,7 @@ static inline void linearizeHomographyAt( const Mat_<double>& H, const Point2f& ...@@ -82,7 +82,7 @@ static inline void linearizeHomographyAt( const Mat_<double>& H, const Point2f&
A.setTo(Scalar::all(numeric_limits<double>::max())); A.setTo(Scalar::all(numeric_limits<double>::max()));
} }
void calcKeyPointProjections( const vector<KeyPoint>& src, const Mat_<double>& H, vector<KeyPoint>& dst ) static void calcKeyPointProjections( const vector<KeyPoint>& src, const Mat_<double>& H, vector<KeyPoint>& dst )
{ {
if( !src.empty() ) if( !src.empty() )
{ {
...@@ -117,7 +117,7 @@ void calcKeyPointProjections( const vector<KeyPoint>& src, const Mat_<double>& H ...@@ -117,7 +117,7 @@ void calcKeyPointProjections( const vector<KeyPoint>& src, const Mat_<double>& H
} }
} }
void filterKeyPointsByImageSize( vector<KeyPoint>& keypoints, const Size& imgSize ) static void filterKeyPointsByImageSize( vector<KeyPoint>& keypoints, const Size& imgSize )
{ {
if( !keypoints.empty() ) if( !keypoints.empty() )
{ {
......
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