11
\$\begingroup\$

I take a lot of photos. Quite many of those (cca 50%) are bracketed ones to create HDR images later. I would like to automatically identify the bracketed sets and move those to a separate folder for further processing.

I use linux, therefore photoshop based solutions are out of scope.

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Perhaps low-tech, but would the old panorama finger trick work for you? Simply end each bracket set with a shot of your hand, as a marker to end that series. \$\endgroup\$
    – Fer
    Commented Oct 9, 2012 at 20:58
  • 1
    \$\begingroup\$ @Ferdy you would still need some hand recognition software to automatically tag and move the bracketed sets as the question requires! \$\endgroup\$
    – Matt Grum
    Commented Jan 22, 2013 at 9:26

4 Answers 4

4
\$\begingroup\$

If you have a Canon DSLR and are willing to install Magic Lantern then there is a great feature that solves this problem nicely.

When you do bracketed shots through ML you can configure it to generate a small shell script that runs enfuse on the set of images. The script is written to the same directory as the pictures.

I don't really use the scripts themselves (I have my own enfuse script), but I do find them quite handy as a record of which images are in each bracketed set.

\$\endgroup\$
2
  • \$\begingroup\$ Magic Lantern seems to be a good solution to my problem. The script file it saves with the list of bracketed images is a good start for any workflow. \$\endgroup\$
    – Atis
    Commented Oct 5, 2012 at 14:26
  • \$\begingroup\$ It would be nice if you could add a description for how to do these settings in ML, or link to their wiki page. \$\endgroup\$
    – OSUZorba
    Commented Jun 6, 2017 at 1:47
8
\$\begingroup\$

heads-up, this is not a complete answer; it might help you get to the solution though
Your linux environment is perfect of Phil Harvey's ExifTool

The stand alone tool might have a way to be scripted to do this.
One dirty trick is to use timestamps and bracket bias data to collect images.

There is a Perl library too.

Also see webhdrtools which is based on ExifTool & Perl among other things.
While I have not checked if it handles your interest of isolating bracketed images,
if it does not, take a look at the exiftool output for bracketed and non-bracketed images you might find a simple method to isolate them.

Finally, when you get this done, do share your work-flow here.
This has been on my road-map for a while too :-)

\$\endgroup\$
3
  • \$\begingroup\$ Webhdrtools has a program that will do that, but it's based on having a minimum time separation between the bracketed set and the pictures that preceded or followed. This means that in a mixed bag of bracketed and continuous shooting, the latter will end up being treated as bracketed and stuffed into a directory (which might be useful). \$\endgroup\$
    – Blrfl
    Commented Oct 4, 2012 at 20:40
  • \$\begingroup\$ The Magic Lantern script can be used for images I will take in the future. Working on the workflow for existing images has lower priority. \$\endgroup\$
    – Atis
    Commented Oct 8, 2012 at 23:58
  • \$\begingroup\$ +1 timestamp based parsing seems like the way to go, to me. \$\endgroup\$ Commented Jan 23, 2013 at 13:48
2
\$\begingroup\$

Here is what works for me:

exiftool "-directory=HDR" -if '$ShootingMode eq "Continuous, Exposure Bracketing, Auto ISO"' *

If you are on Canon, use BracketMode instead of ShootingMode and AEB as the value. For Nikon try what I used. Here is a list of commands that are specific for brands. I went to Nikon and searched for "bracket" and this solution works.

\$\endgroup\$
1
\$\begingroup\$

I wrote a quick post explaining how I complete the same task. You can find it at my blog

I summarize it here. Using ExifTool it’s quite trivial to achieve our intent. Just a matter of one command line:

exiftool "-directory=HDR" -ext CR2 -if '$bracketMode eq "AEB"' .
\$\endgroup\$
4
  • 2
    \$\begingroup\$ Please put the answer directly here. Otherwise how is this different from spam? \$\endgroup\$
    – Unapiedra
    Commented Jan 20, 2013 at 17:52
  • 3
    \$\begingroup\$ Yes, at least indicate that your solution uses exiftool and works for canon. Link to the blog is probably fine, but need some amount of content here so that people can evaluate whether they should click through for more. \$\endgroup\$
    – MikeW
    Commented Jan 21, 2013 at 4:33
  • \$\begingroup\$ And, you know, blogs come and go.... \$\endgroup\$
    – mattdm
    Commented Jan 22, 2013 at 1:31
  • \$\begingroup\$ Done! I've added a quick summary ;) \$\endgroup\$
    – maxcanna
    Commented Jan 22, 2013 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.