in this program, I implemented the method of the article " Image processing method for multicore fiber geometric parameters" you can find this article in https://www.sciencedirect.com/science/article/pii/S1068520016300098
This program divided into four Steps:
- 1- Image pre-processing (filter and remove noise)
- 2- Image segmentation
- 3- Image edge detection
- 4- fitting and calculate
In the process of segmentation, the key is the selection of threshold ‘T’. then choose a suitable threshold ‘T’, and the image segmentation can be described by the following formula :
this is the best threshold
The Result: