1
Maps In Progress / Re: Crusader: No Remorse
« on: September 30, 2010, 03:41:23 pm »
Another update:
The program will now load a group of images, they can be any size and there can be any number of them.
The program will use a bunch of logic to determine the canvas size, then it will place the base picture, then overlay the second picture by the majority offset.
It then saves the new image as the new base repeats for all the pictures. Because the base picture gets successively bigger each iteration, the program takes longer and longer for more pictures.
However, i did some profiling and found that the slowness is 99% the harris corner detection and the correlation (from the Accord.NET library).
So I'm going to code a custom corner detection (actually copy the Moravec or FAST algorithm).
The images also need to be loaded so that each new image will overlap at least some portion of the previous image (ie: you stitch some images together, then the next image is in a different part of the map), so I'll just have to do some really crazy logic to sort the pictures or something first.
Hopefully, this program will greatly aid anybody on this site stitching far away images together that need to be pixel perfect.
The program will now load a group of images, they can be any size and there can be any number of them.
The program will use a bunch of logic to determine the canvas size, then it will place the base picture, then overlay the second picture by the majority offset.
It then saves the new image as the new base repeats for all the pictures. Because the base picture gets successively bigger each iteration, the program takes longer and longer for more pictures.
However, i did some profiling and found that the slowness is 99% the harris corner detection and the correlation (from the Accord.NET library).
So I'm going to code a custom corner detection (actually copy the Moravec or FAST algorithm).
The images also need to be loaded so that each new image will overlap at least some portion of the previous image (ie: you stitch some images together, then the next image is in a different part of the map), so I'll just have to do some really crazy logic to sort the pictures or something first.
Hopefully, this program will greatly aid anybody on this site stitching far away images together that need to be pixel perfect.