diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-11 15:40:54 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-11 15:40:54 +0400 |
commit | 6ab087ff994fab9557d99a4ba58393c7821b228c (patch) | |
tree | 38329b25a3dc70d37ac349241aeb42d6d9a1cbb9 /extern/libmv/libmv-capi.h | |
parent | 6674106d30a010c590aec1e7ab0b929155bde2bd (diff) |
Scale search area when doing planar tracking
Helps keeping features tracked when there's large scale happens
without need to manually re-adjust search area.
Currently using factor of pattern's boundbox scale, but probably
could be done in more accurate way?
Diffstat (limited to 'extern/libmv/libmv-capi.h')
-rw-r--r-- | extern/libmv/libmv-capi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extern/libmv/libmv-capi.h b/extern/libmv/libmv-capi.h index 6f4b5dea384..fe759b06fe4 100644 --- a/extern/libmv/libmv-capi.h +++ b/extern/libmv/libmv-capi.h @@ -65,8 +65,8 @@ struct libmv_trackRegionResult { double correlation; }; int libmv_trackRegion(const struct libmv_trackRegionOptions *options, - const float *image1, const float *image2, - int width, int height, + const float *image1, int image1_width, int image1_height, + const float *image2, int image2_width, int image2_height, const double *x1, const double *y1, struct libmv_trackRegionResult *result, double *x2, double *y2); |