Call for extended CR3 samples (all ISO combinations needed)

you might try adding this to your .local/share/lensfun/updates/version_1/slr-canon.xml

addition to lr-canon.xml
<lens>
    <maker>Canon</maker>
    <model>Canon EF 100-400mm f/4.5-5.6L IS II USM</model>
    <mount>Canon EF</mount>
    <cropfactor>1</cropfactor>
    <calibration>
        <distortion model="ptlens" focal="100" a="-0.00104" b="-0.00264" c="-0.00045"/>
        <distortion model="ptlens" focal="135" a="-0.0049" b="0.0167" c="-0.02249"/>
        <distortion model="ptlens" focal="200" a="0.00118" b="-0.00395" c="0.00649"/>
        <distortion model="ptlens" focal="300" a="-0.0007" b="0.00406" c="-0.00001"/>
        <distortion model="ptlens" focal="400" a="-0.00355" b="0.01547" c="-0.00989"/>
        <tca model="poly3" focal="100" vr="1.0000577" vb="1.0001939"/>
        <tca model="poly3" focal="135" vr="1.0000274" vb="1.0001208"/>
        <tca model="poly3" focal="200" vr="0.9999920" vb="1.0000585"/>
        <tca model="poly3" focal="300" vr="0.9999717" vb="1.0000282"/>
        <tca model="poly3" focal="400" vr="0.9999391" vb="1.0000137"/>
        <vignetting model="pa" focal="100" aperture="4.5" distance="10" k1="-0.5317" k2="0.5776" k3="-0.3664"/>
        <vignetting model="pa" focal="100" aperture="4.5" distance="1000" k1="-0.5317" k2="0.5776" k3="-0.3664"/>
        <vignetting model="pa" focal="100" aperture="5.6" distance="10" k1="-0.0722" k2="-0.1684" k3="0.0856"/>
        <vignetting model="pa" focal="100" aperture="5.6" distance="1000" k1="-0.0722" k2="-0.1684" k3="0.0856"/>
        <vignetting model="pa" focal="100" aperture="8" distance="10" k1="-0.0761" k2="0.1610" k3="-0.0549"/>
        <vignetting model="pa" focal="100" aperture="8" distance="1000" k1="-0.0761" k2="0.1610" k3="-0.0549"/>
        <vignetting model="pa" focal="100" aperture="11" distance="10" k1="-0.0852" k2="0.1859" k3="-0.0727"/>
        <vignetting model="pa" focal="100" aperture="11" distance="1000" k1="-0.0852" k2="0.1859" k3="-0.0727"/>
        <vignetting model="pa" focal="100" aperture="16" distance="10" k1="-0.0933" k2="0.2109" k3="-0.0895"/>
        <vignetting model="pa" focal="100" aperture="16" distance="1000" k1="-0.0933" k2="0.2109" k3="-0.0895"/>
        <vignetting model="pa" focal="100" aperture="22" distance="10" k1="-0.0867" k2="0.1789" k3="-0.0637"/>
        <vignetting model="pa" focal="100" aperture="22" distance="1000" k1="-0.0867" k2="0.1789" k3="-0.0637"/>
        <vignetting model="pa" focal="100" aperture="32" distance="10" k1="-0.0870" k2="0.1814" k3="-0.0657"/>
        <vignetting model="pa" focal="100" aperture="32" distance="1000" k1="-0.0870" k2="0.1814" k3="-0.0657"/>
        <vignetting model="pa" focal="135" aperture="5" distance="10" k1="-0.4238" k2="0.0814" k3="-0.0255"/>
        <vignetting model="pa" focal="135" aperture="5" distance="1000" k1="-0.4238" k2="0.0814" k3="-0.0255"/>
        <vignetting model="pa" focal="135" aperture="5.6" distance="10" k1="-0.0894" k2="-0.3342" k3="0.1694"/>
        <vignetting model="pa" focal="135" aperture="5.6" distance="1000" k1="-0.0894" k2="-0.3342" k3="0.1694"/>
        <vignetting model="pa" focal="135" aperture="8" distance="10" k1="-0.0684" k2="-0.0132" k3="0.0366"/>
        <vignetting model="pa" focal="135" aperture="8" distance="1000" k1="-0.0684" k2="-0.0132" k3="0.0366"/>
        <vignetting model="pa" focal="135" aperture="11" distance="10" k1="-0.0697" k2="-0.0032" k3="0.0280"/>
        <vignetting model="pa" focal="135" aperture="11" distance="1000" k1="-0.0697" k2="-0.0032" k3="0.0280"/>
        <vignetting model="pa" focal="135" aperture="16" distance="10" k1="-0.0687" k2="-0.0032" k3="0.0253"/>
        <vignetting model="pa" focal="135" aperture="16" distance="1000" k1="-0.0687" k2="-0.0032" k3="0.0253"/>
        <vignetting model="pa" focal="135" aperture="22" distance="10" k1="-0.0713" k2="0.0012" k3="0.0244"/>
        <vignetting model="pa" focal="135" aperture="22" distance="1000" k1="-0.0713" k2="0.0012" k3="0.0244"/>
        <vignetting model="pa" focal="135" aperture="32" distance="10" k1="-0.0598" k2="-0.0316" k3="0.0472"/>
        <vignetting model="pa" focal="135" aperture="32" distance="1000" k1="-0.0598" k2="-0.0316" k3="0.0472"/>
        <vignetting model="pa" focal="200" aperture="5" distance="10" k1="-0.4423" k2="-0.0793" k3="0.0938"/>
        <vignetting model="pa" focal="200" aperture="5" distance="1000" k1="-0.4423" k2="-0.0793" k3="0.0938"/>
        <vignetting model="pa" focal="200" aperture="5.6" distance="10" k1="0.0269" k2="-0.7742" k3="0.3792"/>
        <vignetting model="pa" focal="200" aperture="5.6" distance="1000" k1="0.0269" k2="-0.7742" k3="0.3792"/>
        <vignetting model="pa" focal="200" aperture="8" distance="10" k1="-0.1523" k2="0.2404" k3="-0.1558"/>
        <vignetting model="pa" focal="200" aperture="8" distance="1000" k1="-0.1523" k2="0.2404" k3="-0.1558"/>
        <vignetting model="pa" focal="200" aperture="11" distance="10" k1="-0.1181" k2="0.1141" k3="-0.0424"/>
        <vignetting model="pa" focal="200" aperture="11" distance="1000" k1="-0.1181" k2="0.1141" k3="-0.0424"/>
        <vignetting model="pa" focal="200" aperture="16" distance="10" k1="-0.1128" k2="0.0962" k3="-0.0307"/>
        <vignetting model="pa" focal="200" aperture="16" distance="1000" k1="-0.1128" k2="0.0962" k3="-0.0307"/>
        <vignetting model="pa" focal="200" aperture="22" distance="10" k1="-0.1138" k2="0.0876" k3="-0.0246"/>
        <vignetting model="pa" focal="200" aperture="22" distance="1000" k1="-0.1138" k2="0.0876" k3="-0.0246"/>
        <vignetting model="pa" focal="200" aperture="32" distance="10" k1="-0.1122" k2="0.0816" k3="-0.0175"/>
        <vignetting model="pa" focal="200" aperture="32" distance="1000" k1="-0.1122" k2="0.0816" k3="-0.0175"/>
        <vignetting model="pa" focal="200" aperture="36" distance="10" k1="-0.0980" k2="0.0412" k3="0.0059"/>
        <vignetting model="pa" focal="200" aperture="36" distance="1000" k1="-0.0980" k2="0.0412" k3="0.0059"/>
        <vignetting model="pa" focal="300" aperture="5" distance="10" k1="-0.3212" k2="-0.8003" k3="0.5791"/>
        <vignetting model="pa" focal="300" aperture="5" distance="1000" k1="-0.3212" k2="-0.8003" k3="0.5791"/>
        <vignetting model="pa" focal="300" aperture="5.6" distance="10" k1="-0.3104" k2="-0.7014" k3="0.5011"/>
        <vignetting model="pa" focal="300" aperture="5.6" distance="1000" k1="-0.3104" k2="-0.7014" k3="0.5011"/>
        <vignetting model="pa" focal="300" aperture="8" distance="10" k1="0.0814" k2="-0.6119" k3="0.2428"/>
        <vignetting model="pa" focal="300" aperture="8" distance="1000" k1="0.0814" k2="-0.6119" k3="0.2428"/>
        <vignetting model="pa" focal="300" aperture="11" distance="10" k1="-0.1490" k2="0.2713" k3="-0.2516"/>
        <vignetting model="pa" focal="300" aperture="11" distance="1000" k1="-0.1490" k2="0.2713" k3="-0.2516"/>
        <vignetting model="pa" focal="300" aperture="16" distance="10" k1="-0.1043" k2="0.0510" k3="-0.0076"/>
        <vignetting model="pa" focal="300" aperture="16" distance="1000" k1="-0.1043" k2="0.0510" k3="-0.0076"/>
        <vignetting model="pa" focal="300" aperture="22" distance="10" k1="-0.1058" k2="0.0494" k3="-0.0056"/>
        <vignetting model="pa" focal="300" aperture="22" distance="1000" k1="-0.1058" k2="0.0494" k3="-0.0056"/>
        <vignetting model="pa" focal="300" aperture="32" distance="10" k1="-0.1131" k2="0.0536" k3="-0.0066"/>
        <vignetting model="pa" focal="300" aperture="32" distance="1000" k1="-0.1131" k2="0.0536" k3="-0.0066"/>
        <vignetting model="pa" focal="300" aperture="36" distance="10" k1="-0.1104" k2="0.0327" k3="0.0117"/>
        <vignetting model="pa" focal="300" aperture="36" distance="1000" k1="-0.1104" k2="0.0327" k3="0.0117"/>
        <vignetting model="pa" focal="400" aperture="5.6" distance="10" k1="-0.4438" k2="-0.5109" k3="0.3846"/>
        <vignetting model="pa" focal="400" aperture="5.6" distance="1000" k1="-0.4438" k2="-0.5109" k3="0.3846"/>
        <vignetting model="pa" focal="400" aperture="8" distance="10" k1="-0.0108" k2="-0.8651" k3="0.5329"/>
        <vignetting model="pa" focal="400" aperture="8" distance="1000" k1="-0.0108" k2="-0.8651" k3="0.5329"/>
        <vignetting model="pa" focal="400" aperture="11" distance="10" k1="-0.0439" k2="-0.0794" k3="-0.0897"/>
        <vignetting model="pa" focal="400" aperture="11" distance="1000" k1="-0.0439" k2="-0.0794" k3="-0.0897"/>
        <vignetting model="pa" focal="400" aperture="16" distance="10" k1="-0.0948" k2="0.0159" k3="0.0036"/>
        <vignetting model="pa" focal="400" aperture="16" distance="1000" k1="-0.0948" k2="0.0159" k3="0.0036"/>
        <vignetting model="pa" focal="400" aperture="22" distance="10" k1="-0.0909" k2="-0.0043" k3="0.0231"/>
        <vignetting model="pa" focal="400" aperture="22" distance="1000" k1="-0.0909" k2="-0.0043" k3="0.0231"/>
        <vignetting model="pa" focal="400" aperture="32" distance="10" k1="-0.1076" k2="0.0198" k3="0.0116"/>
        <vignetting model="pa" focal="400" aperture="32" distance="1000" k1="-0.1076" k2="0.0198" k3="0.0116"/>
        <vignetting model="pa" focal="400" aperture="40" distance="10" k1="-0.1137" k2="0.0161" k3="0.0167"/>
        <vignetting model="pa" focal="400" aperture="40" distance="1000" k1="-0.1137" k2="0.0161" k3="0.0167"/>
    </calibration>
