Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - cedricp

Pages: [1]
Tough ! Thank you for the reply. I'll do manual correction.

Here's what I found so far, but seems wrong (or miss parameter(s)) :
sensor_res_x / (sampling_x * raw_res_x) * sensor_crop
where sampling_x = binning_x + skipping_x

example : on EOS-M raw video 1800x754 with 3x3 sampling (3x1 binning) gives a crop factor of 1.56 (!!)

Oh, yes, there is a lot of information, but I don't exactly know how to do the calculus with pixel binning/skipping values...

Yes, I get the sensor crop factor (1.62 on EOS-M) via (mlv_oject*)->RAWC.sensor_crop, what I'd like to get is the crop factor when the captured image data doesn't fill the entire sensor (in crop mode)

Raw Video / Calculate final sensor crop from MLV video data (in crop mode)
« on: November 16, 2021, 09:52:31 AM »

I'm writing a little application to play with my EOS-M footages and I need to calculate the final crop sensor (if crop rec is enabled), the goal is to give the correct information to the LensFun library to do lens undistortion and exposition correction. I tried to find a way with pixel binning params, but not sure how to handle it properly.

Thank you

Pages: [1]