A simple, yet useful lib for experimentation.
This is a lib and an example test for doing registration of one image B in relation to another image A, that have to have the same size. The registration that is done is only with regard to translational movements in XX and in YY axis, but it registers with sub pixel accuracy. And it registers in a fast way the two images. It also provides a function to shift the image with sub pixel precision. There is also in this code a small lib that is a wrapper over the Odin stb image bindings to load and save images in several image formats.
This code was developed on Linux, bu tit probably will work with minimal modifications in other Odin supported operating systems.
Note: The image is the famous iamge of Lena used historically in Computer Graphics.
# To compile stb :
$ cd Odin/vendor/stb/src
$ make
# To compile and run the project :
$ make clean
$ make opti
$ make run
MIT Open Source License
Best regards,
Joao Carvalho