Ask Your Question

Blending images with different focal length

asked 2014-06-23 19:24:28 -0500

kovand11 gravatar image

updated 2014-06-23 19:27:28 -0500

I'm trying to implement an automatic focus stacking algorithm. The scene and the camera position is static, but the view angle changes with focus length. I can take several images, and I have direct API controll over the focus lenses. Is there any robust automatic method to allign the images? Or any method to calibrate the setup? (measure the angles)

Focal stack example

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-09-11 13:35:48 -0500

Hi Kovand,

I'm dealing with this problem now. This is my first time looking at OpenCV, but I didn't see anything too promising. On the Wikipedia page for "Focus stacking", there is a table of software, some of which is free-ware/open-source. I found Enblend/Enfuse, which I have just started using and it works like a charm. You have to read the manual to understand the options, but it should take under a day to become a pro.

Good luck!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-06-23 19:24:28 -0500

Seen: 1,625 times

Last updated: Sep 11 '14