Ask Your Question
1

Blending images with different focal length

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

kovand11 gravatar image

updated 2020-10-05 23:10:10 -0600

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
0

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

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

Question Tools

Stats

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

Seen: 2,123 times

Last updated: Sep 11 '14