Accuracy analysis of optical-based measurements considering distance, height, and temperature variations | Synapse