greyscale image from camera issue solved; first image from camera is often NULL causing cvCvtColor function to fail