Implementation-aware design of image-based control with on-line measurable variable-delay