Measuring Curved Surfaces for Robot Vision