Skip to main content
Log in

Measuring Surface and Volume of a Spheroid-Shaped 3D Object from a Single Image

  • Original Research
  • Published:
SN Computer Science Aims and scope Submit manuscript

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).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  1. Apple, iOS Device Compatibility Reference - iOS Device Camera Summary, https://developer.apple.com/documentation/ (2017). Accessed 2 May 2020

  2. Clayton M, Amos ND, Banks NH, Morton RH. Estimation of apple fruit surface area, Journal of Crop and Horticultural. Science. 1995;345–349:

  3. 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.

    Article  MathSciNet  Google Scholar 

  4. Khojastehnazhand M, Omid M, Tabatabaeefar A. Determination of orange volume and surface area using image processing technique. International Agrophysics. 2009;23:237–42.

    Google Scholar 

  5. Khojastehnazhand M, Mohammadi V, Minaei S. Maturity detection and volume estimation of apricot using image processing technique. Scientia Horticulturae. 2019;251:247–51.

    Article  Google Scholar 

  6. Koc AB. Determination of watermelon volume using ellipsoid approximation and image processing. Postharvest Biology and Technology. 2007;45:366–71.

    Article  Google Scholar 

  7. Kraus K. Photogrammetry Volume 1 - Fundamentals and Standard Processes, 4th edition, Ferd. Dummlers Verlag, Bonn, Germany 1993:

  8. Marcal ARS, Santos EMDS, Tavares F. Image based estimation of fruit phytopathogenic lesions area. Lecture Notes in Computer Science. 2019;11868:285–95.

    Article  Google Scholar 

  9. 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.

    Article  Google Scholar 

  10. 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;

  11. 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.

    Article  Google Scholar 

  12. 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.

    Article  Google Scholar 

  13. 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.

    Google Scholar 

  14. The MathWorks, MATLAB and Image Processing Tool-box, Release 2019a, Natick, Massachusetts, United States, MathWorks (2019)

  15. 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.

    Article  Google Scholar 

  16. Weisstein, Eric W. “Arc Length.” From MathWorld–A Wolfram Web Resource. https://mathworld.wolfram.com/ArcLength.html. Accessed 2 May 2020

  17. Weisstein, Eric W. “Ellipse.” From MathWorld–A Wolfram Web Resource. https://mathworld.wolfram.com/Ellipse.html. Accessed 2 May 2020

  18. Weisstein, Eric W. “Prolate Spheroid.” From MathWorld–A Wolfram Web Resource. https://mathworld.wolfram.com/ProlateSpheroid.html. Accessed 2 May 2020

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to André R. S. Marcal.

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s42979-020-00376-9

Keywords

Navigation