So, I am capturing a video from a cheap usb web-cam. I then compute optic flow from this feed. I am finally using these optic-flow measurements for (monocular) robot navigation. I have calibrated my camera and have the intrinsic and distortion parameters in two separate xml files. My question is, how do I use these parameters in my video capture code now. If somebody could please show this using a code/pueudo-code, that would be very helpful.