</lens>
<lens>

@MStraeten Where did that come from? should we include it in the official lensfun db?

I measured my lens - at least the lensfun calibrate.py was ok.
I made a pr #1434 at lensfun.

Thanks. The issue is that there is already a profile for that lens, but taken with an APS-C crop factor. I’m not sure that we can have both. Will have to look into whether we can replace the existing profile with yours. The danger is that is could affect people’s existing edits. However, I’m not sure why there would be a crop profile for a full frame lens – you can’t really extrapolate it to full frame, whereas in the other direction…

There can be both because the crop facto is taken into account - as far as i know

I don’t see the Canon M200 in the list, and I can supply some samples.

Wow, I haven’t even seen M200 anywhere :wink:

Yes - please send full iso set if you can, it would be appreciated :slight_smile:

Sorry for the delay. I’ve shot an scene with a lot of light. Hope it is enough. If something is wrong, please say it and I will reupload it.

I don’t own a lens other than the provided with the kit. It is an EF-M 15-45 IS STM, so I can’t test the result with crop mode.

File: https://1drv.ms/u/s!AmXnNRtma8wsgR0n4ALFbE5Gnaa8?e=GXwnVm

1 Like

That’s a full set, thanks! M200 doesn’t have “crop” mode as it’s already APS-C :slight_smile:

