You are on page 1of 40

MacroStop.

com

Retouching Stacks
RETOUCHING STACKED PHOTOS
Most, if not all, stacked photos require retouching for the simple Not only do we need to retouch within the focus-stacking soft-
reason that focus stacking is a sampling method, much like CDs ware, but after that is done, certain persistent artifacts require a
and DVDs. Sampling, by definition is lossy in that some data is trip to Photoshop for some post-graduate retouching. So keep
sampled and the rest is left out. This is particularly true when it in mind that focus stacking itself is very slow, but the retouching
comes to focus stacking digital images. If you want a perfect im- in post-production is ever so much slower. If you don’t like the
age, just stick with the traditional one-shot photos and don’t bother idea of this kind of dedication, I suggest you not consider focus
with focus-stacking. stacking. For myself, learning to stack focus and retouch was
Of course, traditional one-shot photography has problems of its totally remedial for me, a perfect way to learn patience, and a
own, like you have one focus plane and one point that draws the relatively fun way at that.
eye, leaving the rest to be less in focus. With a stacked image,
there is no reason to have any particular point of view other than In this article I have pointed out the basic retouching procedure
one you choose or, equally, there can be several areas of prime with illustrations. Now let’s get down to the nitty-gritty a bit. Let’s
focus in a stacked image. say that you shot a stack of images, imported them to Light-
room, converted them to .TIFF files and sent them to Zerene
I am not trying to sell you on stacked images, but just pointing out
Stacker, where they were processed into a resulting single im-
that focus-stacking has its merits, and not just liabilities, such as
age. And now you look at that image, probably still in Zerene
the various artifacts that can appear due to the fact that sampled
Stacker.
images are lossy, by definition. This article is aimed at helping to
cut the losses in sampling that stacked photos provide by their
Instead of a seamless photo like we are used to in traditional
very nature.
one-shot photography, we have a photo riddled with all kinds of
Stacking Software flaws. What’s the point of even producing such a flawed image
I have published a number of books and many articles on the in the first place. This is the refrain from many who cannot ap-
technique of focus stacking, so I will only be touching lightly on it preciate stacked photos. Why bother!
here. And I am not going to review, like I have in the past, all the
focus-stacking software. However, I will tell you about the stacking Well, there are those of us who see something more than just
software that I use and why. It is called Zerene Stacker and you a flawed photo in a stacked image, perhaps the sometimes
can read more about it here. three-dimensional quality or the ability to stack focus in just cer-
tain areas of the photo, leaving the rest to bokeh – blurred. You
http://zerenesystems.com/cms/stacker
tell me. For myself, I like stacked photos, obviously, but as I
I have bought and tried all of the stacking software I am aware have become more experienced I use stacking judicially, where
of, plus also the free stuff. For my work, Zerene Stacker gives me I feel it adds to the beauty of the image.
more of what I need than any other software. Aside from impecca-
ble support, there are two main reasons what I use Zerene Stack- I see little point in just stacking an image until it looks like, well,
er, one is their alternate method of stacking (called PMax), which a traditional photograph, but just more in focus, although that is
is not matched for detail resolution by any other software, and I somewhat appealing as well. If I have time, I will illustrate some
have tried. And second, their method of retouching is unmatched, of the different methods of stacking photos, but for now: what do
superior to any other methods that I have found. we do with all these artifacts that deface our stacked photos?
I am a systems programmer with 45 years of experience and First it is necessary to understand what kinds of artifacts we
founded the second-oldest software company still on the Internet have.
(Matrix Software), the oldest being a little company called Micro-
soft. I have written, used, and marketed software for many years. Take a moment and work through the next several pages care-
Zerene Stacker is one of the finest pieces of software that I have fully. They show some of the common types of artifacts we
ever had the pleasure to use. This is the best recommendation come across. Look at each artifact, and there are many more I
that I can offer. didn’t bother to point out in the enclosed images. Let them reg-
ister in your mind and let’s learn how to fix them. Some of them
Artifacts
can be fixed in the stacking software, some have to be Pho-
When I first started out, I did not like the idea of retouching toshopped, and some can never be fixed. Those that can’t be
stacked photos and didn’t retouch. It was like a protest, against fixed are probably the fault not of the stacking software, but of
what I can’t remember. My resulting stacked photos eventual- what is called “Operator Error;” that would be you and me.
ly pointed out to me that retouching was an integral part of focus
stacking, and not just an option. Once I realized this, the ease (or
lack of) dictated what software I had to use. And it gets worse.
NOTE:
In the next many illustrated pages, I am going to attempt to walk
you through the basic process I use when stacking photos, the
post-processing end of it. I use Adobe Lightroom, Zerene Stacker,
and Adobe Photoshop.
If you studied the basic flow in the enclosed illustrated images you Sometimes, instead of using PMax, I use the individual layers
got the idea that, basically, retouching involves using the DMap themselves, since the halos don’t occur there, but are an artifact
image on the right side of the screen, and any other image in the of stacking itself. This can involve some very careful painting on
stack of the left side of the screen to be sampled from. In other my part. Some stacked images become so painful that it may be
words, DMap is the final image, and all other images are source easier to abandon them, instead of spending hours retouching
material for us to copy from into the final image. And while we can them.
use any image in the stack as a source to copy from, the best
(and most often used) image is the PMax image that we created And finally, if that does work and the halos are still there, I take
at the time we did the DMap image. the final image into Photoshop and use the Clone Tool to very
carefully remove the halo by cloning just above the shadow-ha-
lo and painting down and over the halo to the very edge of what
Next, take time to watch these short videos from Zerene Stacker’s leaf or flower is being haloed. You may want to expand the Pho-
creator, Rik Littlefield, because he is more experience than am I toshop image until it is very large, to make it easier. And shaky
in retouching. If you are not ready to invest the time to digest his hands are not a virtue in this procedure. If that does not do it, I
method of retouching, you will limp along until you do. I did just abandon the image.
that, and lived to regret it. Here they are:
Failed Crossing
Beginning:
Another very common problem is where two edges overlap or
http://zerenesystems.com/cms/stacker/docs/videotutorials/re- meet. In the stacked image, they don’t meet, but come close
touching001/index and then get all fuzzy. This is due to the two objects being too
far apart to stack nicely. The answer here is found in one of two
places. Looking at the original layers does not usually help, be-
Advanced: cause there is no correct layer to be found. The place to look
http://zerenesystems.com/cms/stacker/docs/videotutorials/re- is in PMax, which more often than not has a better result or at
touching002/index least closer than DMap. If that fails, then careful cloning in Pho-
toshop is the only alternative, and it happens a lot. I have be-
come, by necessity, pretty good at straightening out fuzzy cor-
The images in the advanced tutorial were shot by yours truly, who ners, if that makes sense.
sent them to Rik Littlefield for guidance, which he gave through
this tutorial. Transparent Overlays

