Hostname: page-component-74656f9884-kv2lp Total loading time: 0 Render date: 2026-11-06T00:39:41.480Z Has data issue: false hasContentIssue false

Comparing shape descriptor methods for different color space and lighting conditions

Published online by Cambridge University Press:  04 December 2019

Abhishek Mukhopadhyay*
Affiliation:
Indian Institute of Science, Centre for Product Design and Manufacturing, Bengaluru, India
Imon Mukherjee
Affiliation:
Indian Institute of Information Technology, Kalyani, Computer Science and Engineering, Nadia, West Bengal, India
Pradipta Biswas
Affiliation:
Indian Institute of Science, Centre for Product Design and Manufacturing, Bengaluru, India
*
Author for correspondence: Abhishek Mukhopadhyay, E-mail: abhishek.gmit@gmail.com
Rights & Permissions [Opens in a new window]

Abstract

Detecting and recognizing objects is one of the most important uses of vision systems in nature and is consequently highly evolved. This paper aims to accurately detect an object using its shape and color information from a complex background. In particular, we evaluated our algorithm to detect 19 different integrated circuits (IC) from 10 different printed circuit boards (PCB) of different colors. We have compared three different shape descriptors for four different color space models. We have evaluated shape detection algorithms in different lighting conditions (indoor, outdoor, and controlled light source) to find suitable illumination for image acquisition. We undertook statistical hypothesis testing to find the effect of color space models and shape descriptors on the accuracy, false positive and false negative rates. While measuring accuracy, we have noted that L*a*b* color space is significantly worse, and the best result is obtained in YCbCr color space using bounding box shape descriptors for 2500 Lux using LED.

Information

Type
Research Article
Copyright
Copyright © Cambridge University Press 2019
Figure 0

Fig. 1. Schematic diagram of light and camera setup.

Figure 1

Fig. 2. PCB assembly aid.

Figure 2

Fig. 3. Accuracy of the algorithm under various lighting conditions.

Figure 3

Fig. 4. Pictorial flow diagram for orientation checking of a transistor.

Figure 4

Fig. 5. Number of frames processing persecond against frame resolution.

Figure 5

Fig. 6. Time required by different components to process in 1280 × 760 frame resolution.

Figure 6

Fig. 7. Time required by different components to process in 1280 × 760 frame resolution.

Figure 7

Fig. 8. Image segmentation using Otsu's method.

Figure 8

Fig. 9. Applying threshold based on histogram settings and output of thresholding. (a,d) Input RGB images; (b,e) histogram sliders are used to select colors associated with each histogram (YCbCr image); and (c,f) output binary image.

Figure 9

Fig. 10. Different preprocessing steps for object detection in the CMY color space. (a) RGB color image is converted to the CMY color space; (b) segmentation process using a fixed threshold value; (c) applying morphological processing (erosion followed by dilation); and (d) small unwanted objects are eliminated using filtering methods. Connected components above the threshold value are remaining in the final image.

Figure 10

Fig. 11. Evaluation of the algorithm on a different type of board.

Figure 11

Fig. 12. Evaluation charts of our algorithm. F1 score and average false positive and false negative rate are calculated in different color space model. Object detection is implemented and experienced using difference shape descriptors. Here, we have shown the performance of the bounding box.

Figure 12

Fig. 13. Comparing different color models for F1 score.

Figure 13

Fig. 14. Average false positive rate in different color space models.