shenhao,
I see that you are still stuck with your fiber optic problem
😉First thing to do is always to improve the original image. Start from the previous file (bh1.bmp) and increase the dynamic of the image. This will facilitate later operations. One way of doing that is to create a mask then to equalize the image, before applying a series of basic operations (gaussian smothing, edge extraction, thresholding, and so on...
Attached is a script that can be used with Vision assistant, the corresponding vi and the resulting image. It's far from optimum, and probably will not work on all your images. But that could be a starting point.
CC
Chilly Charly (aka CC)