Lightroom/Camera Raw: Focus mask / image sharpness

  • 99
  • Idea
  • Updated 3 months ago
  • (Edited)
Like a topographical map, except instead of showing altitude, show sharpness/in-focus-ness.Would allow one to see at a glance where the focal plane lies, and how well focused is the photo at the focal plane (and everywhere else), and what is the depth of field.PhaseOne took a whack at this in CaptureOne. I think their implementation has some weaknesses: shows focal plane, but no indication of how well focused at the plane, and gives no sense of depth of field, but is still quite useful.See http://feedback.photoshop.com/photosh... for a related idea, that would go nicely with this one.If you like this idea, please remember to click the '+1' button below.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes

Posted 7 years ago

  • 99
Photo of sam

sam

  • 9 Posts
  • 1 Reply Like
It would be nice if Lightroom could calculate image sharpness (as in, camerashake) programmatically.

This would help my workflow because there are frequently cases where I took several copies of a shot at slow shutter speed, and want to see which is the sharp one, without having to manually compare them. (I would also like a quick way of spotting 'blurred' shots right away in general.)

It could be a number ('on a scale of 1 to 100, how sharp is the sharpest bit of the picture'), which you could set to appear as a badge on the image thumbnail, or else a visual display such as a colour-map of which areas are sharp (green = really sharp, red = soft, or something like that). The latter could also indicate what's in focus. Should be available from the main library screen so you don't have to look at the photo to see how sharp it is.

This reply was created from a merged topic originally titled
Lightroom - programmatically calculate image sharpness.
Photo of Antoine Hlmn

Antoine Hlmn

  • 87 Posts
  • 10 Reply Likes
I agree! A tool to quickly select the best image out of a bust of (almost) the same image would be great! A huge timesaver.
I know the compare module,allows to do this manually, but it’s very time consuming and the previews are not rendered in max quality. Only in the devlop module (except if this has been modified recently...)
Photo of Royi

Royi

  • 28 Posts
  • 5 Reply Likes
I'd like Photoshop to have a "Depth of Field" filter which creates a mask according to the distance (Which is evaluated relatively to the "Focus").
It can be done.
Photo of sean

sean

  • 256 Posts
  • 43 Reply Likes
It can be done if you have a stereo setup...
Photo of Royi

Royi

  • 28 Posts
  • 5 Reply Likes
It can be done using 1 image only. Though results are inferior.
The OP, and I for that matter, are not after accurate map of distance from the camera. We're after a measurement of Focus Level / Sharpness. This can be done using single photo.
Photo of sean

sean

  • 256 Posts
  • 43 Reply Likes
For that, I think you just need to look at the spatial frequency response of the image or subimage.
Photo of Royi

Royi

  • 28 Posts
  • 5 Reply Likes
I don't think that would do. The method I know and have implemented estimate the blur parameter using Maximum Likelihood Estimator. I'm sure there are better and simpler methods.
Photo of Jarno Heikkinen

Jarno Heikkinen

  • 26 Posts
  • 6 Reply Likes
I've created a Lightroom plugin for this:

http://www.capturemonkey.com/focusmask
Photo of Christian Sirois

Christian Sirois

  • 3 Posts
  • 1 Reply Like
Great plugin btw. I use it when I can but having the focus plane evaluated while Lightroom create the preview image would be ideal.
Photo of Finn Stausholm

Finn Stausholm

  • 3 Posts
  • 0 Reply Likes
This plugin do not work in the new version of LR Classic CC. Please update it :-) 
Photo of Ross Dillon

Ross Dillon

  • 17 Posts
  • 3 Reply Likes
Capture One reportedly has a new feature where a green mask is overlaid where the picture is most in focus (thumbnails as well). As an action shooter (sports, airshows, etc) that would greatly help identify OOF shots for disposal.

This reply was created from a merged topic originally titled
How about a "mask" to show areas of sharp focus?.


Note: This topic was created from a reply on the Lightroom/Camera Raw: Display camera focus information topic.

This reply was created from a merged topic originally titled
How about a "mask" to show areas of sharp focus?.
Photo of s_popov

s_popov

  • 1 Post
  • 2 Reply Likes
Lightroom: Automatic focus checking when comparing hunderts of images from a session, like Capture One does. This allows the pro who's working with high volume to quickly sort out misfocused frames or motion-blurred frames.

This reply was created from a merged topic originally titled
Lightroom: Automatic focus checking.
Photo of Christian Sirois

Christian Sirois

  • 3 Posts
  • 1 Reply Like
It would be very useful if Lightroom could display where the focus is sharp on an image. Much like exposure clipping, turning white to red and black to blue, focus mask would color the area of the image that is most in focus.

This would make it very quick to find the best in focus image in a series of pictures.

