Comments (9)
You can create a preset with the settings of “embedded metadata”, and auto-apply that preset to your Tamron lens. You can also have it only apply to the case of: Fujifilm X + Tamron 17-70/2.8.
Source:
from darktable.
Yeah, I do use auto-preset on other modules (exposure, color calibration, ...) However, I don't always apply lens correction, only about half of the time (e.g. if a shot at 17mm has people near the edges, applying distortion correction would stretch the people out weirdly).
Also, lens correction is a module where preset doesn't work. A preset is based on a specific focal length, and most shots have different focal length, thus, the correction will be incorrectly applied. Similarly, I couldn't copy/paste the lens correction from one photo to another unless the two photos are of the same focal length.
from darktable.
A preset is based on a specific focal length
That is incorrect, that only applies for “auto-apply” preset.
from darktable.
That is incorrect, that only applies for “auto-apply” preset.
Sigh, I'm not sure if it's a bug, but it has been that way for several years now. When I save a preset with "Lensfun database" method, the correction at that specific focal length is stored in the preset, and thus can only be applied correctly to shots at the same FL. Same problem prevents copying/pasting the lens correction from one photo to another with a different FL.
You probably can verify yourself with these steps (I'm on 4.7.0+1079~g7ebded0604-dirty):
-
edit shot #.1 at a long focal length, e.g. 70mm in my example, apply a Lensfun distortion correction, save it as preset (e.g. "test preset at 70mm"). Note that I cannot choose what is or is not saved into the preset.
-
edit shot #.2 at a different focal length, e.g. 31mm, apply a Lensfun distortion correction, it should apply correction for 31mm.
-
apply the saved preset from #.1 to #.2. Shot #.2 now has incorrect correction of 70mm applied to it.
from darktable.
My bad, I thought you meant presets in general.
PS: This related to #1990
from darktable.
@hqhoang Considering you are using the dev version, you could edit the source to make “Lensfun database” the default.
You can do this by editing the file src/iop/lens.cc
:
- Find the method called:
dt_iop_lens_method_t
. - Copy this line:
method = DT_IOP_LENS_METHOD_LENSFUN;
. - Comment out the if statement.
- Paste what you copied in step 2, just before the return statement.
- Recompile.
from darktable.
You could solve this with a lua script. You could invoke it with a shortcut and it could look at the values and make the correct settings.
from darktable.
You could solve this with a lua script. You could invoke it with a shortcut and it could look at the values and make the correct settings.
I'm not processing a lot photos lately so it's not urgent, thus, submitting as a feature request hoping for a proper solution. A script could work, but it's just a hacky temporary workaround. After all, what decides one correction method is better than the others to set it as default?
from darktable.
but it's just a hacky temporary workaround
The Lua scripting language is embedded in darktable. It has access to the darktable internals and is intended for extending darktable functionality when the basic functionality isn't enough, or implementing user specific workflows.
a proper solution
If you want to define how the solution is implemented, then you need to implement it.
from darktable.
Related Issues (20)
- Reconstruct in Filmic RGB with OpenCL glitches preview image HOT 2
- High Pass effects image outside masks or even when opacity is set to 0%. HOT 4
- Crash with new Ubuntu 24.04 HOT 10
- Slow background thumbnail creation/caching HOT 6
- All images in all phases of darktable pixelates periodically HOT 12
- lookup for updated XMP files on startup: duplicates on different workstations HOT 3
- openCL, rusticl: Square grid artifacts show up on raw photos from phones HOT 5
- Workflow Automation with Lua Scripts HOT 1
- [DT 4.7.0] The function “copy in other folder” does not copy an xmp file (sqlite3 error) HOT 3
- Reimplement "AI detection of image edges" in color calibration
- Crash when comparing snapshots of diffuse-or-sharpen settings HOT 13
- What version? HOT 2
- IPTC tags in WebP images HOT 5
- The "control" button is being used to select mulitple images instead of "command" on MacOS
- Vignetting module: please add option "increase exposure" postive brightness HOT 8
- Remove Haze does not work for certain images
- Canon EOS R100 HOT 3
- darktable Windows - language is stuck on English
- Quick access panel: disabling module via shortcut does not update switch icon HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darktable.