This OpenCV based program has been designed to measure the internal diameter of rings using a web camera. Before the measurement the system should be calibrated using a checkered picture.
Calibration is required for two purposes:
- Finding relation between pixel measure and real world distance.
- Compensation of camera distortion.
After internal ring contour recognition, it is approximated to a circle using the LMS method. The diameter of the circle is the measured value.
OpenCV, opencvsharp, C#, image processing, camera calibration, ring measurement, обработка изображений, калибровка камеры, измерение диаметра кольца.