This reply was created from a merged topic originally titled
Lightroom : Focus peaking, mask, check....
Photo of Shai Yammanee

Shai Yammanee

  • 1 Post
  • 3 Reply Likes
It would be interesting if the implementation was similar to the focus peaking points used on film sets by focus pullers.
This has also been recreated by the guys at Magic Lantern for DSLRs.

Any focus mask feature would make such a speed difference for me after my shoots.
Photo of Jarno P.

Jarno P.

  • 8 Posts
  • 0 Reply Likes
Focus Peaking is the right feature. It shows areas of the photos that are in focus (i.e. are sharp). This can be calculated from sharpness in the image. There SW that can do it already.

This should be available in Library and Development modules to enable fast image picking and filtering.
Photo of Christian Sirois

Christian Sirois

  • 3 Posts
  • 1 Reply Like
I just read the information about Lightroom 5 and I'm really sad that Focus Mask is not part of the release...

I work with a 12fps dslr and when shooting sport I can burst 10-15 images each time I press the shutter button. It's not an option, it's MANDATORY for me to check the focus of images before retouching them.

Focus Mask is long overdue and would be much much more useful than a lot of other features.
Photo of Jeff

Jeff

  • 5 Posts
  • 2 Reply Likes
This reply was created from a merged topic originally titled Lightroom: Analyze images and show an overlay of the sharpest areas.

In Grid view, it would make culling so much faster if we could have some sort of Focus Mask (like Capture One).
Please add something to easily see if a photo is properly focused without having to zoom in on it. Thanks!!!
Photo of sean

sean

  • 256 Posts
  • 43 Reply Likes
This topic is 4 years old (don't all LR feedback comments start this way nowadays?). I agree with people that say LR could benefit hugely by a full recode from the ground up. Make it a priority to create tools that make editing FASTER, but even more importantly Adobe needs to add intelligence to the software to ASSIST us, not just sit there waiting for us to move a slider.
Photo of Bryn Forbes

Bryn Forbes

  • 157 Posts
  • 21 Reply Likes
I don't think it needs a full recode. That implies that the code is what is slowing down development efforts. It's still an excellent tool. It just has lagged in development especially in the organizational workflow lately due to the focus on mobile tools. the develop module continues to take advantage of the camera raw team's work, and it does amazing job to make near real time changes to large images. However keywording and sorting through images, stacking and grouping and reorganizing clearly isn't a priority as little has changed since lightroom 2 and 3.
Photo of Frenchfries

Frenchfries

  • 59 Posts
  • 1 Reply Like
Focus Mask/peaking via microcontrast detect is a great idea like seen in Capture One
Photo of Benjamin Rodd

Benjamin Rodd

  • 4 Posts
  • 0 Reply Likes
YES, this is exactly what we need in LR. Great suggestion!
Photo of Fionn Große

Fionn Große

  • 13 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Sharpness Measuring tool.

Sometimes I'm taking portraits with a 1/60s of a second. In order to get one sharp photo, I take a whole row of photos. Most of them are a bit blurry, so I just have to find the most sharp photo.

Now my idea:

Would it be possible to analyze all photos by their sharpness and give a value how sharp a photo is?

---> That would be the easiest way finding the most sharp photos of a series.

Very often I do have that "problem" and so I have to scrub through the photos, sometimes even getting into the 1:1 magnification. Especially annoying since Lightroom ist not the quickest software on planet earth.

Pleeeeease bring it :) Would be "future" for the library module!

Greets from southern Germany
Fionn
(Edited)
Photo of Todd Shaner

Todd Shaner, Champion

  • 894 Posts
  • 275 Reply Likes
If the portraits were all shot using the exact same subject composition, lighting, aperture and ISO speed setting the image with the largest file size should be the sharpest. Use right-click  'Show In Finder or Explorer' to quickly check the file sizes.
Photo of sean

sean

  • 254 Posts
  • 43 Reply Likes
Unless you are shooting against a high-frequency backdrop and the camera missed subject focus and brings that background into focus. 
Photo of Todd Shaner

Todd Shaner, Champion

  • 894 Posts
  • 275 Reply Likes
Agreed, but Fionn Großeseems to indicate the portraits are blurry due to slow shutter speed (1/60sec.). Of course that begs the question of why not shoot at a higher shutter speed? Even my 2004 Canon 300D has a 1/200 sec. flash sync speed, which would reduce blurring due to camera shake. Just a suggestion. ;>)
Photo of sean

sean

  • 254 Posts
  • 43 Reply Likes
If there was no ambient... I think someone mentioned implementing a blur estimator as a solution. 
Photo of Fionn Große

Fionn Große

  • 13 Posts
  • 0 Reply Likes
I take sometimes photos in dark situations without a flash. So I can't go faster... Yeah, good idea with the file size, but that is just a workaround and doesn't work in every situation I guess.

