Although the code is written in Java, the white paper here: (
http://www.chiefdelphi.com/media/papers/2676) is an excellent resource for doing vision processing off-board on the laptop. This code was used by 341 for the past 3 years and it gets the image from the axis camera on robot, and then goes through a series of filters, compressions and other processes and finally displays the image to the Smart Dashboard.