Depth-Mapper icon indicating copy to clipboard operation
Depth-Mapper copied to clipboard

ECC alignment is terribly slow

Open tonyketcham opened this issue 6 years ago • 2 comments
trafficstars

Problem

The ECC image alignment implementation takes ~10 minutes to align a stack of 15 large (20MP) images. Although a noticeable improvement, the results are not perfect either. Some ghosting lines are still present from image misalignment.

Potential Solution

Bitmap alignment may prove much faster than ECC. Perhaps finding a rough homography first may even be faster.

tonyketcham avatar Nov 13 '19 20:11 tonyketcham

Switched ECC warp method to homography matrix for very noticeable improvement in quality of image alignment. Standalone homography warping prior would improve the runtime of the find/warpECC methods afterwards

tonyketcham avatar Dec 15 '19 10:12 tonyketcham

I implemented the ECC algorithm on GPU hardware (C++). It significantly increase the speed, especially in large image cases... check https://github.com/levyben/gpu_ecc_alignment this can significantly improve the experience and quality of your project.

levyben avatar Aug 21 '21 15:08 levyben