:orphan:

.. _gallery:

Gallery
=======

Basic examples
--------------

.. minigallery::
    :add-heading: 1

    curve_fitting.py
    adding_regularization.py
    affine_parametrization.py
    batch_undistortion.py
    analyze_problem.py
    L_curve_analysis.py


.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to perform L-curve analysis to estimate the optimal regularization weight for an optimization problem. We will use the Gauss-Newton method to solve a regularized optimization problem for a range of regularization weights, and then we will analyze the results to find the optimal weight.">

.. only:: html

  .. image:: /_gallery/images/thumb/sphx_glr_L_curve_analysis_thumb.png
    :alt:

  :doc:`/_gallery/L_curve_analysis`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">L-curve analysis</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to use pysolve-gn package.">

.. only:: html

  .. image:: /_gallery/images/thumb/sphx_glr_curve_fitting_thumb.png
    :alt:

  :doc:`/_gallery/curve_fitting`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Curve fitting</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to use pysolvegn.study_optimization to study the Gauss-Newton Hessian of a camera calibration problem.">

.. only:: html

  .. image:: /_gallery/images/thumb/sphx_glr_study_optimization_thumb.png
    :alt:

  :doc:`/_gallery/study_optimization`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Study of camera calibration optimization</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to use regularization with pysolve-gn. This example is the continuation of the basic curve fitting example, demonstrating how to incorporate regularization.">

.. only:: html

  .. image:: /_gallery/images/thumb/sphx_glr_adding_regularization_thumb.png
    :alt:

  :doc:`/_gallery/adding_regularization`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Adding regularization (curve fitting)</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to use a parametrization with pysolve-gn.">

.. only:: html

  .. image:: /_gallery/images/thumb/sphx_glr_affine_parametrization_thumb.png
    :alt:

  :doc:`/_gallery/affine_parametrization`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Camera calibration with affine parametrization</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to use pysolvegn.solve_batch to solve a large number of small independent least squares problems at once.">

.. only:: html

  .. image:: /_gallery/images/thumb/sphx_glr_batch_undistortion_thumb.png
    :alt:

  :doc:`/_gallery/batch_undistortion`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Undistortion of image points with a batch solver</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /_gallery/L_curve_analysis
   /_gallery/curve_fitting
   /_gallery/study_optimization
   /_gallery/adding_regularization
   /_gallery/affine_parametrization
   /_gallery/batch_undistortion


.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-gallery

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download all examples in Python source code: _gallery_python.zip </_gallery/_gallery_python.zip>`

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download all examples in Jupyter notebooks: _gallery_jupyter.zip </_gallery/_gallery_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
