Purdnost's profile

96 Messages

 • 

1.5K Points

Tue, Apr 14, 2020 1:29 AM

Filter by Which Images Can Be Lens Corrected?

I have 60,000+ RAW images that I need to filter according to which have lens data and which don't. I consolidated all my RAW images into one library, which also includes duplicate photos that have been stripped of some metadata (these are the ones I need to delete).

I've been going through and manually enabling lens corrections to each image and keeping the ones that are correctable. The ones that aren't affected by the correction are deleted (these also have less vivid colors). I'm guessing these duplicates are compressed RAW images that I pulled down from Google Photos.

Was hoping someone might be able to suggest a much faster, easier method.

Responses

189 Messages

 • 

4.6K Points

1 y ago

Take a look at the Search function of the Any Filter plugin. There is a filter under develop settings related to lens profile as well as a plethora of other criteria for search filtering. Hope this helps. (Sample filter below may not be the one you need, check the others).

http://www.johnrellis.com/lightroom/anyfilter.htm


Champion

 • 

6K Messages

 • 

103.6K Points

1 y ago

It's not clear from your description what lens data may be missing. Upload a sample photo that's missing the data and a similar one that isn't to Dropox or similar and post the sharing links here (be sure to include any .xmp sidecars).  Then we can quickly figure out how to identify them, either with LR's built-in filtering or with Any Filter if necessary.

Champion

 • 

6K Messages

 • 

103.6K Points

1 y ago

Those two images are JPEGs, not raws?  

One has the EXIF lens field and the other doesn't. If the rest of your photos are like that, you can easily filter ones with unknown lens using the Library Filter bar's Metadata browser. Do the menu command View > Show Filter Bar, click Metadata, set the first column to be Lens, and click Unknown Lens:


A shortcut for doing that is to select one of the correctable photos in Library grid view. Then in the Metadata panel on the right, click the arrow to the right of Lens:


But beware that most lens profiles work with raw only. The sample photo used the lens EF35mm f/1.4L USM, and there is no JPEG profile for that lens.


Champion

 • 

6K Messages

 • 

103.6K Points

1 y ago

Interesting. The file "Non-Lens Correctable.cr2" is actually a JPEG, not a raw.   You can see this by using the File Type column of the Metadata browser:


Exiftool confirms this:
$ exiftool -mimetype *.cr2
======== Lens Correctable.cr2
MIME Type                       : image/x-canon-cr2
======== Non-Lens Correctable.cr2
MIME Type                       : image/jpeg
So you can distinguish the "correctable" and "non-correctable" files two ways using the Metadata browser: With the File Type column and the Lens column.