Lens profile distorting images in ON1
Is anyone else experiencing issues where ON1 2019.5 select the wrong lens profile and even when I select the right one it's still far from perfect.
This is really strange as I was recommended to try another (free) software product and everything was perfect.
The other software automatically identified my camera Panasonic TZ200 (ZS200 in US) and applied lens corrections perfectly at both the wide and telephoto ends of the zoom. The other software uses LensFun for profiles which is the same source as ON1.
ON1 thinks my camera is a TZ100 and images are really distorted especially at the telephoto end.
Even if I change the lens profile to ZS200 the image is still showing distortion.
I have contacted ON1 technical support without much success so far.
I'd be very disappointed if I have to stop using ON1 as I've invested a lot of time in learning the software. But I am finding that I use my TZ200 quite a bit more these days than my Canon 80D as it's always with me.
-
I’d be happy for ON1 to recognise my TZ100, but it ignores it and I always have to manually adjust it. The same for my FZ2000. I came to the conclusion that the UK designation for these cameras is not in its database and only the US ones are recognised.
0 -
Raymond, if you think that's a possibility, make sure On1 knows so that they can look into it.
1 -
Take a look at how the lens is identified (the spelling) in the EXIF data and how it is spelled in the lens list. If there is a difference in spelling the program cannot identify it properly. Send a copy of the raw image along with both spellings to tech support and it will be fixed in the next release.
0 -
It may be something with the ON1 process as the lens database supplied with ON1 Photo RAW 2019.5 clearly shows both. The XML in the database is:
<camera>
<maker>Panasonic</maker>
<model>DC-ZS200</model>
<!-- North American version of TZ200 -->
<mount>panasonicZS200</mount>
<cropfactor>2.73</cropfactor>
</camera><camera>
<maker>Panasonic</maker>
<model>DC-TZ200</model>
<!-- International version of ZS200 -->
<mount>panasonicZS200</mount>
<cropfactor>2.73</cropfactor>
</camera>0 -
What does the image's meta data show for the lens name? If it isn't exactly "panasonicZS200" it won't be found in the lens database. You should send a copy of one of your images to support so they can get it corrected.
0 -
The model is under the model tag and, being a point and shoot, the lens is fixed not removable.
0 -
Support still needs to know about it so that they can fix it. To do that they will need a copy of one of your images.
0 -
Here is a list of the Panasonic fixed lenses supported by LensFun who supply ON1 with their information:
It would appear that the culprit is Lensfun who, for whatever reason, do not support these popular Lumix cameras.
0 -
It does seem to be supported in the database as the XMl is there:
<lens>
<maker>Panasonic</maker>
<model>DC-ZS200 & compatibles</model>
<model lang="en">fixed lens</model>
<model lang="de">festes Objektiv</model>
<mount>panasonicZS200</mount>
<cropfactor>2.73</cropfactor>
<calibration>
<distortion model="ptlens" focal="8.8" a="0.01179" b="-0.06921" c="-0.0185"/>
<distortion model="ptlens" focal="13.1" a="-0.00379" b="-0.00137" c="-0.02478"/>
<distortion model="ptlens" focal="22" a="-0.01171" b="0.0359" c="-0.03572"/>
<distortion model="ptlens" focal="27.9" a="-0.01325" b="0.03649" c="-0.02719"/>
<distortion model="ptlens" focal="41" a="0.01372" b="-0.07051" c="0.09427"/>
<distortion model="ptlens" focal="50.5" a="-0.01" b="0.00957" c="0.00686"/>
<distortion model="ptlens" focal="62.9" a="-0.02798" b="0.08174" c="-0.08248"/>
<distortion model="ptlens" focal="85.1" a="-0.03948" b="0.11214" c="-0.11692"/>
<distortion model="ptlens" focal="119.3" a="-0.0085" b="0.00645" c="-0.00873"/>
<distortion model="ptlens" focal="132" a="0.00886" b="-0.04613" c="0.03016"/>
<tca model="poly3" focal="8.8" vr="1.0001106" vb="1.0002113"/>
<tca model="poly3" focal="23.1" vr="1.0000646" vb="1.0001836"/>
<tca model="poly3" focal="36.4" vr="0.9999912" vb="1.0001627"/>
<tca model="poly3" focal="75.2" vr="0.9998894" vb="1.0000325"/>
<tca model="poly3" focal="109.7" vr="0.9998627" vb="0.9998566"/>
<tca model="poly3" focal="132" vr="0.9998288" vb="0.9999032"/>
</calibration>
</lens>But the DMC-TZ100 is directly before it in the list so it just may be picking up the wrong lens specs.
0 -
From ON1's own website [https://on1help.zendesk.com/hc/en-us/articles/360019689111-Supported-Lens-Correction-Profiles-ON1-Photo-RAW-2019-], this is the list of supported lenses for 2019.5:
0 -
Yes, it is supported but not properly identified. Send a file to support so they can get it fixed. Repeating the same thing over and over here isn't going to accomplish anything to get it fixed.
0 -
I have sent the files to ON1 several days ago.
My camera is picked up perfectly in the other software I use which is also based on LensFun. I'm therefore fairly sure the problem is with ON1 and not LensFun.Anyway I still have an open ticket with ON1 but will have to use the other software until there is a fix.
0 -
Yeah, obviously something amiss somewhere. And good to get a few opinions. Not a huge problem but hopefully it will get sorted soon
0 -
You all are much too kind. There are popular lenses and cameras that have been on the street for over a year, which are not reflected in the LensFun database. An easy example, I submitted a Canon SW50 HS image sample set early last year that still isn't included. A couple more obvious ones: Tamron and Sigma 100-400..... ON1 wants to play with the big boys, but they have a long way to go and "crash and burn 2019.5" is a perfect example.
0 -
Still waiting for ON1 Tech support to get back to me. ON1 seems to have exactly the same LensFun XML files as Darktable. Darktable works ON1 doesn't. I don't understand why. Is there an edit I can do in the XML files to make ON1 work?
Anyone know how ON1 uses the LensFun XML or do they simply hard code in their database and get it wrong?
0 -
Sounds like I have to wait for a fix
<QUOTE>
We do not have an immediate solution to the problem you have reported and your ticket is being investigated further by our dev team based on your comments.
I have no ETA for a potential fix for the issue.<UNQUOTE>
They did offer me a refund but I have invested too much time in learning ON1 and overall do like it so I will persevere manually changing camera and lens on each photo.
If anyone could help with a workaround I'd love to hear from them
0 -
Hi Stefan,
Can you please share a sample raw file so that I can look into it?
0 -
Hi Thaddaeus,
Happy to share a sample raw file here
0 -
Hi Stefan,
Thanks for the file. Photo RAW identifies the camera as the TZ100 as you said so you'll need to log a support call to get ON1 to fix it. Nothing wrong with the profile for the TZ200, I could copy it over to darktable and it will identify the file as belonging to a TZ200 and apply the corrections accordingly.
For Photo RAW I had to manually change the lens ID to Panasonic->DC-ZS200. Unfortunately Photo RAW uses a binary file (on the macOS) ~/Library/Application Support/ON1/ON1 Photo RAW 2019/camera_spec.jsn for the lens ID and lookup which I don't know the format of.
I exported the results from darktable, Photo RAW and DXO Photolab 2 and the corrected images were comparable to me. Of course that's only 1 focal length that you shared. https://www.dropbox.com/s/k7q7s09z593iy09/P1001599.zip?dl=0
I have a hack for you so that you don't have to change the lens profile for each image one-by-one. Go to the folder ~/Library/Application Support/ON1/ON1 Photo RAW 2019/lensdb/ and rename the file compact-panasonic.xml to compact-panasonic.xml.bak and save the file below to the same directory. What I did was overwrite the corrections for the TZ100 with the ones from the TZ200. Photo RAW will still identify the files as TZ100 and apply the correction as Leica->TZ100 but at least it is the right ones for the TZ200. This is not supported by ON1 so you do this at your own risk.
https://www.dropbox.com/s/1ok9ps5uimrn6xw/compact-panasonic-TZ100-spoofed.xml?dl=0
A somewhat "cleaner" solution is to copy/paste lens correction profile from 1 image to multiple images but that doesn't work. The lens id is copied across but correction doesn't happen unless you change the lens make/model dropdown box to something else and back. I have a support call open with ON1 for that.
Which other free software did you use that had better corrections? If that software uses xml files without obfuscating the file, you could copy their corrections for Photo RAW.
0 -
Hi Thaddaeus,Many thanks for providing that XML file. That's going to save me a lot of time.I did try editing the XML before your reply but could not get it to work. Your method solves the problem.Still one puzzle though. At the wide end of my lens, there is still some slight distortion in ON1 even using the correct lens profile. I am not seeing this distortion in darktable which as you know uses the same LensFun source. Do you have any idea why ON1 is getting this wrong?0
-
This is a sample image with the lens at the wide end https://1drv.ms/u/s!AuHNj330s4OslnrBjD-537P5M98d?e=O643TI
0 -
Hi Stefan,
I think the problem is the wrong lens selection by Photo RAW, the TZ100 is not as wide as the TZ200 and slightly different crop. I changed the crop factor in the "wide" profile to compensate.
Save the attached file to your Photo RAW lensdb directory and test out the profile for Panasonic->Wide ZS-200.
https://www.dropbox.com/s/lmup90s4lz2fum1/TK-compact-panasonic-TZ200.xml?dl=0
If the adjusted crop factor is suitable across all your focal ranges, edit the spoofed TZ100 profile accordingly. The crop factor is set at 2.85, but 2.90 looked nicer to me on the wide end but over corrected on the tele photo you sent me. Perhaps somewhere in the middle :)
Have you logged a support ticket with ON1? Once they fix the TZ200 detection you shouldn't need to make these hacks anymore.
ON1 should just take the lens identification algorithm from lensfun as it is instead of playing with binary blobs and stuff like that, they only made things worse. RawTherapee and Dark Table picked up all my profiles without any issues.
0 -
Hi Thaddeus,
Again many thanks for your expert assistance and the effort you have put in to help me find a workaround.I have edited the xml file as per your suggestion and the crop factor at 2.85 seems fine to me at both wide and long end.
Happy to live with this till ON1 come up with a permanent fix to this bug.I did raise this with ON1 and this is the response I received.
<QUOTE>
We do not have an immediate solution to the problem you have reported and your ticket is being investigated further by our dev team based on your comments.
I have no ETA for a potential fix for the issue</UNQUOTE>
I will update the ON1 ticket with a link to this thread and summarise the issue:
RawTherapee and Dark Table picked up all my camera profile without any issues.
RawTherapee and Dark Table use the same LensFun XML files as ON1 "compact-panasonic.xml"
Not only does ON1 not pick the right profile but even if I manually select the correct profile there is still distortion in the image which does not exist in RawTherapee and Dark Table.Further, if I save lens corrections to a style, in ON1 these do not replicate the settings to another photo.
0 -
Hi Stefan,
Glad that the workaround worked out for you. Yes, that's the standard response from support, I have a few of those :)
Here's another bug and workaround to round this thread off. Photo RAW writes the Lens and Lens model exif data on the exported jpg files with the info it detected automatically, not based on what you select on the lens distortion field. I've raised this with support.
For your case, the exif on the exported jpg will show "DMC-TZ100 & compatibles", a quick and dirty fix is to use exiftool to rewrite the tags.
exiftool -lensmodel="DMC-TZ200 & compatibles" -lens="DMC-TZ200 & compatibles" *.jpg
Quick and dirty because the original raw file doesn't have lens info in them (being a fixed lens camera I suppose). The "proper" way to do this s to copy the exif data from the source raw into the exported jpg as per Phil Harvey's post at the thread http://u88.n24.queensu.ca/exiftool/forum/index.php?topic=7337.0
0 -
Hi Thaddaeus,
Thanks for the info about changing the exif in jpegs. Not sure it's something I'd worry about.
I don't think I would ever need to look at the exif in an exported jpeg, I'd always go back to the original files. Also I am shooting with a Canon 80D and my mobile phone and could be exporting all three at the same time so changing exif could get messy.0
Please sign in to leave a comment.
Comments
25 comments