Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Photo Sharing & Discussion Macro 
Thread started 07 May 2009 (Thursday) 14:05
Search threadPrev/next
sponsored links (only for non-logged)

Photoshop CS4 Focus Stacking with manual mask work afterwards

 
Triptoph
Senior Member
Avatar
504 posts
Likes: 2
Joined Jul 2007
Location: Glasgow, Scotland, UK & Vancouver, BC, Canada
     
May 07, 2009 14:05 |  #1

Anyone have any experience with Photoshop CS4 focus stacking? After using auto align and auto-blend options, I wanted to do some manual work with the masked layers that result. But when i tried to include more of a layer in a mask, I discovered that the parts of the image that are covered by the mask had been changed in colour, while the parts not included in photoshop's original mask where not changed. The result is that I can't change the masks without adding horribly aliased blocky sections that resemble blocky video-game pixels from a video game made in the 80s blown up to 400%...

Anyone experienced this and know how to avoid it?


-Tony

  
  LOG IN TO REPLY
LordV
Macro Photo-Lord of the Year 2006
Avatar
62,126 posts
Gallery: 9 photos
Best ofs: 2
Likes: 6648
Joined Oct 2005
Location: Worthing UK
     
May 08, 2009 02:03 |  #2

fraid no direct experience of this but you may be able to use the method i use to repair finished stacks. I simply take the finished stack (obviously effectively layer flattened) and all the original slices into PS and then use the healing brush to transfer areas from the original pics to the stacked shot.
Brian v.


http://www.flickr.com/​photos/lordv/ (external link)
http://www.lordv.smugm​ug.com/ (external link)
Macro Hints and tips
Canon 600D, 40D, 5D mk2, 7D, Tamron 90mm macro, Sigma 105mm OS, Canon MPE-65,18-55 kit lens X2, canon 200mm F2.8 L, Tamron 28-70mm xrdi, Other assorted bits

  
  LOG IN TO REPLY
Triptoph
THREAD ­ STARTER
Senior Member
Avatar
504 posts
Likes: 2
Joined Jul 2007
Location: Glasgow, Scotland, UK & Vancouver, BC, Canada
     
May 08, 2009 12:27 |  #3

Thanks Brian, good idea. I'll try that next time.


-Tony

  
  LOG IN TO REPLY
Lester ­ Wareham
Moderator
Avatar
31,906 posts
Gallery: 3035 photos
Best ofs: 5
Likes: 38129
Joined Jul 2005
Location: Hampshire, UK
     
May 12, 2009 07:35 |  #4

I use CS3 layers for manual stacking.

I also manually align. This is not as hard as it seems if you align layers by pairs and use the difference blend mode: when aligned the screen goes dark.

Manual alignment has the advantage that you align the bit you are interested in, so small errors of scale or legs flapping around don't mess the process up.

Take a look at the bit on manual stacking here http://www.zen20934.ze​n.co.uk …flow.htm#Focus%​20Stacking (external link). Includes an example.


My Photography Home Page (external link)
Gear List
FAQ on UV and Clear Protective Filters
Macrophotography by LordV
flickr (external link) Flickr Home (external link)

  
  LOG IN TO REPLY
Triptoph
THREAD ­ STARTER
Senior Member
Avatar
504 posts
Likes: 2
Joined Jul 2007
Location: Glasgow, Scotland, UK & Vancouver, BC, Canada
     
May 12, 2009 17:53 |  #5

My second attempt at a focus stack, 11 images of a poppy seed husk with poppy in the background, focused on a drop of water on the husk. I tried CS4's focus stacking with an without "Seamless colours and tones" option, as well as Combine ZP's various algorithms. They all look very different, especially ZP's options, and its good to know those options are available, but wow I must admit I did expect more from all of them. I think the poor results have a lot to do with my subject being very complex with thorns/hairs at very different depths of field, and because the DOF in the original set was too thin.

Attached example is from CS4's Focus stacking with seamless colours and tone option enabled, which probably came out the best out of all the methods.

I can see that manual stacking would always have better results, but for something like this it's not too feasible unless i wanted to spend hours on one image. I've manually alligned layers before and found it fairly time-consuming. I didn't find a blend mode that worked well for me, i will try difference next time, thanks.

There's more to learn with sub 1:1 macro than I thought! But looking forward to it :)


