What is inside in your luarc file and contrib directory?
I hav ealier DT 6.2 and all worked okey.
What is inside in your luarc file and contrib directory?
I hav ealier DT 6.2 and all worked okey.
luarc file:
local dt = require “darktable”
dt.configuration.check_version(…,{2,0,0},{3,0,0},{4,0,0},{5,0,0})
dt.print(“Hello World”)
require “contrib/enfuseAdvanced”
in the contrib folder is only “enfuseAdvanced.lua” (the file also you have)
Thanks!
You shoud have in luarc like this
require “contrib/gimp”
require “contrib/hugin”
require “contrib/enfuseAdvanced”
require “contrib/HDRMerge”"
if you only like to have enfuseAdvansed.lua you shoud have only
require “contrib/enfuseAdvanced”
I’ve got to work only enfuseAdvance.lua copied from GitHub - BzKevin/enfuse_pro_2-dt-plugin: Updated version of Holger Klemm's enfuse_pro plugin for darktable
you musta have enfuseAdvanced.lua inside folder contrib
Maybe I misunderstood how to download enfuseAdvanced.lua. I cut the text from the screen, pasted it into my editor and saved the file to the contrib directory.
Maybe this happens automatically when configuring git ???
please have a look at the ReadMe:
@yteaot New report! Tried to configure git again, but was told that the “lua” directory was already created. I removed it and tried again and now things happened. Lua was created with all the directories you have in your installation.
However, I still got an error message:
alf @ TimurLenk ~ $ darktable -d lua
2.901402 LUA ERROR: /home/alf/.config/darktable/luarc:1: syntax error near ‘<\ 226>’
luarc now looks like this (copied from your message)
:
require “contrib / gimp”
require “contrib / hugin”
require “contrib / enfuseAdvanced”
require “contrib / HDRMerge”
Still no “lua options” after “preset” in preferences.
Feel at least as the solution has come closer.
Can you see when you open in darktable lightable target storage somethin like this
Do you see DRI or DFF image(it means enfuseAdvansed), Edit with Gimp and hugin panorama
If you see those three, select one picture and clic Edit with gimp. What happens?
gimp.lua and hugin.lua dont need no lua options. gimp and hugin must been insalled in to system.
If nothing happens try this
delete your luarc file
You can also create or add lines to the luarc file from the command line:
echo 'require "contrib/gimp"' > ~/.config/darktable/luarc
to create the file with a gimp entry
or echo 'require "contrib/hugin"' >> ~/.config/darktable/luarc
to add an entry for hugin.
or echo 'require "contrib/enfuseAdvance"' >> ~/.config/darktable/luarc
to add an entry for enfuseAdvance.
I sed ealier:
I’ve got to work only enfuseAdvance.lua copied from GitHub - BzKevin/enfuse_pro_2-dt-plugin: Updated version of Holger Klemm's enfuse_pro plugin for darktable
if hugin and gimp works try enfuseAdvanced from that site
No, these export options are not in my computer.
I’m thinking of clearing everything out and starting over from scratch
because I may have messed with something during all attempts.
Can I summarize the installation procedure like this ???
1 create luarc with the programs I wish
2 on the terminal write
cd ~ / .config / darktable /
git clone https://github.com/darktable-org/lua-scripts.git lua
3 Start darktable and set paths to align_image_stack, enfuse and
exiftools
4 Turn off and restart the darktable
Do you recognize the description above or have I missed something?
I think 1 create luarc with the programs I wish is wrong
TRY THIS
delete your luarc file
You can also create or add lines to the luarc file from the command line:
echo 'require "contrib/gimp"' > ~/.config/darktable/luarc
to create the file with a gimp entry
or echo 'require "contrib/hugin"' >> ~/.config/darktable/luarc
to add an entry for hugin.
or echo 'require "contrib/enfuseAdvance"' >> ~/.config/darktable/luarc
to add an entry for enfuseAdvance.
I sed ealier:
I’ve got to work only enfuseAdvance.lua copied from GitHub - BzKevin/enfuse_pro_2-dt-plugin: Updated version of Holger Klemm's enfuse_pro plugin for darktable
if hugin and gimp works but enfuseAdvanced not try enfuseAdvanced from that site
@yteaot
Finally, I arrived at the port thanks to a patient and knowledgeable pilot who helped me past a couple of grits on the road.
Without your help, I would never have done this. Have installed many programs using DEB files and PPA,
but this was brand new to me. Even LUA is unknown country to me.
The change of enfuseAdvanced.lua was the last piece of the puzzle. Thought I got that version when I used git. I’m sorry I misunderstood you there.
Don’t know how to thank you!
Alf
Picture from Stockholm
Congratulations!
Are you from Sveden? I am from Finland.
Which version of enfuseAdvanced the git version or BzKevin version works?
Have you seen this german tutorial?
https://www.multimedia4linux.de/index.php/143-darktable-tutorial-pano-pro-plugin
The git version did not work so I switched to the one you suggested.
Oh, we’re neighbors! If you want, please contact me at alfwerner@bredband.net
For focus stacking I am not getting proper results
Any Help?
There is an issue with the enfuseAdvanced plugin and I’ve been working on a fix. Part of the issue is providing presets that work straight out of the box. Unfortunately, real life has not given me much time to work on it lately. Hopefully that will change soon…
Bill
Unfortunately I am in the same boat as Bill. Life has been very hectic for me lately and I’ve had no time to dedicate to photography or my plug-ins.
Something that may be helpful is to run darktable with LUA debugging turned on and to review the log files so we can compare your Command Line string with the string generated via the program.
You can enable the debug logfile by starting darktable with “-d lua” behind it. On windows I open a CMD window in the folder where my darktable application is installed and type “darktable -d lua”.
The log file can be found at location described here (windows OS): https://www.darktable.org/about/faq/#faq-windows-logs
Sorry for late answer following is the terminal output
Rajs-iMac:~ raj$ /Applications/darktable.app/Contents/MacOS/darktable -d lua
(process:2276): GLib-GObject- CRITICAL **: 17:43:28.614: g_object_set: assertion ‘G_IS_OBJECT (object)’ failed
(darktable:2276): GLib-GObject- WARNING **: 17:43:29.032: invalid cast from ‘GtkMenuBar’ to ‘GtkWindow’
(darktable:2276): Gtk- CRITICAL **: 17:43:29.032: gtk_window_add_accel_group: assertion ‘GTK_IS_WINDOW (window)’ failed
12.078854 LUA enfuseAdvanced - Executable Path Preference: /Applications/Hugin/Hugin.app/Contents/MacOS/align_image_stack
12.335811 LUA enfuseAdvanced - Executable Path Preference: /Applications/Hugin/PTBatcherGUI.app/Contents/MacOS/enfuse
12.426700 LUA enfuseAdvanced - Executable Path Preference: /usr/local/bin/exiftool
272.129724 LUA enfuseAdvanced - Starting Image Fusion
272.130472 LUA enfuseAdvanced - Align Start Command: “/Applications/Hugin/Hugin.app/Contents/MacOS/align_image_stack” -m -g 5 -c 8 -t 3 --corr=0.9 --gpu -a ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0217.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0218.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0212.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0207.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0206.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0223.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0208.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0216.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0219.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0204.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0224.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0213.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0221.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0209.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0220.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0215.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0205.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0222.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0214.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0211.tif’ ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/D2X_0210.tif’
align_image_stack: using graphics card: ATI Technologies Inc. AMD Radeon RX 570 OpenGL Engine
Written aligned images to files with prefix “/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_”
283.100339 LUA enfuseAdvanced - Completed Align
283.167516 LUA enfuseAdvanced - Blend Start Command: “/Applications/Hugin/PTBatcherGUI.app/Contents/MacOS/enfuse” --exposure-weight=0.0 --saturation-weight=0.0 --contrast-weight=1.0 --exposure-optimum=0.0 --exposure-width=0.0 --hard-mask --contrast-window-size=5 --contrast-edge-scale=0.0 --contrast-min-curvature=0.0% --depth=16 --compression=98 --output=’/Volumes/HackSSD/Stacking_Focus_Exposure/godetia_stack04_1200w/D2X_0204-0224_01.jpg’ /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0000.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0001.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0002.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0003.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0004.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0005.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0006.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0007.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0008.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0009.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0010.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0011.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0012.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0013.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0014.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0015.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0016.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0017.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0018.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0019.tif /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0020.tif
enfuse: warning: exposure width less than 0; will use 1/1024
enfuse: warning: option “–exposure-optimum” has no effect as exposure weight
enfuse: warning: is zero
enfuse: warning: option “–exposure-width” has no effect as exposure weight
enfuse: warning: is zero
enfuse: warning: requested output pixel type is “UINT16”, but image type “JPEG”
enfuse: warning: supports “UINT8” at best; will use “UINT8”
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0000.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0001.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0002.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0003.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0004.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0005.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0006.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0007.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0008.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0009.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0010.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0011.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0012.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0013.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0014.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0015.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0016.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0017.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0018.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0019.tif 1/1
enfuse: info: loading next image: /var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_0020.tif 1/1
enfuse: info: narrowing channel width for output as “uint8”
enfuse: warning: must fall back to export image without alpha channel
285.921510 LUA enfuseAdvanced - Completed Blend
285.921554 LUA enfuseAdvanced - EXIFTool Start Command: “/usr/local/bin/exiftool” -TagsFromFile ‘/Volumes/HackSSD/Stacking_Focus_Exposure/godetia_stack04_1200w/D2X_0210.jpg’ -exif:all --subifd:all -overwrite_original ‘/Volumes/HackSSD/Stacking_Focus_Exposure/godetia_stack04_1200w/D2X_0204-0224_01.jpg’
1 image files updated
287.173450 LUA enfuseAdvanced - EXIFTool copy successful
287.173491 LUA enfuseAdvanced - Deleting temp files…
287.191095 LUA enfuseAdvanced - Done deleting
287.191150 LUA enfuseAdvanced - Image fusion process complete
OK, just some notes to myself to help troubleshoot what’s happening. Thanks for these log files!
Blend Start Command: “/Applications/Hugin/PTBatcherGUI.app/Contents/MacOS/enfuse” --exposure-weight=0.0 --saturation-weight=0.0 --contrast-weight=1.0 --exposure-optimum=0.0 --exposure-width=0.0 --hard-mask --contrast-window-size=5 --contrast-edge-scale=0.0 --contrast-min-curvature=0.0% --depth=16 --compression=98 --output=’/Volumes/HackSSD/Stacking_Focus_Exposure/godetia_stack04_1200w/D2X_0204-0224_01.jpg’
compares to
enfuse --exposure-weight=0 --saturation-weight=0 --contrast-weight=1 --hard-mask --output=output.tif OUT*.tif
So here we have potentially extraneous commands:
exposure width : 0
contrast window size = 5
contrast edge scale = 0
contrast min curvature = 0
depth = 16
compression = 98
and
Align Start Command: “/Applications/Hugin/Hugin.app/Contents/MacOS/align_image_stack” -m -g 5 -c 8 -t 3 --corr=0.9 --gpu -a ‘/var/folders/3x/vz2846ts5tbddfbcmf5_d2zr0000gn/T/aligned_’
compares to
align_image_stack -m -a OUT
gives us possible extraneous commands:
-g 5 … this is default according to panotools manual
-c 8 … this is default according to panotools manual
-t 3 … this is default according to panotools manual
-corr 0.9 … this is default according to panotools manual
–gpu … this should not be causing the problem
Since your example image looks like an alignment issue I’ll focus on that rather then the blend command. Are you able to provide the images so I can attempt to replicate myself? High quality JPEGs should be sufficient.
@Rajkhand @BzKevin There is a copyright on the image set. Please use and work on other images here. Also, for output with many lines enclose it with back ticks. After a certain height, it will truncate the field. Like so:
``` L O N G O U T P U T T E X T ```
L
O
N
G
O
U
T
P
U
T
T
E
X
T
Sorry didn’t know how to post long line will do it next time. The images are from helicon focus site as long as you don’t remove the water mark I think it is ok. There are other images there too.
Does the script works with dt 3.0.1 on Windows?
I have the script installed. The require "contrib/enfuseAdvanced"
is in the luarc
(and nothing else).
I get the DRI or DFF image
in dt. I do not get the LUA tab in dt preferences though. My Hugin is 2019.2.0
My aim is focus stacking. I do get something processing, but no image getting saved.
Do I missed something?