As you can see, retouching within Zerene Stacker is a process of Another common problem is when there is bleed-through of one
painting in from PMax (or the actual separate photo layers) some image on another. For example, an area (leaf, stem, etc.) that
part into or onto the final result, which is usually DMap. It is a little should be under another area is not or is partially transparent,
more difficult than Paint-by-Numbers, but still pretty easy, at least etc. Looking to PMax to solve this is usually not helpful. The an-
in the broad strokes. Of course, it can get just as nasty as you swer is to look through the image layers and find the layer that
want to, trying to solve the hard cases, which often are better re- shows the proper overlapping and carefully paint that out. This
solved through better camera technique. is where the problem should be fixed, not in Photoshop. Photo-
shop does not have the information to be much good.

Halos Summary

Hopefully, you get the general idea. Identify the artifacts, fix
One of the most common, aggravating, and hard to fix retouching them in Zerene Stacker, or fix them (last resort) in Photoshop.
problems are what are called “halos,” and usually (at least for me) My rule of thumb is that if it bugs me in the final result, I should
dark halos at that. It can be a heavy outline surrounding leaves, fix it. It pays to develop better technique on the shooting end of
flowers, or what-have-you. If you generate, as I suggest, both things, as opposed to hours spent retouching, or worse, trying
PMax and DMap images with each stack, then DMap is used as to retouch. It is enough to make you want to give up stacking…
the final result-image (right-hand side of screen). DMap most often sometimes.
does not have halos, but PMax most often (even usually) does.
So, use DMap as your base and be very careful when copying/ For those who are on the fence, please see my article on using
painting from Pmax not to copy the halos. really highly-corrected lenses instead of stacking. While expen-
sive, it is really worthwhile:
The New Zeiss APO Lenses for Close-up Work
Lightroom Plug-in for Zerene Stacker
http://spiritgrooves.libsyn.com/the-new-zeiss-apo-lenses-for-close-
up-work
Note: Zerene Stacker has a Lightroom plug-in that comes with
Post-Processing Images its professional version, so this may interest some users. With
this plug-in, one can select a stack from Lightroom and send it to
I don’t want to spend a great deal of time on how to post-process, Zerene Stacker and have it returned, finished, to Lightroom. I don’t
as in “develop” digital negatives, such as stacked TIFF images or use this often because I tend to process a lot of stacks in batches.
even raw files. But I will mention a couple of things I do regularly. You can read about this plug-in here:

