Abstract
The extraction of accurate geometric measurements from images normally requires the use of metric cameras and stereoscopic observations. However, as good-quality digital cameras are widely available in mobile devices (smartphones, tablets), there is great interest to develop alternative approaches, suitable for these devices. This paper presents a methodology to compute the surface area and volume of a spheroid-shaped object, such as many types of fruit, from a single image acquired by a standard (non-metric) camera and a basic calibration target. An iterative process is used to establish a 3D spheroid out of the observed 2D ellipse, after which auxiliary images of height, resolution and surface area of each pixel on the 3D object surface are created. The method was tested with a data set of 2400 images, of 10 different objects, 2 calibration targets, 2 cameras and 2 mark types. The average relative errors (\(<\delta>\)) in establishing the 3D object semi-diameters were 0.863% and 0.791%. The semi-diameters are used to compute the object’s surface area (\(<\delta>\) = 1.557%) and volume (\(<\delta>\) = 2.365%). The estimation of the sub-region (mark) surface area over the modelled 3D object resulted in \(<\delta>\) = 2.985%, much lower that what is obtained ignoring the fact that the mark is not on the reference (calibration) plane (\(<\delta>\) = 50.7%), thus proving the effectiveness of the proposed iterative process to model the 3D object (spheroid).
Similar content being viewed by others
References
Apple, iOS Device Compatibility Reference - iOS Device Camera Summary, https://developer.apple.com/documentation/ (2017). Accessed 2 May 2020
Clayton M, Amos ND, Banks NH, Morton RH. Estimation of apple fruit surface area, Journal of Crop and Horticultural. Science. 1995;345–349:
Fister I Jr, Perc M, Ljubic K, Kamal SM, Iglesias A, Fister I. Particle swarm optimization for automatic creation of complex graphic characters. Chaos, Solitons & Fractals. 2015;73:29–35.
Khojastehnazhand M, Omid M, Tabatabaeefar A. Determination of orange volume and surface area using image processing technique. International Agrophysics. 2009;23:237–42.
Khojastehnazhand M, Mohammadi V, Minaei S. Maturity detection and volume estimation of apricot using image processing technique. Scientia Horticulturae. 2019;251:247–51.
Koc AB. Determination of watermelon volume using ellipsoid approximation and image processing. Postharvest Biology and Technology. 2007;45:366–71.
Kraus K. Photogrammetry Volume 1 - Fundamentals and Standard Processes, 4th edition, Ferd. Dummlers Verlag, Bonn, Germany 1993:
Marcal ARS, Santos EMDS, Tavares F. Image based estimation of fruit phytopathogenic lesions area. Lecture Notes in Computer Science. 2019;11868:285–95.
Momin MA, Rahman MT, Sultana MS, Ziauddin ATM, Igathinathane C, Grift TE. Geometry-based mass grading of mango fruits using image processing. Information Processing in Agriculture. 2017;4:150–60.
Moragrega C, Matias J, Alet N, Montesinos E, Rovina M. Apical necrosis and premature drop of Persian (English) walnut fruit caused by Xanthomonas arborcola pv. juglandis, Plant Disease, Vol. 95, 1565-1570 2011;
Omid M, Khojastehnazhand M, Tabatabaeefar A. Estimating volume and mass of citrus fruits by image processing technique. Journal of Food Engineering. 2010;100:315–21.
Sabliov C, Boldor D, Keener K, Farkas B. Image processing method to determine surface area and volume of axi-symmetric agricultural products. International Journal of Food Properties. 2002;5:641–53.
Sadrnia H, Rajabipour A, Jafary A, Javadi A, Mostofi Y. Classification and Analysis of Fruit Shapes in Long Type Watermelon Using Image Processing. International Journal of Agriculture and Biology. 2007;9:68–70.
The MathWorks, MATLAB and Image Processing Tool-box, Release 2019a, Natick, Massachusetts, United States, MathWorks (2019)
Venkatesh GV, Iqbal SM, Gopal A, Ganesan D. Estimation of Volume and Mass of Axi-Symmetric Fruits Using Image Processing Technique. International Journal of Food Properties. 2015;18:608–26.
Weisstein, Eric W. “Arc Length.” From MathWorld–A Wolfram Web Resource. https://mathworld.wolfram.com/ArcLength.html. Accessed 2 May 2020
Weisstein, Eric W. “Ellipse.” From MathWorld–A Wolfram Web Resource. https://mathworld.wolfram.com/Ellipse.html. Accessed 2 May 2020
Weisstein, Eric W. “Prolate Spheroid.” From MathWorld–A Wolfram Web Resource. https://mathworld.wolfram.com/ProlateSpheroid.html. Accessed 2 May 2020
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Funding
This work was co-financed by the European Structural & Investment Funds (ESIFs) through the Operational Competitiveness and Internationalization Programme—OMPETE 2020, and by National Funds through FCT—Fundação para a Ciência e a Tecnologia, within the framework of the project EVOXANT (PTDC/ BIA-EVF/ 3635/ 2014, POCI-01-0145-FEDER-016600).
Conflict of Interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Marcal, A.R.S., Santos, E.M.D.S. Measuring Surface and Volume of a Spheroid-Shaped 3D Object from a Single Image. SN COMPUT. SCI. 1, 357 (2020). https://doi.org/10.1007/s42979-020-00376-9
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s42979-020-00376-9