Blog Layout

Focus Stacking for Macro Photography

Chris Stambaugh • December 2, 2021

Tips and Tricks

Focus Stacking for Macro Photography

This summer I rediscovered the joy of macro photography. I spent many hours photographing flowers and insects while camping and hiking. I photographed still life images using some of the interesting items I could find around the house and challenged myself to try some new techniques as well. Macro Photography is a lot of fun, but one of the biggest challenges is to get the subject your are photographing sharply in focus. Many macro photos are stunning BECAUSE of the extremely shallow depth of field, while other subjects would look best if they were sharp from front to back. The question is, if you only have 2 millimeters of Depth Of Field and the subject of your photo is 2 centimeters long, how the heck can you get the entire object in focus? The answer is focus stacking!

Focus stacking is the process of photographing multiple images of a single subject and adjusting the focal plane in each image. The images are blended together using only the sharp areas of each image to create a final photograph where the subject of the photo is sharp from front to back. It sounds complicated (and I would categorize this as an advanced technique) but actually isn't too difficult with a little bit of practice.

What you will need to do this is a camera with some macro focusing capabilities, a sturdy tripod and a computer with Photoshop CS installed.

The depth of field on this image is only a millimeter deep. Only the thin sliver of the flower is sharply in focus. 

STEP ONE - begin by photographing the subject of your choice. In this example, I photographed a wildflower found in the forest near Wabamum Lake. You absolutely MUST use a tripod when taking these photographs because the images must be in very close alignment for Photoshop to blend them adequately. If you have a bit of a long exposure, I also recommend that you use the mirror lock up function to reduce vibrations. A remote control shutter release is also highly recommended. If you do not have a remote, you can use the 2 second timer on your camera. This 2 second delay will allow time for any vibrations to subside before the shutter is released.

Once you have the subject framed in the viewfinder, disable the auto focus on your camera. You will need to manually focus your camera lens for this technique. Start by focusing on the subject at the point nearest to the camera lens. Once you have captured your first image, manually adjust the focus away from the camera by minute increments. Ideally, the depth of field will overlap between each image. If you have one 1mm of DOF, then adjust your focus by no more than 1mm for each image. Adjust ONLY the manual focus ring between each exposure. Adjusting any other setting will cause the images to have differences that may not result in a successfully stacked final photograph. It is a good idea to frame the composition a bit wider than you intend for your final image. This will allow for a bit of extra blending area in the final steps of the process.

Use as many images as needed to create your stacked final product.

STEP 2 - If you are inclined to edit your photos, make sure you batch process them so that all images have exactly the same edits. The images you use should be identical in all ways, except for the plane of focus on each photo. 
•To do this, edit the very 1st image in the series.
•Next, select all the images you will use for your focus stack by highlighting them on the thumbnails bar.
•While the multiple images are selected, click on the Sync button on the bottom right corner.
•This will open the Synchronize Settings dialog box.
•Click the “Check All” button to ensure that all your edits will be applied to the images. Click the Synchronize button to apply the edits to all images.
•Export the edited images to a unique folder.
•Save them as jpegs.

STEP 3 - Open the Images in Photoshop
•With Photoshop open on your screen, go to the FILE menu on the menu bar. Click on SCRIPTS, then click LOAD FILES INTO STACK.
•This will open the load layers dialog box. Click the BROWSE button and select the images to be stacked.
•It is recommended to click the ATTEMPT TO AUTOMATICALLY ALIGN SOURCE IMAGES at this stage. If you do not, you can do this separately after.
•Click OK and photoshop will open each image into a separate layer in a layered PSD file.

Photoshop will create a layered PSD file with the images you select. The layers palette should look something like the image above.

STEP 4 - Align the Layers
•If you did not auto align the layers when importing them into photoshop, then you must do so now. It is not a bad idea to run the ALIGN IMAGES script a 2nd time, even if you did click auto align.
•First, you must select all the layers in the panel. Click on the layer at the bottom of the palette. Then hold the SHIFT key while clicking on the top layer. All layers should be highlighted, indicating that all layers are selected. 
•Under the EDIT menu on the menu bar, select AUTO-ALIGN LAYERS.
•This will open the AUTO ALIGN LAYERS dialog box. Select AUTO and click OK.
•It is critical that the layers are in precise alignment. The AUTO-ALIGN function will individually size, crop, rotate, and shift each layer so they are in precision.
•No matter how careful you are when creating the images, each layer will be slightly different. This is due to a phenomenon called FOCUS BREATHING. It is not possible to avoid focus breathing as every time we adjust the focal plane on our lens, it changes the scale of the scene, even if the camera and subject were 100% still.

