Lens Correction identifies my lens as: Nikon AF Micro-Nikkor AF 55mm f/2.8.
Said lens is however deemed problematic with a “camera/lens not found”.
The lensfun list identifies it as: Nikkor AI-S 55mm f/2.8 Micro. (Lensfun)
Correcting for this lens in Lens Correction fixes the “problem.”
DT4.2 manual in Lens Correction module (page 146): “…If your lens is present in the list but has not been correctly identified, this may require some adjustment within the exiv2 program (see this post for details).”
The referenced exiv2 program and post primarily relates to open software systems (variants of Unix and its descendants). I run Windows 10.
I want DT/Lens Correction to automatically recognize that lens.
What do I (running Windows) need to do?
Note: DT/Lens Correction used to auto-recognize the same lens earlier. I guess the description in the lensfun list changed resulting in the current glitch. If only lensfun maintained the old description in supplementing it with its new description perhaps this issue would have been avoided…but, echoing Montaigne, what do I know?
Please clarify how creating the exiv2 config file would help me resolve the issue. The rest of the exiv2 post referenced in the manual uses *ix tools irrelevant and inapplicable to Windows. The lensfun and exiv2 pages are *ix-centric.
But the bigger problem is that “Nikon AF Micro-Nikkor AF 55mm f/2.8” (nor anything resembling it) doesn’t seem to be in the lensfun database to begin with.
Maybe I’m missing something or being particularly dense…doesn’t the cited link confirm what I said earlier: the exiv2 references are primarily, if not all, applicable to Unix systems? They also expect a Windows user to become a Windows developer (or assume familiarity expected of one).
Yes, I agree. DT used to recognize it earlier so I believe said description used to be there in prior versions of lensfun. As to why that lens is recognized by the camera and DT but not in lensfun database (resulting in the reported issue, fixed by selecting the AI-S 55 mm f/2.8 Micro)…it’s beyond me.
Mica, Milos: may I respectfully request you consider the possibility I’m not a Windows developer, have zero understanding of what “USERPROFILE” is or where to find it, and would not know what to do with the manual’s or your references to it?
Further the manual for exiv2 cites: " USERPROFILE\exiv2.ini on Windows (using a Visual Studio build)". I have zero clue what Visual Studio Build does, am confident I did not build my Windows system using it, don’t know if it was used to build what I’m running…
As context: I spent a couple decades in the Unix industry as a developer. That was years ago. I’m not a novice wrt technical issues. If I were to say the exiv2 & lensfun content are oriented primarily, if not all, toward *ix developers, and are of scarce help to a Windows user I mean that in good faith, not as mere criticism.
“AI-S Nikkor 55mm f/2.8 Micro” has been in the lensfun database since around 2017, but no trace of “AF Micro-Nikkor 55mm f/2.8” anywhere in the project AFAICT.
OTOH, there is no “AI-S Nikkor 55mm f/2.8 Micro” in exiv2 nor exiftool lens tables?!
I am not a windows developer either, I’m just spending my limited free time trying to help you get what you need. Hell, I’m not even a windows user except when I’m forced to by work.
Some research or even a quick google, probably a shorter time than it’d have taken you to write your last reply, would have cleared up the question.
We can’t reach into your machine and magically fix your problems, we can only point you in the right direction but ultimately its up to you to get your machine and software to do what you want it to do.
If you were to say that, you’d just be incorrect. Both are libraries in C capable of running on all three major operating systems, and are in use at scale on multiplatform softwares of both a free and comerical nature.
That presumes I didn’t research or search…when the very fact I cited the manual (in my original posting) confirms otherwise.
In any case, I find this degrading to argumentation and disputation. I shall disengage therefore. Perhaps Peter or Milos would be able to help me resolve what seems to be: "
Userprofile you can just take a look in the Youtube video I posted. That was Windows. But no need to use the configuration file in this case because your lens is not in Lensfun at all.
Anyway, seems your JPEG worked to analyze and no need for a raw file.
You said it worked before, so go back to an old raw file you already edited. As long as you don’t hit refresh Exif in darktable the old lens pairing should still be there. I assume the pairing before was wrong.
Peter, thank you for confirming: (what is also shown in my first screenshot i.e.,) [quote=“Peter, post:12, topic:34994”] Your lens is Nikon AF Micro-Nikkor 55mm f/2.8 [/quote]; b) lensfun doesn’t have that lens in its database. Milos found the latter problematic too.
Unfortunately I wiped out the version of DT I used earlier (when DT/lensfun had no problem with the same lens) and all related images. I reinstalled DT and related files recently…only to run into this issue. What are my options for processing images (and there’s a lot of them) taken with this lens?
Peter, I reviewed the link you sent and understand creating a lens profile for this lens would need some RAW images taken per the link. I can get to that the next week.
Meanwhile…to the extent it helps…some refs to when lensfun included the lens in their database.
A search for “lensfun Nikon AF Micro-Nikkor 55mm f2.8” shows:
Requires option -c, -m or -M. fi | fixiso Copy ISO setting from the Nikon … 50mm f/1.4 JAA62101 AF Micro-Nikkor 55mm f/2.8 JAA72901 AF Zoom-Nikkor 28-85mm …
This confirms the lens was calibrated and already part of lensfun earlier. What would it take for lensfun to recover that information and include it in their list of currently supported lens? I can then do a lensfun-update-data…Does that make sense (vs my calibrating the lens…and us spending more time on this)?
Note: I don’t have access to my old sidecar files, xmp files, etc.
Peter, I don’t have a diffuser to complete the set of samples.
Nikon informed me the optics for the Nikon AF Micro-Nikkor AF 55mm f/2.8 is the same as for the Nikkor AI-S 55mm f/2.8 Micro.
That makes it a lot simpler (I think) for us.
Exiv2 and thus DT have the Nikkor AI-S 55mm f/2.8 Micro in their list.
This suggests to me two options, one a hack, the other an improvement:
a) I can “preset” DT to use the settings for the Nikkor AI-S 55mm f/2.8 Micro in the Lens Correction module when it recognizes a Nikon AF Micro-Nikkor AF 55mm f/2.8.
b) Exiv2 can copy the settings for the AI-S and apply them also for the AF.
[The real solution: taking a full set of samples etc would take time.]
My question: Could someone clarify how I can do (a)? i.e., have DT apply the settings for a lens it already recognizes for a lens that it doesn’t recognize but apparently, per the manufacturer, has the same optics? [Credit where credit due: Todd in another posting suggested I apply, in Lens Correction, a “preset” for the unrecognized Nikkor AF; I believe he meant what I finally got around to understanding…]
Both of those options you detailed make sense, Peter.
I can do that.
Where would I find slr-nikon.xml?
Would I need any special tool to edit it?
Lastly, once the edit is in place and saved, would DT pick up the changes when I fire up the app? Or do I have to do anything special?