Hi Marie-Noelle,<br><br>Sorry for not getting back sooner.. turns out the first few weeks of having a baby is not filled with free time. <br><br>I did a quick try at creating a lens entry for the S100, but so far I am not able to get the digikam distortion correction to work. I get an error "cannot find all lens information.." I'll look into to it further, but if you want to try playing with it, here is what I have so far. <br>
(Note: the numbers I calculated for the distortion could stand to be improved and I'll do a better set of images with finer focal ranges when I get the lensfun library to work at all.)<br><br>I added the following entries to /usr/share/lensfun/compact-canon.xml<br>
<br>    <mount><br>        <name>canonS100</name><br>        <compat>Generic</compat><br>    </mount><br><br>    <camera><br>        <maker>Canon</maker><br>        <model>Canon PowerShot S100</model><br>
        <model lang="en">Canon PowerShot S100</model><br>        <mount>canonS100</mount><br>        <cropfactor>4.6</cropfactor><br>    </camera><br><br>    <lens><br>
        <maker>Canon</maker><br>        <model>Canon PowerShot S100 5.2 - 26.0 mm</model><br>        <mount>canonS100</mount><br>        <cropfactor>4.6</cropfactor><br>        <calibration><br>
            <distortion model="ptlens" focal="5.2" a="-0.021" b="0" c="-0.097" /><br>            <distortion model="ptlens" focal="8.31" a="-0.06" b="0" c="-0.0315" /><br>
            <distortion model="ptlens" focal="13.42" a="-0.002" b="0" c="-0.01" /><br>            <distortion model="ptlens" focal="26.0" a="0" b="0" c="-0.002" /><br>
        </calibration><br>    </lens><br><br>Best,<br>JDR<br><br><div class="gmail_quote">On Thu, Mar 15, 2012 at 3:31 PM, Marie-Noëlle Augendre <span dir="ltr"><<a href="mailto:mnaugendre@gmail.com">mnaugendre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jeremy,<br><br>Did you make some progress on that issue?<br><br>Thanks,<br>Marie-Noëlle<div class="HOEnZb"><div class="h5">
<br><br><div class="gmail_quote">2012/3/8 Jeremy D Rogers <span dir="ltr"><<a href="mailto:jdrogers@northwestern.edu" target="_blank">jdrogers@northwestern.edu</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Aha! I was thinking of looking into distortion correction. The idea was interesting, but I had no immediate need so I never looking very deeply into this. The s100 may be a good excuse to tackle it. If nobody beats me to it, I may take a run at this over the weekend. Thanks for the link, Marie-Noelle.<br>



<br><div class="gmail_quote"><div><div>On Thu, Mar 8, 2012 at 10:16 AM, Marie-Noëlle Augendre <span dir="ltr"><<a href="mailto:mnaugendre@gmail.com" target="_blank">mnaugendre@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Regarding the white balance, you can find here a whole set of pictures taken with different white balances: <a href="http://www.marie-noelle-augendre.com/fichiers/Darktable/" target="_blank">http://www.marie-noelle-augendre.com/fichiers/Darktable/</a><br>






<br>I provided them for the Darktable team to solve the same problem. They managed to correct the white-balance (it is OK now in Darktable RC1 version) but the lens distorsion problem remains.<br>i just got this answer on the DT list:<br>





"Darktable uses Lensfun for lens correction. Apparently lensfun has no correction data for the S100...<br>You can calibrate it yourself:<br><a href="http://lensfun.berlios.de/lens-calibration/" target="_blank">http://lensfun.berlios.de/lens-calibration/</a> "<br>





but I don't think I'll be able to do that. I'd rather someone more tech than I am do it.<span><font color="#888888"><br><br>Marie-Noëlle</font></span><div><br>
<br><br><div class="gmail_quote">
2012/3/8 JD Rogers <span dir="ltr"><<a href="mailto:rogersjd@gmail.com" target="_blank">rogersjd@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





I think that raw view is correct. It is raw, afterall. I wasn't so sure about the magenta tint (when I first read your post, I was thinking there was a dcraw version problem) but that could just be the effect of the white balance. Looking at your photo, it doesn't seem any worse than my test images. The distortion is dramatic for the s100's lens. I was reading about it some before I bought the camera. My understanding is that the in-camera processor corrects the distortion for jpg (and hence for the raw thumbnail preview). But raw is raw. And its pretty dramatic! The camera even has several "creative settings" like fisheye, toy camera, and minature effect that apparently alter how much distortion is corrected. <br>








<br>I hadn't played with raw on this camera much yet, so you've inspired me to look at it more. The distortion depends heavily on the focal length (zoom) of the lens, so the question is weather the digikam distortion correction can be setup to handle it. I just tried the lens auto-correction in the batch queue manager using "meta data" and it failed, but I've never used that before, so I have to play with it more. <br>







<br>I guess the details of this lens must be entered into a lens library? <br>
<br>JDR<div><div><br><br><br></div></div></blockquote></div><br clear="all"><br></div><div><div>-- <br><a href="http://www.marie-noelle-augendre.com/photos/" target="_blank"><img src=""></a><br>



<br>Mes dernières photos sont <a href="http://www.marie-noelle-augendre.com/photos/" target="_blank">dans ma galerie</a>.<br>Retrouvez-moi aussi <a href="http://www.mnaugendre.com/" target="_blank">sur mon blog</a>.<br>Et parcourez les Cévennes à ma façon avec <a href="http://www.cevennes-plurielles.com/" target="_blank">Cévennes Plurielles</a>, <br>






<br>
</div></div><br></div></div><div>_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org" target="_blank">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
<br></div></blockquote></div><br>
<br>_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org" target="_blank">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.marie-noelle-augendre.com/photos/" target="_blank"><img src=""></a><br>

<br>Mes dernières photos sont <a href="http://www.marie-noelle-augendre.com/photos/" target="_blank">dans ma galerie</a>.<br>Retrouvez-moi aussi <a href="http://www.mnaugendre.com/" target="_blank">sur mon blog</a>.<br>Et parcourez les Cévennes à ma façon avec <a href="http://www.cevennes-plurielles.com/" target="_blank">Cévennes Plurielles</a>, <br>


<br>
</div></div><br>_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
<br></blockquote></div><br>