I hope Adobe implements a sharpness measuring tool!
Photo of Gary Rowe

Gary Rowe

  • 83 Posts
  • 31 Reply Likes
Adobe is making so much money from the new subscription model, but seems to be giving so little back to us ... 

I've been with Lightroom from its inception, and have steadily upgraded. With the diminishing returns from each of the later newer versions, I only upgraded to v6 for its promoted speed improvements (silly me ...). I should have learnt by then, but with the speed issues from the past still lurking I was desperate.
And it didn't offer any improvement speed-wise to me.
And I had to start the subscription model to get the DeHaze functionality.

It is issues like this (as well as their slug-like speed in doing anything about the too-many-to-list long-standing poor DAM features) that really make me annoyed, as there is so much they could do to improve things (and now they certainly can't use cost as an excuse!) such as this kind of feature. I'de LOVE it.

I never use Photoshop now (even though it's part of my subscription) and instead use Affinity Photo (and the rest of the family can use it also as part of my license!). If someone comes up with as good a competitor to Lightroom, I'll jump ship ...

Unless, of course, they start giving us what we need in the Desktop version instead of just adding more ands more online/mobile phone stuff. I understand that that's really good for a lot of people, but for heavens sake, Adobe, please don't keep ignoring those of us that still want what we got into Lightroom for in the first place - we're seeing so many new features (like this) available in other software now, and LR just isn't keeping up.
Photo of Paul Beckwith

Paul Beckwith

  • 58 Posts
  • 1 Reply Like
This reply was created from a merged topic originally titled Feature request: Lightroom focus mask.

It would be great if Lightroom could generate a mask based upon what's
in focus in the image. The determined amount of what's considered in focus could be
determined by a slider. For example you may have a back-lit subject
where the subject is in focus (inside the depth of field) and the background blurred, and you only
want to brighten the subject. In generating a focus mask you could
then apply say exposure or shadows to just the masked area.
Photo of Finn Stausholm

Finn Stausholm

  • 3 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Lightroom Classic: Tool for selection/identification of unsharp Photos in LR Gall....

I NEED a Tool in LR gallery module for selection/identification of unsharp photos so I dont have to waste my time doing this in compare view all the time
Photo of Todd Shaner

Todd Shaner, Champion

  • 912 Posts
  • 279 Reply Likes
LR Classic now offers the ability to use the raw file's embedded preview or sidecar JPEG that are immediately available for reviewing and culling images at 1:1 view in the Library module.  This should allow you to very quickly find, flag, and rate images that have motion blur and focus plane issues. This allows quick culling of images for composition (Fit view) AND quality (1:1 view) issues all in one-step. Normally this is performed as two separate passes. There's no need to create 1:1 previews until after you have applied develop settings.
Photo of Christian Sirois

Christian Sirois

  • 1 Post
  • 0 Reply Likes
Great Todd, but it's not the same thing. Being able to see the sharpest area of all images in the thumbnail view would drasticaly improve the filter speed of images. That way, at a glance, you see all images, not one by one.
Photo of Todd Shaner

Todd Shaner, Champion

  • 912 Posts
  • 279 Reply Likes
I totally understand "It's not the same thing" and was only offering this as an expedient solution for culling and rating images with sharpness issues using the currently available tools. It was posted over six-years ago and still marked 'No Status.' Considering the recent LR roll-out changes I wouldn't hold my breath waiting for it to be implemented. Peace
 
Photo of Nigel James Hughes

Nigel James Hughes

  • 1 Post
  • 0 Reply Likes
This reply was created from a merged topic originally titled focus mask feature within CApture One needs to be implemented within Lightroom.

I downloaded a trial of Capture One Pro to have a look and found this great feature called "Focus Mask"
Issentially images are brought into Capture One, lets say 80 portrait images which you are trying to get down to the best ones.
The "Focus Mask" feature allows an overlay in say yellow to highlite the parts of the image that are in focus great say for portraits when you can see that maybe one eye is NOT in focus at this point you can mark the image as a delete.

link to the feature

https://blog.phaseone.com/find-the-best-focused-images-in-no-time/
Photo of Zigi Putnins

Zigi Putnins

  • 35 Posts
  • 15 Reply Likes
When I was looking at capture1 as an alternative to lr ( due to performance) the focus mask was a great new tool. Loved it. They also have a "fill mask" feature.. you outline the mask and then do an area fill .

Example..u use spitcadjustmentvwith Autodesk and work around the subject's edges. Once done u then want the outline filled.
Photo of Antoine Hlmn

Antoine Hlmn

  • 97 Posts
  • 12 Reply Likes
This reply was created from a merged topic originally titled Sharpness assessment tool.

It would be very useful to select the sharpest image out of a selection.