OpenCorr
OpenCorr copied to clipboard
How can I compare two images and track the movements of two points by comparing two pictures using C++ ?
I'm currently coding an app for a school project and now I need to compare 2 images in my windows form C# app. I've no ideas how can can I track the movement of four points between 2 pictures of a lattice structure. I need to compare an image of a lattice that is undeformed, then I need to deform it and take a picture of it again, to compare it with the same base lattice, how could I do it with your library? I was given some hints to start with the comparison, I could get displacement vectors, you would be a great help to me because it's a quite ambitious project, for now I managed to code a c# program that allows to binarize the lattice image and then to detect the central pattern of the undistorted lattice.

So I need to track the edges of the red center square on a non-deformed lattice.

And here is the picture with the possible square that we will have after deformation, but i dont have any ideas on how i can track the movement of the points.
I currently use EmguCV to do some image processing to detect the edges of the shape and to binarize the picture. After tracking the movement, I need to get the size of each segment of the square to calculation the deformation.
I think we can do a sort of correlation between the two images but like I said I really have no idea how I can do that if I need to use another library like this librairy...