blumarble Posted July 4, 2021 Posted July 4, 2021 (edited) I see Photoshop now has the ability to select areas of an image according to focus. As focus stacking must operate by selecting areas of a group of images to merge by focus -- and focus stacking has been around for some time now -- I'd think that Affinity already has this ability, if not the specific tool for doing so. This would enable users to adjust or otherwise manipulate areas of an image based on focus; e.g. increase/decrease background blur or bokeh, increase/decrease exposure, etc. For images with distinct foreground and background, it would just make it simpler to select. For images with complicated foreground/background areas (such as in the attached image) it would make possible what would otherwise be a very difficult -- almost impossible to do well -- task. Thank you. Edited July 4, 2021 by blumarble added info, edited photo Quote
John Rostron Posted July 5, 2021 Posted July 5, 2021 I had a little play and came up with this process: Duplicate the image and hide the lower layer. Use Frequency Separation with a radius of around 2px. Discard (hide or delete) the low frequency layer. Expand the range of the High Frequency Layer. Use Curves or Levels to set the white point to 100% and the black point to 0%. Use edge detection on the High Frequency layer. Apply a Threshold Adjustment (Layers > New Adjustment Layer > Threshold with a level of around 20%. Merge the visible layers, and Layer > Rasterise to Mask. Unhide the original layer and move the mask into this layer. This is not a perfect solution, but it might go some way towards what you want. John Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050
carl123 Posted July 5, 2021 Posted July 5, 2021 This is actually a feature request that I would like to see implemented but I don't see that happening for many years, so here's my attempt File attached - you can switch off the Gaussian Blur layer to see the before/after image or adjust it for the amount of blurring needed Still some overspill (halo effect) in places but generally the foreground is in focus with an adjustable background blur - may work on it again in the future focus2.afphoto John Rostron 1 Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.
BeauRX Posted July 5, 2021 Posted July 5, 2021 If not our cameras, our phones will likely make depth maps another (easier/better?) approach to selecting by depth in an image. Interesting times. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.