Author Affiliations
School of Computer Science and Engineering, Wuhan Institute of Technology, Wuhan 430205, Hubei , Chinashow less
Fig. 1. Watershed algorithm processing diagrams. (a) Original image; (b) connected region labeled graph; (c) lithium battery area mask image; (d) lithium battery image after interception
Fig. 2. Images of original lithium battery. (a) Nonpolar terminals; (b) polar terminals
Fig. 3. Flow chart of proposed algorithm
Fig. 4. Boundary extraction effect. (a) Original image; (b) Gamma transform; (c) Sobel processing effect;(d) processing effect of proposed algorithm
Fig. 5. Negative straight line region segmentation. (a) Extracted anode boundary; (b) cathode mask; (c) divided straight line part
Fig. 6. Effect of image enhancement。(a) Original image; (b) histogram equalization; (c) adaptive histogram equalization; (d) Gamma transform; (e) multi-scale Retinex enhancement
Fig. 7. Results of extracted cathode lines. (a1)‒(e1) Sobel algorithm; (a2)‒(e2) Canny algorithm; (a3)‒(e3) expanded difference algorithm
Fig. 8. Straight line gradient map and straight line detection result obtained by Hough transform. (a) Straight line gradient map; (b) straight line detection result obtained by Hough transform
Fig. 9. Horizontal projection results. (a) Before threshold processing; (b) after threshold processing
Fig. 10. Measurement results of distance from positive pole to negative pole. (a) Polar terminals; (b) nonpolar terminals