commit efd7a93317e0278b99e66785f667823e451daef1 Author: Sergey Sharybin Date: Tue May 9 10:16:42 2017 +0200 Fix strict compiler warnings, unused variables commit 8efd47e13dfdd3f7209bc96f26d0b13127dd6376 Author: Sergey Sharybin Date: Wed Dec 14 10:44:57 2016 +0100 Fix T50243: libmv_panography_test is broken There was fully wrong logic in comparison: was actually accessing memory past the array boundary. Run test manually and the figure seems correct to me now. Spotted by @LazyDodo, thanks! commit 6dfb9cd1bd14669d84be789000ce234747fb00ff Author: Sergey Sharybin Date: Thu Jul 14 11:49:38 2016 +0200 Fix some strict compiler warnings One of them was a real bug! commit f61adaecf7b29ebe6677be0e1c825f0a8d475e4b Author: Sergey Sharybin Date: Wed May 31 11:22:34 2017 +0200 Enable explicit schur complement for BA step This is something we do in Blender and only reason it was not enabled for standalone Libmv is because we did not have fresh enough version of Ceres bundled. commit fc5d3a1d4880c6658aff693c1c1e8c10c96ce1a7 Author: Sergey Sharybin Date: Wed Nov 2 15:32:11 2016 +0100 Update tests to make tests pass after recent Ceres update Just a precision issue, difference is around 1e-7. Should be fine to simply update expected value. commit e1ac9f6124110c1a90d8e417bea47acfcbdcca42 Author: Sergey Sharybin Date: Wed May 31 10:54:48 2017 +0200 Update Ceres to latest release 1.12.0 commit ac1571352b4962f110929b963f8616d7310ceea5 Author: Sergey Sharybin Date: Fri Apr 7 17:10:44 2017 +0200 Fix crash of keyframe selection on 32bit linux commit 5f8df3da965686df39a6ae5c9f17482075017bf4 Author: Sergey Sharybin Date: Tue Jan 19 14:00:53 2016 +0500 Solve some strict warnings in tests commit 8ea3a5d752a9ce3337ab7643897472a4d33747f1 Author: Brecht Van Lommel Date: Sat Feb 18 23:52:31 2017 +0100 Fix a few compiler warnings with macOS / clang. commit ffbe81461770e70736e80b8cab8e6eb1f8b27160 Author: Mike Erwin Date: Wed May 31 10:43:08 2017 +0200 Fix comparison of identicals Some of these check that dimensions match before running code that assumes they do match. Found with PVS-Studio T48917. commit 206c01999cde16c1c6c43a8e13ffa86020821d98 Author: Sergey Sharybin Date: Wed May 31 10:39:16 2017 +0200 Add basic track masking API in place This brings back ability to mask non-interesting parts of specific track (the feature got lost with new auto-track API). Added it back by extending frame accessor class. This isn't really a frame thing, but we don't have other type of accessor here. Surely, we can use old-style API here and pass mask via region tracker options for this particular case, but then it becomes much less obvious how real auto-tracker will access this mask with old style API. So seems we do need an accessor for such data, just matter of finding better place than frame accessor. commit faa069cb826892780356477cc10602390fecf06b Author: Sergey Sharybin Date: Wed May 31 10:36:26 2017 +0200 Tests: Tweak epsilon to avoid what looks a false-positive failure commit 7c84e45c1d330871477ba3516f57178e5b9d101f Author: Sergey Sharybin Date: Wed May 31 10:15:43 2017 +0200 CMake: Fix mistake in closing branch commit cb769a0d319a8c95948153d78a4c3378a0142ece Author: Sergey Sharybin Date: Thu Jul 21 12:52:33 2016 +0200 Set of fixes for MSVC215 - Move GLOG/GFLAGS defines to a more global scope, this way ANY of our own libraries will use proper declspec. - Compile png/zlib/openexif on Windows as well since those are required for a correct linking. commit bb95c8654fd2cea72d66ed04cd825cc3712ea804 Author: Sergey Sharybin Date: Wed Jul 20 18:14:46 2016 +0200 Disable unexisting Ceres option Explicit Schur complement requires having newer Ceres than we currently have bundled. commit a2e12c959ef32cc9382244d1581992c2f7aa9c09 Author: Sergey Sharybin Date: Wed Jul 20 18:04:57 2016 +0200 Various fixes for MSVC - Update Eigen to 3.2.7 since this brings crucial fixes for MSVC 2015. - Switch to STATIC build by default. There are issues building current sources as dynamic libraries with MSVC2015 and additionally building dynamic Ceres is not recommended anyway, so let's not do this for the time being. If anyone finds a way to make this all working -- it'llsurely be a welcome addition. commit 7a676106720fb126a27ff010abdd8bb65d7e0d9a Author: Sergey Sharybin Date: Mon Jan 4 18:30:12 2016 +0500 Fix strict compiler warnings commit d3537e3709fe11f42312e82cb1c9837c9e742385 Author: Sergey Sharybin Date: Sun Jan 3 14:17:10 2016 +0500 GLog/GFlags: Reduce difference between upstream and bundled versions Several things here: - Re-bundled sources using own fork with pull-requests applied on the sources. - Got rid of changes around include "config.h", it was needed by Blender to make it's include directories configuration to work. This could be addressed differently from Blender side. - Moved some customization to defines set by CMakeLists. commit 1ec37bba2cfbbf0d6568429fa3035ee2164c23e6 Author: Sergey Sharybin Date: Sat Jan 2 12:42:55 2016 +0500 GFlags linking errors fix for MSVC commit df7642b270e8e43685e9ffb404b59d7b226a9f60 Author: Sergey Sharybin Date: Thu Dec 31 17:56:12 2015 +0500 Alternative fix for missing prototype for a couple of functions commit 08f685797b7d776cdaa579136c82b15ddc6ffb30 Author: Sergey Sharybin Date: Thu Dec 31 17:33:05 2015 +0500 Update GFlags to the latest upstream version Makes it easier to synchronize some compiler/warning fixes. commit e0ef5b09203e3906a555e6c2010f25cb667da9cd Author: Sergey Sharybin Date: Thu Dec 31 16:15:59 2015 +0500 GLog: Solve some compilation warnings Those are actually sent to a pull-request, see https://github.com/google/glog/pull/81 commit 2072b213d4d3a55d099a063ed1e7331cc773454e Author: Sergey Sharybin Date: Thu Dec 31 16:13:53 2015 +0500 Add Martijn Berger to the AUTHORS file commit 4dd0770d98d67896e4f936356e281f63d927410e Author: Martijn Berger Date: Thu Dec 31 16:13:08 2015 +0500 Fix compilation error of Glog and Gflags with MSVC2015 commit 2712f42be2ad79e7d3a6c9905f6d8d1e3b7133ac Author: Brecht Van Lommel Date: Thu Dec 31 14:00:58 2015 +0500 Fix OS X (with 10.11 SDK) glog build errors due to using deprecated code. Some values are now restored to the ones from before the upgrade today. commit d249280fdf7c937fd6ebbc465508843a70aafd4c Author: Sergey Sharybin Date: Wed Dec 30 16:59:28 2015 +0500 Tweaks to Glog to support building on all platforms This makes it possible to compile Libmv on all platforms, amount of hacks is lower, which could bring some warnings up, but those are better be addressed via upstream which is now rather active. commit 86c57750ddb857643fb5dd2c83b4953da83dd57d Author: Sergey Sharybin Date: Wed Dec 30 16:15:47 2015 +0500 Enable explicit Schur complement matrix by default Gives up to 2x speed up of camera solving process in average scene. In the really huge one it might be slower, but that we need to investigate. commit d6c52a70b5a0664b7c74bda68f59a895fe8aa235 Author: Sergey Sharybin Date: Wed Dec 30 16:13:03 2015 +0500 Fix one frame memory leak when tracking last frame commit 6e2ac41d25d5923b2a62c96d27d919a36eff9b48 Author: Brecht Van Lommel Date: Wed Dec 30 16:11:24 2015 +0500 Motion tracking not workig with Xcode 7 on OS X. Caused by use of the uninitialized shape_ variable in Resize(). commit fc72ae06fb4ae559ac37d14d1b34d6669505cc86 Author: Sergey Sharybin Date: Wed Dec 30 15:56:40 2015 +0500 Update GLog to latest upstream Should fix issues building with MSVC2015. commit d4b2d15bd3d195074b074331354de96a1b51042f Author: Sergey Sharybin Date: Wed Dec 30 16:01:10 2015 +0500 Fix wrong README file reference commit 2b4aa0b7720cae9a408284834559bea9960157ee Author: Keir Mierle Date: Mon May 11 02:16:53 2015 -0700 Make README more informative for GitHub viewers Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D1295 commit 514e4491aea655d20be047ed87f002fb7854d5c9 Author: Keir Mierle Date: Mon May 11 01:54:09 2015 -0700 Simplify the modal solver Ceres cost function Fix test by flipping the quaternion. Reviewers: sergey Reviewed By: sergey Projects: #libmv Differential Revision: https://developer.blender.org/D756 commit e55fafd31f7d53d42af7c6b7df2eebe3c2568da9 Author: Sergey Sharybin Date: Wed Dec 31 19:05:51 2014 +0500 Synchronize MSVC compilation fixes from Blender commit 7d6020d2ec42c6cb2749bc891186b4880d26d40b Author: Sergey Sharybin Date: Wed Dec 31 15:32:07 2014 +0500 Update GLog to latest upstream revision 143 Mainly to solve compilation error with demangle.cc. commit 5dc746700eaf85cb674f0fb73ff3c1b49a7f6315 Author: Sergey Sharybin Date: Fri Dec 12 14:59:55 2014 +0500 Update GFlags to latest release 2.1.1 Main purpose of this (andsome of upcoming) update is to check if the upstream sources are useable without any modifications for us. And if not, then we'll need to consider moving some changes into upstream. This commit contains an one-to-one copy of the upstream GFlags library and also changes namespace usage since it's changed in the upstream. commit 6fe6d75f7e90e161b44643b953f058a3829a5247 Author: Sergey Sharybin Date: Sat Nov 1 02:53:36 2014 +0500 Libmv: Code cleanup, mixed class/struct in declaration/definition commit d2a5f7953812d2d09765431b59c6c4ac72faf35b Author: Sergey Sharybin Date: Thu Oct 30 23:13:53 2014 +0500 Libmv: Support disabled color channels in tracking settings This was never ported to a new tracking pipeline and now it's done using FrameAccessor::Transform routines. Quite striaghtforward, but i've changed order of grayscale conversion in blender side with call of transform callback. This way it's much easier to perform rescaling in libmv side. commit d976e034cdf74b34860e0632d7b29713f47c5756 Author: Keir Mierle Date: Sat Aug 23 00:38:01 2014 -0700 Minor keyframe selection cleanups Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D757 commit bc99ca55dadfca89fde0f93764397c2fe028943d Author: Sergey Sharybin Date: Sat Aug 23 01:55:32 2014 +0600 implement backward prediction The title actually says it all, just extend current implementation of PredictMarkerPosition() to cases when tracking happens in the reverse order (from the end frame to start). it's still doesn't solve all the ambiguity happening in the function in cases when one tracks the feature and then re-tracks it in order to refine the sliding. This is considered a separate TODO for now and will likely be solved by passing tracking direction to the prediction function. Reviewers: keir Reviewed By: keir Differential Revision: https://developer.blender.org/D663 commit 5b87682d98df65ade02638bc6482d824cf0dd0b3 Author: Keir Mierle Date: Thu Aug 21 22:45:22 2014 -0700 Make libmv compile on Ubuntu 14.04 Reviewers: fsiddi Reviewed By: fsiddi Subscribers: sergey Differential Revision: https://developer.blender.org/D755 commit 0a81db623c458e0384b4f7060d1bcff8993fb469 Author: Sergey Sharybin Date: Wed Jul 23 00:42:00 2014 +0600 Fix wrong residual blocks counter This happened in cases when having zero-weighted tracks and could lead to some assert failures on marking parameter block constant. commit 2824dbac54cacf74828678be7a5c9fd960ce83e2 Author: Sergey Sharybin Date: Fri Jul 18 12:52:03 2014 +0600 Fix search area sliding issue The only way to do this is to store search region in floats and round when we need to sample it. Otherwise you'll always have sliding effect caused by rounding the issues, especially when doing incremental offset (thing which happens in the prediction code). Pretty much straightforward change apart from stuff to be kept in mind: offset calculation int should happen relative to the rounded search region. This is because tracker works in the space of the search window image which get's rounded on the frame access, This makes API a bit creepy because frame accessor uses the same Region struct as the search window in Marker and ideally we would need to have either IntRegion or Region in order to make Libmv fully track on what's getting rounded and when. Reviewers: keir Reviewed By: keir Differential Revision: https://developer.blender.org/D616 commit 04862c479332308be47a0f27361402444ace8880 Author: Keir Mierle Date: Fri May 9 23:00:03 2014 +0200 Start the automatic 2D tracking code This starts the 2D automatic tracking code. It is totally unfinished. Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D523 commit be679f67d807a2139c1f7d7e2ca45141940b30d5 Author: Keir Mierle Date: Fri May 9 14:36:04 2014 +0200 Also shift the search window Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D520 commit 66b8f5eef2633ebcde32a388fc14c60171011821 Author: Keir Mierle Date: Fri May 9 13:06:28 2014 +0200 Change the search region to absolute frame coordinates Smarter Eigen usage Better error logging Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D519 commit a08193319ae409fad8f08887eae1f79f02e91eaa Author: Keir Mierle Date: Fri May 9 12:02:47 2014 +0200 First cut at predictive tracing This adds a Kalman filter-based approach to predict where a marker will go in the next frame to track. Hopefully this will make the tracker work faster by avoiding lengthy searches. This code compiles, but is otherwise untested, and likely does not work. Fix else branch Add some tests Update patch coordinates as well (and test) Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D518 commit 607ffb2f62b56e34a841abbb952d83e19cd1e23c Author: Keir Mierle Date: Thu May 8 16:05:28 2014 +0200 Add constructor to AutoTrack commit c39e20a0c27da3733804c3848454b5d4c4f0e66b Author: Keir Mierle Date: Thu May 8 16:04:20 2014 +0200 Fix GetMarker compilation issue commit 8dd93e431b6e44439c803bfd26ec2669b656177e Author: Keir Mierle Date: Thu May 8 15:50:26 2014 +0200 Expose GetMarker() in AutoTrack Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D516