# Are you using Julia for visual or 3D geometry optimizations?

**URL:** <https://discourse.julialang.org/t/are-you-using-julia-for-visual-or-3d-geometry-optimizations/104102>\
**Category:** Community\
**Tags:** machinevision\
**Created:** [September 21, 2023, 10:42am UTC](https://discourse.julialang.org/t/are-you-using-julia-for-visual-or-3d-geometry-optimizations/104102 "2023-09-21T10:42:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user664303](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/user664303/32/37843_2.png) [@user664303](https://discourse.julialang.org/u/user664303)\
**Post date:** [September 21, 2023, 10:42am UTC](https://discourse.julialang.org/t/are-you-using-julia-for-visual-or-3d-geometry-optimizations/104102/1 "2023-09-21T10:42:28Z")

</div>

As [I’ve mentioned here before](https://discourse.julialang.org/t/a-new-solver-for-robustified-non-linear-least-squares-problems-with-non-euclidean-variables/96085), I’m developing a [non-linear least squares optimization package](https://github.com/ojwoodford/NLLSsolver.jl) similar to the [Ceres-solver C++ library](http://ceres-solver.org/). It’s a general NLLS solver, but is particularly well-suited to 3D geometry optimizations.

Are you using Julia for visual or 3D geometry optimizations? If so, I’d love to hear about what you’re doing. It would be good to find some useful applications of the [NLLSsolver](https://github.com/ojwoodford/NLLSsolver.jl) package, beyond my own.

---

<div class="post-metadata">

**Author:** ![Ashwani\_Rathee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ashwani_rathee/32/49551_2.png) [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Post date:** [September 22, 2023, 9:23am UTC](https://discourse.julialang.org/t/are-you-using-julia-for-visual-or-3d-geometry-optimizations/104102/2 "2023-09-22T09:23:54Z")

</div>

I have used LsqFit.jl for camera calibration, and interested in multiple view geometry and sfm so I’ll very likely eventually run into some use case involving your work product you mentioned soon. I am a bit new to these topics and still learning, can you please tell what use cases you think NLLSolver can be used for?

---

<div class="post-metadata">

**Author:** ![user664303](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/user664303/32/37843_2.png) [@user664303](https://discourse.julialang.org/u/user664303)\
**Post date:** [September 22, 2023, 9:56am UTC](https://discourse.julialang.org/t/are-you-using-julia-for-visual-or-3d-geometry-optimizations/104102/3 "2023-09-22T09:56:29Z")

</div>

> [@Ashwani\_Rathee](#):
>
> Can you please tell what use cases you think NLLSolver can be used for?

It can be used for:

- Bundle adjustment (e.g. in SfM, camera calibration)
- Pose graph optimization (SfM)
- Tracking, pose optimization
- Direct image alignment (I need to add support for photometric costs for this)
- Mesh fitting

and many more. Anything with a least squares optimization in it.
