Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECC alignment is terribly slow #7

Open
tonyketcham opened this issue Nov 13, 2019 · 2 comments
Open

ECC alignment is terribly slow #7

tonyketcham opened this issue Nov 13, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@tonyketcham
Copy link
Owner

tonyketcham commented Nov 13, 2019

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 tonyketcham added the enhancement New feature or request label Nov 13, 2019
@tonyketcham tonyketcham added this to To do in Focus Stack -> Depth Map via automation Nov 13, 2019
@tonyketcham
Copy link
Owner Author

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

@levyben
Copy link

levyben commented Aug 21, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants