This is a little problem I’ve been trying to get my head around.
Assuming i have a folder of say 96 images. These are groups of three bracketed exposures, as an example
IMG_01.jpg IMG_02.jpg IMG_03.jpg would be the first group of bracketed exposures
The second group would be IMG_04.jpg, IMG_05.jpg IMG_06.jpg and so on.
Now what I would like to do, is somehow batch enfuse these images from the command line, but without having to do this manually by hand for each group of bracketed images:
lists all the .jpg files in groups of three, unfortunately I can’t seam to make the mental leap to then figure out how to then pass that on to enfuse, so that it would enfuse each group of 3 images, and output jpg, e.g:
enfused_01.jpg for IMG_01.jpg IMG_02.jpg IMG_03.jpg
enfused_02.jpg for IMG_04.jpg IMG_05.jpg IMG_06.jpg
I know I can use the likes of Luminance HDR to batch create hdr files, but I’m wanting to try to batch enfuse the bracketed exposures directly.
I wrote a script for just that. It requires kdialog. The script does much more than that but the only features I’ve used in the last few years are resize, convert and frame, meaning that I can’t vouch that the other stuff still works
Here is the script: https://filebin.net/a8mzsfryvplavinn/imgination
Simply select a bunch of files in a file browser (e.g. Dolphin) and “Open With” the script, see the comment section of the script for a sample .desktop file.
My current /usr/share/applications/imgination.desktop file uses Exec=~/scripts/imgination %F
@Morgan_Hardwood, thank you very much for this script!
I had to make a quick change to it, to remove the “-m 4096” option in the enfuse command, as this seemed to be causing the script to fail on my machine (enfuse version 4.2)
I’ve been able to quickly batch enfuse 34 sets of bracketed exposures, with just the few clicks of the mouse! So again, thanks for sharing this brilliant script!
What an excellent site pixls.us is, people always willing to help and share hints and tips on linux software
I should mention that I am updating Macrofusion, a user interface for enfuse and align_image_stack, to work with the latest versions of those programs and to add the new features these programs acquired since Macrofusion was last updated. The update is done, now I’m debugging. Once I’m done, I’ll post a link and update the imgination script as well.
Olen suomalainen ja ymmärrän suomen kieltä vaivattomasti, mutta en osaa Linux-kieltä kovinkaan hyvin. Tarvitsen askel askeleeta tarkat ohjeet jotta saisin sciptit toimimaan oikein.
If you dont understand what I am saying, you can use Google traslater.
I understand Linux-language badly, I need some kind of Google-linux traslater. I try to use Morgan_Hardwood’s script. So can you help me.