This CR2 file stores raw data with "Lens distortion" (Rectilinear warp, Fisheye warp) - Straight lines (which don't go through the center) are not straight - https://i.imgur.com/pzErgWp.jpg.
When this CR2 image is converted into a DNG image with Adobe tool, the distortion parameters are added to the DNG file (in form of Opcode - WarpRectilinear), which allow the DNG viewer to "straighten" the image (when you convert this image to DNG and open it e.g. in Photopea.com, lines are straightened according to the Opcode - https://i.imgur.com/ZA9J4S3.png).
Do you thing such distortion parameters are present in a CR2 file (or could they be computed from the present parameters)? Or an extra database of lenses and their parameters is needed?
This CR2 file stores raw data with "Lens distortion" (Rectilinear warp, Fisheye warp) - Straight lines (which don't go through the center) are not straight - https://i.imgur.com/pzErgWp.jpg.
When this CR2 image is converted into a DNG image with Adobe tool, the distortion parameters are added to the DNG file (in form of Opcode - WarpRectilinear), which allow the DNG viewer to "straighten" the image (when you convert this image to DNG and open it e.g. in Photopea.com, lines are straightened according to the Opcode - https://i.imgur.com/ZA9J4S3.png).
Do you thing such distortion parameters are present in a CR2 file (or could they be computed from the present parameters)? Or an extra database of lenses and their parameters is needed?