jclement.ca
8Oct/090

My first attempt at Focus Blending

My first attempt at focus blending.  I shot a few images on my G9 at lunch today and used enfuse to blend the exposures, neither of which had both pop cans in focus, into a single sharp image.

Near Focus:

focus_near-719911

Far Focus:

focus_far-756052

Blended Focus:

focus_blended-786777

There is a bit of a halo effect on the highlights on the tin can but otherwise it looks relatively good. 

The Process:

First align the images using "align_image_stack".  This would be more important if they were hand-held or something crazy like that.  This produces "aligned_img1.tif" and "aligned_img2.tif".

$ align_image_stack -a "aligned_" -m img1.jpg img2.jpg

Now run them through enfuse to blend the focus:

$ enfuse --wExposure=0 --wSaturation=0 --wContrast=1 --HardMask -o test.jpg *.tif

This takes a long time (a minute or so) but the result is pretty decent.  Not bad for free software!

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.