1 Like

Now that 3.6 is out, DT can recognise .CR3 files, but not process them.

I understand that it didn’t make the cut for 3.6, but with a fresh compile from github, and inclusion of Cytrinox’s module is it possible?

Could anyone write out a simple list of commands to do this?

You need to have exiv2 with BMFF support installed on your machine, this means using the one from your distro or compiling it yourself. Needs at least 0.27.4.

You need to clone darktable source including the submodules and replace the rawspeed submodule with the one from here: GitHub - cytrinox/rawspeed at canon_cr3

Afterwards just compile darktable as you normally would and it should be fine

Two things I am unsure about:

  1. What are the commands to grab the cytrinox submodule and replace rawspeed?

  2. The exiv2 readme is still saying there might be IP issues and so darktable will have to enable bmff support at run-time by calling the following function.
    EXIV2API bool enableBMFF(bool enable);

How do I do this when starting darktable?

you don’t have to care about point 2. it’s done in code.

Just curious if there is any further development regarding CR3 and Darktable?

Which OS are you using and for what camera?

Linux (Kubuntu) - Canon EOS R

yes there is :slight_smile: currently CR3 are supported via libraw and if i’m not mistaken too much it’ll be available soon via librawspeed

Just got my R3 a little while ago. I hope these work for you.

https://drive.google.com/file/d/1BH2HMqHvjLtVo2S_Nnf8selIOTa_V-5p/view?usp=sharing

Please upload at https://raw.pixls.us/ and follow the instructions over there.

When you are done, then create a camera request here https://github.com/darktable-org/darktable/issues/new/choose

Also lclevy, but that has not to do with darktable, would like to have some samples https://github.com/lclevy/canon_cr3

Sorry, I’ve seen the link is down. I post the same set here, just FTR: