Skip to main content
Known Participant
November 6, 2021
Open for Voting

P:(Masking) Locate images in my catalog needing to recompute masks

  • November 6, 2021
  • 5 답변들
  • 1527 조회

Issue

We need a rapid way to find images that have AI mask errors. These errors happen when copying/pasting or synchronizing an AI mask across multiple images.  The error is hidden and must be discovered by opening each image, opening masks, and looking through the list of applied masks, and selecting an AI mask to see the error. There is no current way I can find to locate images with errors.

 

Proposed solution

  1. Add a "Masks with error" filter to the filters in the Library module.
  2. Add an overlay icon or text panel indicator to photos with mask error conditions.

 

 

5 답변

Participating Frequently
February 23, 2022

Great idea!

johnrellis
Legend
November 27, 2021

I released Any Filter 1.45 with full support for masking, and you can search for masks needing updating more easily using the built-in filter Sky/Subject mask needs updating:

 

 

johnrellis
Legend
November 24, 2021

While waiting for Adobe to implement this idea, you can use the Any Filter plugin to find photos with Select Subject/Sky masks needing updating:

https://community.adobe.com/t5/lightroom-classic-discussions/finding-photos-with-select-subject-sky-masks-that-need-updating/m-p/12503157

johnrellis
Legend
November 6, 2021

I've already had a number of requests for Any Filter to search for photos with Select Sky / Subject masks that need updating. I'll be releasing a new version soon to let you search all the attributes of the new masks, but meanwhile, here's how to create a filter that will find all photos that need updating:

 

1. In Any Filter > Search, click New, and in the Edit window:

 

2. Change "Name" to "Mask needs updating".

 

3. Select the Library > Code criterion.

 

4. Clear the "fields" box.

 

5. In the "code" box, copy/paste these lines:

(function ()
    for _, group in ipairs (photo:getDevelopSettings ().MaskGroupBasedCorrections or {}) do
        for _, mask in ipairs (group.CorrectionMasks) do
            if mask.What == "Mask/Image" and not mask.MaskDigest then return true end
            end
        end
    return false
    end)()

5. Click OK. 

 

Now you can apply the "Mask needs updating"

Bob Somrak
Legend
November 6, 2021

Thanks @johnrellis 

Works GREAT and very much needed.

M4 Pro Mac Mini. 48GB
Known Participant
November 24, 2021

I forgot to add it, but a right click on the image should also have "Recompute masks" option.

 

Known Participant
November 24, 2021

This idea came from user Nessak posted on one of my other ideas. Thank you! Great idea.