Notes on using the VideoTool software There are three windows: one for the live video one for the undistorted live image OR file-loaded image one for drawing on and display It's possible to draw on the others, as well, if you'd like. ThreadFunc is the server thread -- right now this server listens on port 5006 -- the only message supported is "q" for quitting. Keyboard key: s - starts/stops the live video f - writes to a file (in ./BMPs and ./BMPsUnd) g - gets an image from a file - (spacebar) rotates through the images in ./VideoBMPs r - detect red (toggle) - decrements the "blueValue" variable = increments the "blueValue" variable Mouse: click on the Undistorted image to get x,y r,g,b h,s,v data Global variables are OK: useful for sharing information among different parts of the program -- particularly because all of the image processing should be in the main thread! Functions you'll need to write for Hw#4: // converts RGB to HSV RGBtoHSV( double r, double g, double b, double* h, double* s, double* v); // finds and displays information on the red molding processRed( IplImage* frame, IplImage* f_p );