Given many patches that are taken from an image, the task is creating a single image that is composed of the patches.
I have tried the naive solution:
- for every 2 images, go over many patches and compare.
- If they are similar above some confidence threshold, create a new image of the 2.
- Add the new image to the pool and remove the other 2.
- repeat until the pool is of size 1.
The problem is that this solution is very slow, and the main bottleneck is the patch comparing. Is there a better way of doing that which is faster? Maybe a better patch selection and comparison method?