diff options
Diffstat (limited to 'src/feature.cpp')
-rw-r--r-- | src/feature.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/feature.cpp b/src/feature.cpp index 66b0677..fbb1376 100644 --- a/src/feature.cpp +++ b/src/feature.cpp @@ -1119,3 +1119,15 @@ Feature::patch ( ) return _patch ; } /* ----- end of method Feature::patch ----- */ +Mat +Feature::warpedPatch ( const Camera &cam, const Quaterniond &q1 ) +{ + return cam.warpPatch(_patch, q0, q1); +} /* ----- end of method Feature::warpedPatch ----- */ + +Mat +Feature::reflectedPatch( const Camera &cam, const Quaterniond &q1 ) +{ + return cam.reflectPatch(_patch, q0, q1); +} + |