STEP 5 - Blend the Layers
•Under the EDIT menu on the menu bar, select AUTO-BLEND LAYERS.
•This will open the AUTO-BLEND LAYERS dialog box. Select STACK IMAGES and SEAMLESS TONES AND COLORS. You do not have to check the Content aware Fill option as the image will need to be cropped anyways.
•Click OK and be patient. It might take a while to complete the script.

STEP 6 - Merge, Crop and Save
•Once the script is complete, you will notice that each layer now has a layer mask. The area in black is now hidden, the area in white is the part of each layer that is being used to create the stacked image.
•Now, merge the layers into a single layer. Go to the LAYERS menu in the menu bar.
•Select MERGE VISIBLE. This will discard the hidden areas of each layer and leave you with a single, blended layer. The subject in your photo should now be sharply in focus.
•You may notice some transparent areas on the edges of the final image. These must be cropped out. You may simply want to adjust the cropping for compositional reasons. Choose the crop tool and crop the image to your desired dimensions.
•Once you have the image cropped properly, choose SAVE AS and save the final image as a jpeg.

The final image will have the subject sharply in focus from front to back creating something that would have been impossible using only camera techniques. 

By Chris Stambaugh November 12, 2024
The Winner of the "Little Things" Photography contest is Adrian Crisp  As always in our contests, it is a difficult choice to select a winner from the excellent entries our students submit. But Adrian's image of a baby vervet monkey suckling from it's mother, fit the theme in a visually striking and emotional way. Congratulations also go out to all the photographers who were finalists in the competition. Great work everyone! The winning photographer will receive a $250.00 gift certificate towards any class the Burwell School offers. Additional gift certificates of $100.00 will be awarded for Honorable Mentions. All finalists will receive a snazzy certificate and have their photos featured in our newsletter, on Facebook, Instagram and our blog. These images will also be printed, framed and displayed at the Providence Renewal Center.
By Chris Stambaugh July 12, 2024
The Winner of the "Happiness" Photography contest is Colleen Sayer. Congratulations Colleen, on winning the Motion photography contest with your image titled "Incoming". The photograph has incredible impact! When you first see it, you stop breathing for a microsecond. The technical quality is outstanding in terms of white balance, exposure, detail and sharpness. A great action wildlife photograph by any standard! Images are judged on their technical quality, impact or impression and on how they relate to the theme of the competition. All finalists receive a snazzy, frameable certificate and will have their photographs displayed in the Burwell Newsletter, Facebook, Instagram and Blog. A printed copy will be framed and displayed at the Providence Renewal Center. The winner also receives a $200 gift certificate to any class the Burwell School offers. Honorable mentions will receive a $50 gift certificate.
By Chris Stambaugh April 4, 2024
The Winner of the "Happiness" Photography contest is Clayton Reitzel  Congratulations Clayton, on winning the Interesting People photography contest with your image titled "Happy Chef". The subject of the photograph gives the entire image an unbelievable warmth and charm that simply exudes happiness. Images are judged on their technical quality, impact or impression and on how they relate to the theme of the competition. In this particular competition, we gave less emphasis on the them since it is not up to us to judge what makes someone happy. The only thing that really matters is that the amazing photographs make us happy to see them. There were plenty of excellent entries. In fact, this contest had the most ever images entered in any contest the Burwell School has ever held. It was difficult but we were able to narrow down the field to 6 finalists. After deciding that Clayton's Happy Chef was the winner, we additionally awarded Honorable Mentions to Photographers Julie Cork and Kelly Rombough. Shirley Laibida and Diane Sieswerda were our other two finalists. All finalists receive a snazzy, frameable certificate and will have their photographs displayed in the Burwell Newsletter, Facebook, Instagram and Blog. A printed copy will be framed and displayed at the Providence Renewal Center. The winner also receives a $200 gift certificate to any class the Burwell School offers. Honorable mentions will receive a $50 gift certificate.
By Chris Stambaugh April 3, 2024
Congratulations to Kristian Wolowidnyk recipient of the 2024 Paul Burwell Memorial Scholarship an award of $500 sponsored by the Images Alberta Camera Club The Burwell School of Photography and the Images Alberta Camera Club received some excellent submissions for this years scholarship. The selection committee consisted of; Chris Stambaugh, administrator of the Burwell School of Photography, Susanne Pawliuk and Tarra Kongsrude, directors of the Images Alberta Camera Club. Kristian earns a $500 cash prize which will be awarded at an upcoming meeting of the Images Alberta Camera Club. Kristian is also invited to make a presentation to the club where he will showcase his photographs and discuss his creative process. The Images Alberta Camera Club is a wonderful and active group of amateur photography enthusiasts. For more information on the IACC. please visit their web site https://www.imagesalberta.ca/ Along with the portfolio of images, applicants for the scholarship must also submit a written biography. Please take the time to read Kristian's touching story. Finding Purpose I Thought I’d Lost In the spring of 2003, I made my way into the recruiting center in Thunder Bay, Ontario, and enlisted in the Canadian Armed Forces Reserves. Leading up to enlisting, I barely graduated from high school, while flirting with trouble and struggling to find something I could do well. Within days of starting basic training, I knew I had found my place in the world, and I threw all the energy I had into life in uniform. Little did I know at the time how a life in uniform would alter my life’s trajectory. During the spring of 2006, I was faced with the choice of switching to a different college engineering program in Toronto, starting a photojournalist diploma, or going full time in the army. I chose to join the regular force army as a combat engineer. During the next two and a half years I was continuously given opportunities to act in positions above my rank and experience level. I was quickly promoted to the rank of Master Corporal. If someone were to tell me this would have happened when I first enlisted back in Thunder Bay, I wouldn't have believed them. I was deployed to Afghanistan in 2009. Most of the deployment I spent leading soldiers on operations. When I returned from my deployment in Afghanistan, the train I had been riding on started to run off the rails. Fortunately, my wife is extremely stubborn, and she convinced me to reach out for help, and I was diagnosed with PTSD shortly after my return to Canada. When I was first diagnosed, all the momentum I had in life seemed to hit a brick wall. I spent the next 10 years in a very dark place, feeling like I was navigating perpetually stormy seas in a boat that had holes in it. In early 2015, I was medically discharged from the Canadian Armed Forces. About 2 years ago my wife started a hobby and bought a camera. After a few months of acting as a glorified sherpa by carrying her tripod from place to place, as well as keeping her company while she took pictures of sunsets/sunrises, I bought a camera of my own. Once I took my first photos, I knew that the camera was going to be a instrument to change my life’s current trajectory and get me back on track. After I was released from the Armed Forces, I did not think that I would find something that gave me a sense of purpose and a challenge. Thinking back now, I always had an interest in documentary photography. If I were to pinpoint where this interest came from, it would be growing up as a latch key kid. In my basement there was a huge bookshelf with the top shelves full of military books, and most importantly when you opened the bottom doors there were well over a hundred National Geographic magazines. In all honesty, I never read an article from the magazine until recently. But I did spend hours upon hours poring over the pictures and captions with copies spread around me. For the first year after getting my camera, I worked at developing my skill set through various subject matters but mostly wildlife. Despite this, I still felt like I was trying to navigate while not having anything solid to orient my compass to. While visiting the UK in 2023, I took my son to the Natural History Museum in London. On the way, I thought about maybe focusing more on street photography rather than nature. Unbeknownst to me in advance, there was an exhibit for the Wildlife Photographer of the Year contest they held. After handing over $70 Canadian for entry to the Exhibit, I experienced a transformative moment when I came face to face with the giant prints. The word that best describes the experience is awe. The quality of the work, the composition, and the story involved, had me completely blown away. The one photo that stood out was a drone shot over a fish market in India. Hundreds upon hundreds of swordfish were laid out on the beach. There was a thought that I couldn't shake from seeing the photo which was: “this is unsustainable”. It dawned on me that I could use photography to do something positive. Something I believe in is service, even though the uniform has been taken off and handed in, the service doesn’t need to stop. My photographic interests involve creating visual stories, and I am inspired by a wide range of subject matter. I apply CrossFit methodology to photography: where I develop a wide range of skills to allow me to tackle any opportunity. Since picking up a camera, I have made the effort to have a diverse experience base. I have photographed a wide range of nature photography, street photography, macro, photographed various sporting events, protests and rallies. I also recently volunteered as an event photographer at the “All is Bright Festival” in Edmonton, AB Canada. My future goals and aspirations are to continue building my photographic skill set, and to apply it to documentary photography and photojournalism. I recently joined the Images Alberta Camera Club and look forward to being involved with them going forward. Outside of photography, my interests are travel and adventure with my family, raising my son, training CrossFit, reading, and spending time with my family. I cannot be anything but thankful that I picked up a camera and had an overly supportive wife backing me up. It would be a lie to say that I don’t often think of the period I spent in uniform. Immersing myself in photography has not only filled the void I had been searching for since my release, but it has also helped me look forward to a life with my family, with new challenges and goals to tackle. When I do look back to my time in uniform, I now focus on the lessons I learned, but can close that door and move forward into a new and exciting phase of life as a documentary photographer. Connect with Kristian on instagram at veteranshot_photography A selection of images from Kristian's submission is below:
By Chris Stambaugh November 30, 2023
The Winner of the "Interesting People" Photography contest is Barry Alloway Congratulations Barry, on winning the Interesting People photography contest with your image titled "Pushkar Camel Herder". The subject of the photograph is certainly visually interesting and the fine detail is enhanced by the choice to present the image in Black and White. There were a large number of excellent entries but we were able to narrow down the field to 6 finalists. We additionally awarded Honorable Mentions to Photographers Alan Myles and Dennis Birkholz. All finalists receive a snazzy, frameable certificate and will have their photographs displayed in the Burwell Newsletter, Facebook, Instagram and Blog. A printed copy will be framed and displayed at the Providence Renewal Center. The winner also receives a $200 gift certificate to any class the Burwell School offers. Honorable mentions will receive a $50 gift certificate.
By Chris Stambaugh June 30, 2023
The Winner of the "Flowers and Insects" Photography contest is Miriam Stanisavljevic Flowers and insects seemed to just go well together when we decided on the theme of the contest. In the end, it was very difficult comparing great floral images to great insect photos. Images are judged primarily on their initial impact (does the photo have a "wow" factor when you first see it), technical quality and composition. When all aspects were considered, Miriam's photograph of wildflowers set against a backdrop of flowing water stood out as a genuine work of art. Miriam will receive a $250.00 gift certificate towards any class the Burwell School offers. Additional gift certificates of $100.00 will be awarded for Honorable Mentions. All finalists will receive a snazzy certificate and have their photos featured in our newsletter, on Facebook, Instagram and our blog. These images will also be printed, framed and displayed at the Providence Renewal Center. Thank you to everyone who entered the contest. There were many really great photos entered.
By Chris Stambaugh April 3, 2023
The Winner of the "Travel Photography" Photography contest is William Brose Congratulation to William Brose for winning the Travel Photography Contest with his image of Lora's Plantation, Louisiana. The winner was selected by special guest lecturer and renown travel photographer Yasser Alla Mobarak. William wins a $250 gift certificate from the Burwell School. How photo will be featured here in the BSOP newsletter, and on Facebook, Instagram and the BSOP blog. A printed copy of the photo will be displayed at the Providence Renewal Center. Honorable Mention was awarded to Berkley Johnson for her image titled "Jua Nzuri" of the sunset on the Massai Mara National Park in Kenya. All finalists will receive a certificate from the Burwell School.
By Chris Stambaugh March 3, 2023
Congratulations to Jordana Maginnis recipient of the 2023 Paul Burwell Memorial Scholarship an award of $500 sponsored by the Images Alberta Camera Club The Burwell School of Photography and the Images Alberta Camera Club received some excellent submissions for this years scholarship. The selection committee consisted of; Chris Stambaugh, administrator of the Burwell School of Photography, Susanne Pawliuk and Tarra Kongsrude, directors of the Images Alberta Camera Club. The committee had a lively debate as there were four very credible applications. Congratulations also go to Cassandra Barata, Darlene Crawford, and Katherine Page for their very strong submissions. Jordana earns a $500 cash prize which will be awarded at an upcoming meeting of the Images Alberta Camera Club. Jordana is also invited to make a presentation to the club where she will showcase her photographs and discuss her creative process. The Images Alberta Camera Club is a wonderful and active group of armature photography enthusiasts. For more information on the IACC. please visit their web site https://www.imagesalberta.ca/ Jordana enr o lled in her first class with the Burwell School in 2017 and earned her diploma in Portrait Photography in 2020 and a diploma in Wedding Photography in 2022. It has been a pleasure to have known Jordana and everyone at the Burwell School is thrilled to see what a wonderful photographer she has become! Jordana's Biography reads as follows: My name is Jordana Maginnis, but beyond my name I am a photographer - an artist, storyteller and preserver of memories. I started taking courses at Burwell School of Photography in 2017 and let me tell you the growth since taking my first course has been huge. Before taking my first course I didn't know the first thing about shooting in manual mode, composition or editing. Now camera settings are second nature, posing flows naturally which allows me to be more creative and capture images that bring my vision into focus. When I first started taking pictures, I really had no idea what I was doing but the passion was there. After learning what I was actually doing, I was then able to figure out what was my favourite subject matter and develop my style. I discovered landscapes were boring and predictable for me. Portraits quickly became my preferred subject matter, but it still took me a couple years longer to really find what I was passionate about within the portrait world. I have come to love photographing boudoir. Helping show women their beauty that often times they have a hard time seeing for themselves brings me joy. It's so amazing watching women come into their session nervous and timid but as the session progresses their nerves fizzle away and their inner model shines bright. Another subject area that I have discovered I love are weddings. I get to be a story teller for couples by capturing details, candid moments and families that have all come together. Each wedding is unique and its really exciting to learn about each couples vision and style allowing me to create images that match their personalities and capture special memories. Lastly, I always really love a creative conceptual concept that comes together the way I envisioned it. Ten of my creative concepts have been published and I hope to showcase some more in 2023. In the future I would like to progress with more storytelling in my images using prompts to capture natural candid interactions. I would love to capture a wedding in Scotland and New Zealand some day. This year I hope to be able to begin mentoring newer photographers. I would like to share the knowledge that I have gained over the last few years on my photography journey and bring it full circle just as others have done for me along the way. To see more of Jordana's photography, visit the Burwell School Blog or her web site at JER Photography A selection of images from Jordana's submission is below:
By Chris Stambaugh February 9, 2023
The Winner of the "What I Did Last Summer" Photography contest is Chris Morphy We asked you to submit a photo depicting "what I Did Last Summer" and received an overwhelming number of entries. It was a difficult task selecting the winners, but the following images managed to stand out from the crowd. Thank you to everyone who submitted a photo. If you would like to see some of the other images entered into the contest, check out the full gallery on our blog https://www.bsop.ca/blog The winner received a $250.00 gift certificate towards any class the Burwell School offers. Additional gift certificates of $100.00 were awarded for Honorable Mentions. Congratulations Chris!
By Chris Stambaugh November 7, 2022
Congratulations to Dennis Burkholz, winner of the The 2021 Paul Burwell Memorial Scholarship An award of $500 Sponsored by the Images Alberta Camera Club The images Alberta Camera Club and the Burwell School of Photography convened a committee to select a winner from this years applicants and have awarded the Paul Burwell Memorial Scholarship to Dennis Burkholz. Dennis has completed nearly every course offered at the Burwell School and has received a diploma in both Portrait Photography and nature Photography. All of us at the Burwell School are very proud to see how amazing a photographer he has become. Dennis says: I call myself a "Steward of Time". Time cannot be loaned borrowed or saved but it can be frozen for a glimpse later. Great images evoke the senses, human emotion and tell a story. We are fortunate as photographers to be able to stop time. We are then able as are people in the photo to go back in time and relive that special time if only for a brief moment. In the case of landscapes when viewed we can instantly be transported to that location or imagine we are there. Powerful stuff I'm sure you will agree. Dennis wins a $500 cash prize to be used to further his career by investing in new equipment, promoting his business or in any way she decides the funds can be best utilized. The following photos are part of his winning application.
More Posts
Share by: