Object’s Area Measurement using Image Processing

Authors

  • Riya Gautam Student, Department of Electronics and Communication Engineering, Nirma University, Ahmedabad, Gujarat, India

Keywords:

MATLAB, segmentation, feature extraction, thresholding, calibrating factor, image processing

Abstract

Object measurement holds substantial significance across a wide spectrum of domains, spanning from quality control in manufacturing to applications in healthcare and environmental monitoring. In this study, a method is suggested to detect the object and calculate the area of the given object in real time using MATLAB. Also, comparing the result obtained with the known area and seeing how accurate the area calculated is. The proposed method for detecting objects and calculating the area is reliable and accurate compared to the area calculated is verified with the manual area calculation readings. A methods is suggested without any constraint of the height from which the object is captured. In this method, the object whose area is to be measured is kept on a white backgroung of known area, the backgroud edges are etracted, the image is thresholded such that the white background has pixel value 255 and the object to be measured has pixel value 0, the image is filled and thus the pixels values initially having 0 intensity now possess intensity level of 255, further, the pixel sum is calculated to find out the calibration factor (area per pixel); lastly, the object is extracted from background and the pixel sum of object is multiplied by the calibration factor to obtain its area. The proposed method was evaluated on the two sets of images: (1) rectangular object; and (2) circular object. The authors respond to the crucial requirement for accurate object measurement by presenting a systematic approach that includes image pre-processing, boundary detection, and calibration factor computation. The proposed methodology is rigorously validated through a series of empirical experiments, revealing its efficacy in accurately quantifying objects with an error of 0.02 cm2. This work constitutes a substantial contribution to the field of computer vision, offering a practical and versatile solution for object measurement tasks with broad applications.

References

Gonzalez RC, Woods RE. Digital Image Processing. India: Pearson Education; 2008.

Haralick RM, Shapiro LG. Image segmentation techniques. Comput Vis Graph Image Process. 1985; 29(1): 100–132.

MathWorks. (2022). MATLAB: The Language of Technical Computing. [Online]. Retrieved from https://www.mathworks.com/products/matlab.html

Lü C, Ren H, Zhang Y, Shen Y. Leaf Area Measurement Based on Image Processing. 2010 International Conference on Measuring Technology and Mechatronics Automation, Changsha, China. 2010; 580–582. doi: 10.1109/ICMTMA.2010.141.

Saad MHM, Soon WYW, Shukri MFM, Zaki WMDW, Hussain A. QIMS: An integrated image measurement and management system for engineering and scientific application. 2014 IEEE 10th International Colloquium on Signal Processing and its Applications, Kuala Lumpur, Malaysia. 2014; 292–296. doi: 10.1109/CSPA.2014.6805767.

Zhang D. An Extended Opening Operation and Its Application in Image Processing. In 2008 International Conference on MultiMedia and Information Technology. 2008 Dec; 377–380. doi: 10.1109/MMIT.2008.217.

Zhang D. Extended Closing Operation in Morphology and Its Application in Image Processing. In 2009 International Conference on Information Technology and Computer Science. 2009 Jul; 1: 83–87. doi: 10.1109/ITCS.2009.268.

Salembier P. Structuring element adaptation for morphological filters. J Vis Commun Image Represent. 1992 Jun; 3(2): 115–136. doi: 10.1016/1047-3203(92)90010-Q.

Ziou D, Tabbone S. Edge detection techniques: An overview. International Journal of Pattern Recognition and Image Analysis. 1998 Jan; 4: 537–559.

Mondal R, Dey MS, Chanda B. Image Restoration by Learning Morphological Opening-Closing Network. Mathematical Morphology - Theory and Applications (MMTA). 2020 Jan; 4(1): 87–107. doi: 10.1515/mathm-2020-0103.

Zhao Q, Fan X. Image Thresholding Based on Two-Dimensional Histograms. IEEE Trans Syst Man Cybern, Part B (Cybernetics). 2017; 47(3): 540–551.

Haralick RM, Shapiro LG. Computer and Robot Vision. Boston: Addison-Wesley Publishing Company; 1992.

Lilliefors HW. On the Kolmogorov-Smirnov Test for the Exponential Distribution with Mean Unknown. J Am Stat Assoc. 1967; 62(318): 399–402.

Pratt WK. Digital Image Processing: PIKS Scientific Inside. New York, United States: Wiley-Interscience; 2007.

Published

2023-11-23