Skip to main content
Participant
September 13, 2023
Question

How to filter photos based on brightness or histogram

We have a lot of photos of outdoor scenes that are very similar. Some point towards the sky and are consequently much brighter. Others point towards the ground and consequently do not contain sky and are on average much darker.

 

We need a way to auto select in Develop mode all the pictures that are brighter (above a certain brightness threshold). Is there a quick way to do this? Or would we need to write a script that examines the histogram or something like that?

 

Currently we are doing this process manually and it is very time consuming.

 

Any suggestions would be hugely appreciated. Thanks.

 

Luke

 

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Community Expert
September 13, 2023

You would need to write some sort of plugin or external program that evaluates previews or even the raw images themselves based on a criterium like this. Wouldn't be that difficult (but definitely not fast) but I don't think anybody has done anything even remotely similar.

Translate
johnrellis
Legend
September 16, 2023

To build on Jao's reply, a plugin could export the select photos at a reasonable reduced resolution (e.g. 1440 pixels long edge) and then use the open-source Image Magick utility to analyze brightness and many other image characteristics.  

 

While "straightforward" for an experienced developer, if you don't know the Lua programming language and haven't written LR plugins, it could easily take many tens of hours to get something simple implemented. 

Translate
Participant
September 17, 2023

Thank you for your useful reply. I think analysing the images using ImageMagick would be a good starting point.

Translate
JohanElzenga
Community Expert
Community Expert
September 13, 2023

I don't think there is any way to do this. Not using the default options in Lightroom Classic and not in any plugin I know.

 

Translate
-- Johan W. Elzenga