| Algorithm 1. Rope-strand segmentation and correction method based on steel wire rope segmentation template. |
|
Inputs: wire rope image , steel wire rope segmentation template Output: with strand edge markers 1: detect ’s edge with FoGDbED detector and get edge image 2: 3: detect edge image with FoGDbED detector 4: Shift distance 1 to get with vector 5: get with Formula (7) and get with Formula (8) 6: 7: while 8: ++; 9: Shift distance to get with vector 10: get with Formula (7) and get with Formula (8) 11: if 12: 13: end if 14: end while 15: 16: return |