HOSTED PHOTO
please log in to view hosted photos in full size.


-Tony

  
  LOG IN TO REPLY
Triptoph
THREAD ­ STARTER
Senior Member
Avatar
504 posts
Likes: 2
Joined Jul 2007
Location: Glasgow, Scotland, UK & Vancouver, BC, Canada
     
May 12, 2009 17:57 |  #6

Next attempt I will be using manual flash (instead of ETTL used for shot above) for more constant colour - I assume then I will not need CS4's "seamless colours and tones" option, and then I can work with masks afterwards. Might be a nice compromise for a complex-DOF shot like this along with a narrower aperture.


-Tony

  
  LOG IN TO REPLY
LordV
Macro Photo-Lord of the Year 2006
Avatar
62,126 posts
Gallery: 9 photos
Best ofs: 2
Likes: 6648
Joined Oct 2005
Location: Worthing UK
     
May 13, 2009 00:45 |  #7

That is a very difficult subject for any focus stacking prog to work out mainly because The oof spines will look just as detailed to the prog as the texture on the leaf does. AFAIK these progs detect detail by rapid contrast change so low contrast detail doesn't "look" any sharper than oof high contast detail.
Brian V.


http://www.flickr.com/​photos/lordv/ (external link)
http://www.lordv.smugm​ug.com/ (external link)
Macro Hints and tips
Canon 600D, 40D, 5D mk2, 7D, Tamron 90mm macro, Sigma 105mm OS, Canon MPE-65,18-55 kit lens X2, canon 200mm F2.8 L, Tamron 28-70mm xrdi, Other assorted bits

  
  LOG IN TO REPLY
Triptoph
THREAD ­ STARTER
Senior Member
Avatar
504 posts
Likes: 2
Joined Jul 2007
Location: Glasgow, Scotland, UK & Vancouver, BC, Canada
     
May 13, 2009 01:23 |  #8

I had been thinking this would be a lot less work to stack photos. I've seen some amazing focus stacked images of complex subjects like flies with tiny hairs, so there must be a way... hopefully one that doesn't involve hours of work :)


-Tony

  
  LOG IN TO REPLY
Lester ­ Wareham
Moderator
Avatar
31,906 posts
Gallery: 3035 photos
Best ofs: 5
Likes: 38129
Joined Jul 2005
Location: Hampshire, UK
     
May 13, 2009 02:09 |  #9

Triptoph wrote in post #7911235 (external link)
I had been thinking this would be a lot less work to stack photos. I've seen some amazing focus stacked images of complex subjects like flies with tiny hairs, so there must be a way... hopefully one that doesn't involve hours of work :)

You tend to paint zones of focus in rather than individual hairs, though I sometimes do this with prominent long hairs on a spider say.

I think the problem you are having is thinking of focus stacking as if it is pan-focus. In reality you have to choose the important parts of the image in various areas to have in focus, ie mix and match.

To use an analogy or reading an orchestra score for the piano, you have to pick the instrument parts that contain important melodic or harmonic content at a particular moment, you don't have enough fingers to play every part simultaneously.


My Photography Home Page (external link)
Gear List
FAQ on UV and Clear Protective Filters
Macrophotography by LordV
flickr (external link) Flickr Home (external link)

  
  LOG IN TO REPLY
Triptoph
THREAD ­ STARTER
Senior Member
Avatar
504 posts
Likes: 2
Joined Jul 2007
Location: Glasgow, Scotland, UK & Vancouver, BC, Canada
     
May 13, 2009 12:24 |  #10

I'm afraid I don't know what you mean by pan-focus.

I think I would be able to paint zones of focus rather than individual hairs if the DOF had been a fair bit wider than what I had used.

It also occurred to me during some of the other shots that instead of aiming to get everything in focus, the final image sometimes would be more powerful with only specific focal points in focus. I guess that should have been fairly obvious... I'm just getting a bit wrapped up in the technical and loosing sight of what I want the final image to be I suppose.


-Tony

  
  LOG IN TO REPLY
DQE
Member
Avatar
168 posts
Joined Sep 2006
Location: near Portland, Maine
     
May 14, 2009 18:21 as a reply to  @ Triptoph's post |  #11

FYI - some new software is now available for evaluation. It is obtaining some good reports from some of the specialists at photomacrography.net.

Below is the URL for photomacrography.net:

