128 points · by rch · 4y ago · 32 comments
- Estimate the pose of Street View cars, aircrafts, and satellites.
- Build 3D models for PhotoTours.
- Estimate satellite image sensor characteristics.
- Stitch panoramas on Android and iOS.
- Apply Lens Blur on Android.
- Solve bundle adjustment and SLAM problems in Project Tango.
Microsoft Research uses Ceres for nonlinear optimization of objectives involving subdivision surfaces under skinned control meshes.
If you prefer to reply privately, my contact details are in my HN profile.
On the other hand it seems like NLOPT is oriented towards implementing various more general "black box" optimization methods, only some of which need/support gradient information, and there's no auto differentiation.
So if I was working on some kind of SFM/SLAM problem, I'd probably use Ceres, but if I had a less structured optimization problem - and especially if I didn't have gradients - I'd try NLOPT.
Ceres can use GPUs for some solver bits too, I believe.
Google for linear programming gpu acceleration to see for yourself
More generally, there's a question of where the algorithms themselves benefit from GPUs or parallelism in general. For large scale nonlinear, continuous optimization problems using second-order, Newton like methods, the big costs are in the function evaluations, their derivatives, and the linear system preconditioners/solves. Generally speaking, how the function evaluations and derivatives are computed are on the user. For the preconditioning/linear system solves, there's value in parallelism. However, here, the GPUs have traditionally lagged. Basically, we need a factorization, be it sparse or dense, and it's only been recently where good library support has been extended for GPUs. For the longest time, the entire matrix factorization needed to fit onto the GPU and many of these matrices were large. That said, for optimizers that accept a user-defined preconditioner, the use of GPUs is already possible.