michel thoby wrote:
>
> http://michel.thoby.free.fr/CuttySark/result.jpg
> is what I have got after a very short learning period with Enfuse for
> this function. Couldn't it better?
>
Now this is really interesting. I got a focus stack from Rik Littlefield
(the one which he used for
http://www.photomacrography2.net/forum/viewtopic.php?t=4051 ) consisting of
61 images with very narrow DOF and the result was almost perfect (according
to Rik).
I tried on with different values for --ContrastWindowSize and got a slightly
better result with --ContrastWindowSize=7
I used --wExposure=0 --wSaturation=0 --wContrast=1 --HardMask
The images where perfectly aligned without alpha mask (alpha mask seems to
cause a problem similar to the one you described - see
http://tinyurl.com/ywwb2t for details)
best regards
-----
Erik Krause
http://www.erik-krause.de
--
View this message in context: http://www.nabble.com/Experimenting-extended-DOF-images-with-Enfuse-tp15294081p15294809.html
Sent from the hugin ptx mailing list archive at Nabble.com.
michel thoby wrote:
> http://michel.thoby.free.fr/CuttySark/Essai_Helicon-Focus.html
>
> http://michel.thoby.free.fr/CuttySark/composite-trois-matsPSCS_web.jpg
> was the output by Helicon Focus.
>
> http://michel.thoby.free.fr/CuttySark/result.jpg
> is what I have got after a very short learning period with Enfuse for
> this function. Couldn't it better?
It looks like the source images are not aligned very well. Enfuse does not
align the images prior to focus stacking, it only does image blending. I
think Helicon Focus probably does alignment before stacking the images.
When aligning the image stack and then blending it with enfuse, I get
the following, much nicer result:
http://hugin.panotools.org/testing/enblend/CuttySark_aligned_fused.jpg
This seems comparable to the Helicon Focus result with respect to sharpness.
The main difference are now the dust-spots in the enfused image. Helicon
Focus seems to have an algorithm that avoids including dust-spots from out
of focus images.
I used align_image_stack (included in recent hugin snapshots, not sure about
the OSX ones, though) for the alignment, but any other tool (hugin etc.) can
be used for it as well, as long as it can also compensate for the slight
difference in magnification (optimize HFOV for each individual image, except
the first).
Note that currently, there is a bug in enfuse when using --wContrast with
images with alpha channel, so I stripped the alpha channel before feeding
the aligned images into enblend.
ciao
Pablo
>Hi Michel,
>
>michel thoby wrote:
>
>
>>http://michel.thoby.free.fr/CuttySark/Essai_Helicon-Focus.html
>>
>>http://michel.thoby.free.fr/CuttySark/composite-trois-matsPSCS_web.jpg
>>was the output by Helicon Focus.
>>
>>
>When aligning the image stack and then blending it with enfuse, I get
>the following, much nicer result:
>
>http://hugin.panotools.org/testing/enblend/CuttySark_aligned_fused.jpg
>
>This seems comparable to the Helicon Focus result with respect to sharpness.
> The main difference are now the dust-spots in the enfused image. Helicon
>Focus seems to have an algorithm that avoids including dust-spots from out
>of focus images.
>
Helicon Focus provides a "dust map" feature that works from a "white
frame" provided separately.
I am not aware of any algorithm that can reliably identify dust spots
from a single stack. It seems an ill-conditioned problem if the stack
is short and well aligned. With deep stacks and/or alignment shifts
between frames, perhaps something could be done.
--Rik
> I am not aware of any algorithm that can reliably identify dust spots
> from a single stack. It seems an ill-conditioned problem if the stack
> is short and well aligned. With deep stacks and/or alignment shifts
> between frames, perhaps something could be done.
I don't understand completely. Do you speak about dust on the sensor?
This should be relatively easy to identify from a focus stack: A dust
spot stays sharp in all images...
best regards
Erik Krause
http://www.erik-krause.de