Lens distortion on canon r50 with 18-45mm f/4.5-6.3 IS STM

Hello everyone,

I am new in photography with a canon r50 with the kit lens 18-45mm f/4.5-6.3 and i notice that photos in raw make with 18mm is noticeable distorted, i take the pictures in raw (CR3) and jpg, so the difference between is noticeable.

So I don’t know how to correct the distortion correctly, I was trying some options and searching, one indicated to use the “from metadata” option of the “flat-field” option but it comes out disabled.
Then I found within the “lens/geometry” section the “profiled lens correction” option but my camera appears but not the lens. Is there a way to do the lens correction correctly?

Oh and I added the canon r50 camera to camconst.json because it didn’t appear and since it was the canon eos r10 which is supposed to be the same sensor as the r50 I did a caption/paste and changed the name. I don’t know if that will be correct. :sweat_smile:

Thanks

Hi @Patricio_Jara, welcome to Pixls!

The Flat-Field tool is used to correct vignetting. The automatic and manual options of Profiled Lens Correction use Lensfun correction parameters. The 18-45mm lens was added somewhat recently to Lensfun, so you may need to fetch the latest data. For Windows and Linux, the instructions are here: Lens/Geometry - RawPedia. You may need to adapt the steps to fit your setup.

Cameras with the same sensor can have different color filters. You have to be careful about the dcraw_matrix. In this case, the R50 and R10 are identical, so you can safely use the same data from the R10.