I'm trying to solve the following problem:
I'm in an analysis process of some photographs (as taken by a camera, thus they are conically deformed). I'm already able to automatically identify some elements and its type in them. I know those elements are organized in a grid pattern, which is also known. I give an example in the following image:
In the example, I have Stage 3 (without the lines, just the elements) and I know those elements originally followed the Stage 1 pattern. Please, note that there are some lines of the original grid from where I can't identify any elements.
The question is: Is it possible to match elements from Stage 3 to the corresponding ones in Stage 1? The desired result would be the ids of the next image:
Thanks in advance.