Simple pleasures. Two photos of clouds catching the evening sunset light.
Tag Archives: enfuse
Focus-Stacking with the Fuji X-H1
For years I’ve been a fan of superresolution – taking multiple images of a scene with subtle sub-pixel shifts and upscaling before blending to give a greater resolution photo than any one source.
One of the features I used occasionally on the Pentax K-1 was its pixel-shift, whereby the sensor moved four times around a 1px square; this gives an improved pixel-level resolution and full chroma detail at each point.
Having exchanged that for the Fuji X-H1, I still look to perform super-resolution one way or another. Hand-held HDR always works – in this case even better than either the K-1 or the X-T20 because the X-H1 permits 5 or 7 frames per bracket at ±2/3EV each, which is ideal.
But I thought I’d experiment with a different approach: focus-stacking. This way, the camera racks the focus from foreground to background in many fine steps. Keeping the focal-length the same, the effective zoom changes subtly between successive images. Essentially, where hand-held HDR varies the position stochastically in an X-Y plane, focus-stacking means pixels from the source frames track a predictable radial line in the superresolved image.
The X-H1 has focus-bracketing but leaves the blending up to the user in post. That’s OK.
First, an overview of the scene:
The X-H1 made 50 frames, focussing progressively from front to back. These were blended using enfuse:
time align_image_stack -a /tmp/aligned_ -d -i -x -y -z -C [A-Z]*.{tif,tiff,jpg,JPG,png} time enfuse -o "fused_$base" /tmp/aligned_* -d 16 -l 29 --hard-mask --saturation-weight=0 --entropy-weight=0.4 --contrast-weight=1 --exposure-weight=0 --gray-projector=l-star --contrast-edge-scale=0.3
The results are a little strange to behold – while the effective DoF is much increased (the distant wood texture is clear) the rock detail is quite soft; I suspect some of the above numbers need tweaking.
However, with a bit of work – both enhancing the local contrast and using in-painting to tidy up the rock itself – a pleasant image emerges:
A definite improvement. I may have to use it in my landscape work a bit 🙂
Autumn Holiday Day 1: The Nice Place
There’s no better place to start a holiday than the Nice Place(TM), even if it does involve getting up and on the road at 4am for a 165-mile drive up north.
The sun rose over Loch Beinn a Mheadhoin as I approached:
The Caledonian Forest at Glen Affric was its usual beautiful self – still not cold enough for morning mist in the trees, but brilliant morning sunlight and heavy rain caused a wonderful vibrant double rainbow while I was down by the river.
For a change, I took a long walk a couple of miles along the side of Loch Beinn a Mheadhoin, to be rewarded with a gorgeous view of Sgurr na Lapaich covered in pure white snow, across the water.
Other views from the morning:
Mill Glen, Tillicoultry
I hadn’t intended to go around the Mill Glen… but with a choice of three Hill-foot villages, I said Tillicoultry when it should’ve been Alva. Never mind. At least this Mill Glen has a tolerable view of distant refineries off the top.
Loch Lomond: At Inversnaid
There’s a couple of picturesque views to be had just below the hotel at Inversnaid harbour – the waterfall cascading down amongst the rocks one way, and opposite, a line of boulders leading toward the Arrochar Alps across Loch Lomond. Can’t complain.
I don’t often use the Pattanaik algorithm in LuminanceHDR, especially for colour results, but it seemed to work really well with the waterfall, nicely balancing low-key levels and saturation.
Loch Chon Reflections
I’ve had it in mind to visit Loch Chon in the Trossachs for a little while now, to see if I could find similar views to other photos of the area.
It didn’t disappoint – there were some wonderful reflections of colourful trees to be enjoying.