Archive for February 2009

Fun with Focus Stacking

One of the features of Photoshop CS4 is Focus Stacking via Auto Align and Auto Blend.  They are generally used for panoramas but can also be used to expand depth of field.  (Focus stacking is where you take a series of photos with different focus points and then let software build an image with everything in focus.  This is particularly interesting with macro work.)

This image is the result of that technique.

finished

This was created via Photoshop using 16 images.  The images racked the focus from front to back starting with this image …

first

Note the focus is on the front of the toy.  Sixteen images were then taken until I had everything in focus.  That is every part of the toy was in focus in one or more of the 16 images.  Here is the last image.

_MG_1801

Now the back of the toy is in focus but not the front.  (This did not require 16 shots.  It just took that many to make sure.)

If you look closely at the finished result (top photo) you’ll note that there are some errors.  (Along the curve of the stool and around the top of the smoke stack.)  Those can be fixed by playing with the layer masks Auto Blend creates.  It just wasn’t worth doing for this example.

How to do this (which I learned from Popular Photography) …

  1. Take the shots with a constant exposure.
  2. Rack through the focus from front to back.  Make sure to overlap focus.
  3. Synchronize your settings when the files are converted.  (WB, and all that.)
  4. From bridge pull them into CS4 as separate layers.
  5. Select all the layers and run Auto Align on them.
  6. Select all the layers and run Auto Blend on them.
  7. Save result

Pretty simple.  But it didn’t work for me until I did a few other things.  (I’m not sure which one did the trick.)

  • Optimize Photoshop’s memory usage (80% of max).
  • Give it plenty of scratch disk.
  • Set the image mode to 8 bit.  This halves the size of the file right away and is probably the thing that made it work.
  • Crop the excess from the Auto Align.

Those last two shrink the size of the merge pretty significantly.

Fun stuff.

G1

_1000022

Another with the new lens

Biggest issue with the new camera is the shadow noise.  But high key works.

_1000057

The 45-200

At, I think, 45.  Seems okay.  Would be nice to actually have a chance to shoot it when I have some decent light.

_1000053

My Office

I don’t know if I’ve shown a picture of my current office.

_1000020

The coming collapse of the middle class

This is cheery.

I like the camera

_1000018

New Toy

Should not have bought it.  But it is nice.  What I really like about it is how tiny it is.  Much kinder on my spine.

Sample image.

_1000007

Economic Stimulus Plan

I have no understanding why a new Vikings stadium is not in an economic stimulus plan.  It is going to cost a bundle and will support a lot of jobs for a couple of years.  Pretty much all of it goes right back into the local economy.

And they need a stadium or Ziggy (or whoever he sells the Vikings to) will move the team to LA.  He might say that he won’t but he won’t keep losing money on a team with the worst stadium in the league.

Oh, and when they demolish the Metrodome they need to fill it with Jiffy Pop and light it up.

Superbomba’s Photostream of Other Peoples Photos