Is it possible to pass through live cam input and send the corrected one to Pd immediately?
You can translate the matlab code to a pixel shader or try to modify an existing shader (e.g. https://www.shadertoy.com/results?query=lens%20distortion&sort=popular&from=0&num=12).

Christof

On 09.07.2020 20:36, Csaba Láng wrote:
Dear list,

I have found an app on Matlab, which can handle any lens distortion with a fisheye lens.
https://uk.mathworks.com/help/vision/camera-calibration-and-3-d-vision.html
My camera would send the image through the matlab app to have a flat image which I would like to send to GEM and analize with the pix_movement if there are any changes between the frames.

Did anyone try it before? Is it possible to pass through live cam input and send the corrected one to Pd immediately?

Hope someone has a good idea or made it before.

All the best,

Popesz

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list