Lens Correction?

tsiwt's icon

hello Max Msp Community, I am wondering how to do lens correction directly to the jit.qt.grab input?

basically I have a camera very low looking upwards I want to make the image that the camera is looking at FLAT for further analysis and interactivity.

I am using Max5

gerardo.pellicer's icon

There is an object from Flock Vision Toolkit, named lens_correction. Maybe that helps.

Gerardo

tsiwt's icon

thx gerardo, I have tried this and i was looking for an alternative...

anyone else knows how I could make a camera correction patch>?

Pedro Santos's icon

Maybe you could build a distortion matrix and process the webcam video with jit.repos or the slab (OpenGL) equivalent...

tsiwt's icon

thx santos Ill try the Jit.Repos

is the slab method you suggest coding a shader?