http://photomacrograph​y.net/forum/viewforum.​php?f=27 (external link)

Next is the URL for the new Zerene Stacker software, in final development. I have no personal experience yet but wanted to pass the info along.

http://zerenesystems.c​om/stacker/ (external link)

Good luck in your quest to master focus stacking; I am on the same quest this summer.


--Phil
Canon gear: 5D MkII, 5D, MPE-65, 100 mm 2.8 macro, 85 mm f1.2 L, 16-35 mm f2.8, 24-105 mm L, MT-24, MR-14; 550EX flash (2 units); Gitzo 2548 tripod; Gitzo monopod; Acratech Ultimate Ballhead; Manfrotto 410 geared tripod head; Cognisys StackShot rail & controller

  
  LOG IN TO REPLY
Triptoph
THREAD ­ STARTER
Senior Member
Avatar
504 posts
Likes: 2
Joined Jul 2007
Location: Glasgow, Scotland, UK & Vancouver, BC, Canada
     
May 14, 2009 18:54 |  #12

Great I will definitely check that out, thanks!


-Tony

  
  LOG IN TO REPLY
Triptoph
THREAD ­ STARTER
Senior Member
Avatar
504 posts
Likes: 2
Joined Jul 2007
Location: Glasgow, Scotland, UK & Vancouver, BC, Canada
     
May 14, 2009 19:14 |  #13

Results from Zerene Stacker are the best I've seen yet. Combining their results with manual work seems a pretty good option. I'll have to keep an eye on the progress of that program, looks promising.


HOSTED PHOTO
please log in to view hosted photos in full size.



HOSTED PHOTO
please log in to view hosted photos in full size.


-Tony

  
  LOG IN TO REPLY
Triptoph
THREAD ­ STARTER
Senior Member
Avatar
504 posts
Likes: 2
Joined Jul 2007
Location: Glasgow, Scotland, UK & Vancouver, BC, Canada
     
May 14, 2009 19:16 |  #14

The ZS Image had stronger ghosting parts against the red for some reason, but the texture of the green surface was much better with ZS than CS4.


-Tony

  
  LOG IN TO REPLY
rjlittlefield
Mostly Lurking
19 posts
Joined Mar 2007
     
May 23, 2009 17:15 as a reply to  @ Triptoph's post |  #15

Triptoth, thanks for checking out Zerene Stacker (ZS). For starters, I need to say that I'm the fellow who wrote ZS. I did that primarily because I shoot a lot of deep stacks of hairy and low contrast subjects, and I got tired of wrestling with the other stacking programs.

ZS's PMax method, which is what I think you used, does quite well at preserving detail even in low contrast regions such as the green surface of your leaf. It also handles overlapping structures like mats of bristles and hairs, where the depth map methods have problems. PMax also often gives less halo than other methods, but it's much more likely to show ghosting if there's the slightest bit of subject movement or misalignment.

When I study carefully the Photoshop and ZS samples that you posted, I'm pretty sure that your results are showing some sort of movement or misalignment. But I'd have to see the full stack to diagnose it any farther.

The other common cause of halo with PMax is shooting with too large of a focus step. That algorithm works a lot better when it gets a chance to see hairs etc. in sharp focus, then just a little OOF, a little more OOF, and so on.

Looking at the continuous surface of the green area, I see that there are periodic bands where nothing is sharp. The same pattern appears in many of the hairs -- sections that are sharp, separated by sections that are not so sharp. This pattern suggests an overly large focus step. Reading back, I see that this stack was only 11 frames. I don't know enough about your subject to say for sure, but I'm inclined to think that best results at this magnification and depth would require more like 40.

These high magnification hairy subjects are very challenging on first encounter, but you'll find they get a lot easier with more experience.

If you'd like to work on this problem further, I'll be happy to help you out. The best bet is probably to contact me via upport@zerenesystems.c​om (external link) . I'm very curious to know what's going on with the alignment/movement issue.

Hope this helps -- that's an attractive image you're working on!

Rik Littlefield
Zerene Systems




  
  LOG IN TO REPLY
sponsored links (only for non-logged)

8,224 views & 0 likes for this thread, 5 members have posted to it.
Photoshop CS4 Focus Stacking with manual mask work afterwards
FORUMS Photo Sharing & Discussion Macro 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is NicSo Studio
1565 guests, 207 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.