| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a Python implementation of the inverse compositional algorithm as defined in the publicaiton "The Inverse Compositional Algorithm for Parametric Registration", Image Processing On Line, 6 (2016), pp. 212–232. https://doi.org/10.5201/ipol.2016.153.
The contributions of the paper are:
The original publication comes with a C++ implementation. This python implementation is based on the original C++ code. It is intented to be lightweight, easy to deploy on any platform and easy to use. The python implementation makes use of standard libraries for classic image processing tasks like filter convolutions or bi-cubic interpolation, such as Scipy.
Update 2024-08-26: The python implementation is based on the code of the modified inverse compositional algorithm. The original code was still buggy for homographies and was not working well if only one scale was processed with the quadratic metric. The modified algorithm brings several improvements:
Update 2025-09-01: A faster implementation (hardware accelerated), based on Keras and Tensorflow has been developped providing in average a 10x acceleration compared to the numpy version. It can be much faster if images processed in the batch are from the same source and can be processed under the same convergence criteria. The implementation is available in the branch hardware_acceleration, and will be merged with the main branch soon.
Instructions to install the project.
Clone the repository git clone https://github.com/mfournigault/inverse_compositional_algorithm.git
Navigate to the project directory cd inverse_compositional_algorithm
Install dependencies pip install -r requirements.txt
Examples of how to use the project. See examples in notebook inverse_compositional_algorithm.ipynb or others of subdirectory test.
Use the script configuration_handler.py to create a configuration file or to read a configuration file. Modify the configuration file to change the parameters of the algorithm.
Create your feature branch (git checkout -b feature/AmazingFeature) Commit your changes (git commit -m 'Add some AmazingFeature') Push to the branch (git push origin feature/AmazingFeature) Open a Pull Request
See LICENSE for more information.
Project Link: https://github.com/mfournigault/inverse_compositional_algorithm
| Back | FazBrowse Home | New Git URL |