You can't rely on the loop being executed every 10ms, it's bound to change as you put in more code (especially image processing). If you wanted to do something every 200ms, you might do something like this:
Code:
import edu.wpi.first.wpilibj.Timer;
public void operatorControl() {
double time = Timer.getFPGATimestamp();
while(isEnabled() && isOperatorControl()) {
if (Timer.getFPGATimestamp() - time >= 0.2) {
// CAMERA IMAGE PROCESSING HERE
time = Timer.getFPGATimestamp();
}
// OTHER CODE HERE
}
}