Trim the Branches


http://zerenesystems.com/cms/stacker/docs/workingwithlightroom
What I mean here is to remove parts of your photo that take-away
from the composition. The Lightroom tool for doing this, the “Spot
Removal Tool” is, for my purposes about worthless. As they say,
that tool and a ticket will get you a ride on the bus. I use it for
spots, but not as a cloning tool. IMO, it sucks.

Instead I go to Photoshop, where I use the “Quick-Selection Tool”


or the Rectangular Marquee Tool” to define an area I want to re-
move and delete it using the “Content-Aware” feature, which IMO
is one of Photoshop’s finest moments.

The Next Pages

In the next pages, some of thje concepts discussed above will be


illustrated, so take time go over them so that they are clear. Fol-
lowing this next section I will offer a few extra comments.

You can find many more free e-books, articles, and video tutorials
on photography and focus-stacking at MacroSpot.com.

In addition, there are some 26 video tutorials on these subjects on


YouTube.com at the following link (scroll down until you reach the
photography area.

https://www.youtube.com/channel/UC3cL8v4fkupc9lRtugPkkWQ

MIchael Erlewine
Michael@Erlewine.net
The previous image, corrected
in Zerene Stacker and further
in Phoshop with the CLONE
TOOL and Content-Aware.
Some Final Comments on Photography edits. This is unfortunate, especially the “Pick” and duplicate
copies.
Because I do a good amount of focus stacking, I accumulate a lot
of images that have to be stored, backed up, and generally cared
However, the above data is kept in the Lightroom Catalog. The
for. There are many ways to keep track of files, but I find myself
bottom line here is to turn ON the option “Automatically write
using Adobe Lightroom. Lightroom is a non-destructive working
changes into XMP,” which can be found in the Catalog Set-
environment, simply meaning that no matter what you do within
tings form, under the Metadata Tab, the 3rd option from the
Lightroom, no matter the number or kind of changes you make to
top. Check the box that says “Automatically write changes into
a photo, the original photo remains untouched. It sits on your hard
XMP.”
drive and is only accessed by Lightroom in a read-only fashion.
Lightroom never writes to that file, so it remains pristine, just as it
DNG Files
came out of the camera.
Adobe Lightroom has two general ways of keeping track of the This is one other suggestion I would make about storing digital
changes you make, i.e. whatever adjustments you make to the negatives. Adobe has their own method of storing digital nega-
original file. And this next part is very important and includes a tives called “.DNG” files, which basically mean just that, digital
warning, so please note: negatives. Unlike raw negatives with their accompanying side-
The first way (and most common) to record development adjust- car files, .DNG files store the adjustments (sidecars) within the
ments is for Adobe Lightroom to create an internal catalog that au- .DNG file itself. Adobe has released .DNG to the public domain,
tomatically includes whatever changes you make to your photo. but they still may in the future have some control over it. Their
The second way Lightroom keeps track of adjustments is that ev- claim that as the more and more different raw formats prolifer-
ery time you make a change to a photo, Lightroom writes a small ate, over time, we may lose the ability to read some of the file
file called a sidecar file (.XMP) and stores it on the hard drive next formats, thus the advantage of using the .DNG files. They have
to where the original image is. And here is a key point: a point.
By default, when you first start using Lightroom, it creates a cata-
I can see it both ways. For myself (and some of the photogra-
log, but does not write the sidecar files UNLESS you turn on that
phers I admire), I am sticking with the raw files and foregoing
feature. If you do turn it on, Adobe will create both of these ways
converting them to Adobe’s .DNG format. I use Nikons and I am
of storing your adjustment, a catalog and a sidecar file for each
sure that there will always be some converter available to con-
image. And here is the warning:
vert what I have into .DNG files or whatever has a grip on the
The catalog method of monitoring adjustments is great AS LONG market at that point in time.
AS the catalog does not get corrupted and you do not move your
original files to some other place. If the catalog file gets corrupted, So, I store my raw Nikon .NEF files along with the sidecar .XMP
you can be in for a world of hurt and are in danger of losing hours, files in the same directory. The only caveat is that, of course,
weeks, or years of hard work, everything you have done in terms when I move images to another drive, I have to be sure to take
of developing your digital negatives. the .XMP files with them.
Sometimes the corrupted file can be salvaged, but quite often it
cannot. Of course, if you back-up Lightroom each time you close Files like .Tiff .JPG, .Gif, .PNG, and .BMP don’t have sidecars of
it, you can revert to the previous back-up, etc. Otherwise, the re- adjustment. They are “baked” in, meaning what you see is what
sult is that suddenly you have your original files still untouched, you get. While raw files can be further developed, the above
but everything you have to do make those files beautiful and us- files are fixed in what is called a delivery format – finished. A
able is lost. You have to start all over again or at least redo all files raw file is still flexible and can be output in any of the above,
(develop them) since your last backup. baked-in, formats.
However, if you turn on the switch to also always write embedded Marking Files Within Lightroom
sidecar files, then all of your adjustment are safely stored along
with our originals and can be reimported with very little loss. Since I take a great many photos, I have to have some way to
Note: When you choose to store your adjustments in sidecar keep track of them. So far, it seems I am not a great keyword-er,
(.XMP) files, there is some data that is not stored in the .XMP files, meaning I tend not to keep up with that. I know I should do bet-
and they are: the Edit History for each file, any virtual copies (du- ter. Here is what I do.
plicates) of an image and their adjustments, the Pick-Flag, all col-
lections and groupings, and any disabled edits. This is unfortu- Of course I look over any new batch of photos once I input them
nate, especially the “Pick” and duplicate copies. into Lightroom. I mark them with colors as follows:
However, the above data is kept in the Lightroom Catalog. The Yellow: Something is wrong with the photo. Ignore it.
bottom line here is to turn ON the option “Automatically write Blue: This is a keeper, but needs to be developed further. When
changes into XMP,” which can be found in the Catalog Settings I am in the mood, I scan Lightroom for the blue-bordered im-
form, under the Metadata Tab, the 3rd option from the top. Check ages, finish developing the blue ones, and mark them with five
stars when done. The Process

Red: Saving this for a future category. When asked why I take photographs, the answer is simple, but
perhaps hard to understand. I am in love with the process itself
Purple: Marks a special category of photographing, and I don’t mean the mechanical process, but
rather the psychological process of peering through a lens at pris-
Green: Family and related photos. tine micro worlds – the clarity of that. I am a close-up and macro
nature photographer, and I mostly photograph plants and whatev-
As for the Star Ratings, I use them, but not very intelligently. Ba- er critters I come across.
sically I use them for emphasis.
I gave up hunting for photographs and critters long ago. You
I do use the Pick to mark ones that I want to export, so import- could say I am a photographer of found objects, whatever I come
ant images for me have a blue border and are marked with the across, which boils down to the old concept that beauty is in the
white Pick AND five stars. eye of the beholder. It takes one to know one, and it takes one to
see a good image and photograph it. When I see something that
Color Space sparks beauty in my mind, I try to photograph that beauty.

I have Lightroom and Photoshop set to work in the ProPhoto I am a confirmed follower of the term “inscape” that the great poet
RGB color space, and not Adobe RGB or sRGB. When I output Gerard Manley Hopkins coined, which refers to whatever in na-
an image for use on the web or online, I output it in the standard ture (and the world) that catches our attention, flags us down,
sRGB format at maximum quality, because most web browser and leads us inward to the beauty of the mind itself. When I pho-
cannot read Adobe RGB color, and none that I know of can han- tograph, I basically make myself available to nature and wait for
dle ProPhoto RGB, although I wish they would. Actually, Pro- inscapes to occur, for some sign to catch my eye, melt my hard
Photo has such a large gamut that I know of no monitors that heart, and take me inside to the natural nature of my own mind.
support it, and some say there never will be one. That is true rest. That is the essence of the process of photogra-
phy for me.
Cameras
Close-up and macro photography are very time consuming and
I have owned and use many cameras, from tiny point-and-shoot the very process slows me down to a crawl, which is where I need
cameras all the way up to the big Nikons and even medium-for- to be once in a while to keep sane. If I add my interest in focus
mat cameras. I am a Nikon user and have always been one. I stacking to the mix, where I may take upward of 100 images of the
know there are many other cameras and I have owned (or still same flower at slightly different focal points and then merge them
own) cameras by Sony, Panasonic, Kodak, BlackMagic, and into a singe image, I really am moving at a snail’s pace through
so on. I am not too fond of Nikon lenses, but I am very fond of time, slowing down enough to surrender my speed and allow my-
Nikon Cameras. self to rest in the nature of the mind itself. That is the reward for
me of photography. Of course, if I take enough time, the photo-
I have owned a number of mirrorless cameras, and try as I graphs sometimes improve as well.
might, could never get comfortable with any of them. I sent most
of them back. I am not a snob when it comes to cameras; I just Developing the Digital Negative
have a professional need for these large megapixel (and very
heavy) cameras. When I first got into digital photography, the idea of developing the
digital negative did not make much sense to me. Of course at the
I very much believe that while any camera will take pictures and time I was taking .JPG images with their “baked in” color, so there
that good pictures can result from them, this is not for me. I ac- was not a whole lot of developing possible. Delivery-format for-
tually use the features of these large full-frame camera bodies mats like .JPG are like that. They are pretty much beyond devel-
and don’t mind carting them around, heavy as they may be. I oping.
just don’t think of my discomfort when it comes to photograph-
ing. However, with the advent of the raw format, the possibilities of
developing dawned on me. Raw format really is flexible. We can
I also feel this about cameras, tripods, and above all about lens- push and pull it in many ways. We can develop it and the raw for-
es. To me fine lenses are at the tip of the top of photographic mat actually is a digital negative. Once I tried raw, I never went
equipment. I have spent more time studying and using lenses back, and when I come across my old .JPG-format photos my
than I have any other aspect of photography. heart always sinks a bit because I know that I cannot do much in
the way of development with those photos. What you see is what
you get for all time.
Who knows what amazing photo-developing techniques may
arise in the future. If we shoot in raw, we may be able to extract
even greater resolution and flexibility. For that same reason I tend
to save all of my layers of my stacked photos, although the disk
space required is enormous. I have already seen improvements
is restacking old photo stacks and in the better development tools
made available in Lightroom since I started.

I encourage you to shoot raw. You will not regret it later.


The Author

You might also like