1. Home
  2. Archives
  3. Vol 8 (2014) Issue 1
  4. Articles

Volume Measurement Algorithm for Food Product with Irregular Shape using Computer Vision based on Monte Carlo Method

Abstract

Volume is one of important issues in the production and processing of food product. Traditionally, volume measurement can be performed using water displacement method based on Archimedes

Keywords

1 Introduction

Volume is one of the important issues in the production and processing of food product. Volume together with other physical properties plays an important role in calculating water loss, heat transfer, quantity of pesticide applications, respiration rates, etc. In food processing, volume is useful for size sorting, quality grading, and microbial concentration [1]. If volume of a food product can be determined, then the other physical properties such as mass and density can be easily estimated [2],[3]. In egg, volume is related to many important things in bird life such as female mass, female social status, lay date, egg composition, nesting success, hatchling size, and nestling survival [4]. In bread, volume is a good indicator for gas retention properties of dough, quality of flour

protein, quality of gluten development, and balancing recipe and processing requirement [5]. Therefore research in volume measurement is an important task.

Traditionally the volume of an object can be measured using water displacement method based on Archimedes' principle. The object is immersed into water that placed in a container until all surfaces are immersed. Displaced water is collected in another container and its volume is measured. The volume of displaced water is considered as the volume of the object. Water displacement method is inaccurate, especially for porous or fragile object [3], [6]. For example in bread volume measurement, water displacement method fails because it can damage the bread. Moreover the water will be absorbed by the bread. In measuring bread volume water displacement method is modified using seed displacement. Usually rape seed or pearl barley is used to replace water. This method is less in accuracy because the bread may be compressed when it is merged in the seed [7].

Currently, volume measurement instrument using laser scanner for food product, especially bread, has been introduced to market, such as TexVol instruments BVM-L series (http://www.texvol.com) or Volscan Profiler from Stable Micro Systems (http://www.stablemicrosystems.com). However, this instrument is expensive and cannot be applied directly in production line.

Computer vision offers an accurate and nondestructive method in measuring volume of food product [8]. It has been widely applied to solve real problem in various fields including optical character recognition (OCR), machine inspection, object recognition, 3-D model building, automotive safety, match move, motion capture, surveillance, fingerprint recognition and biometric [9]. In addition, computer vision provides innovative solution for industrial automation.

Various industrial activities have been getting benefits from application of computer vision in manufacturing process such as electronic component, textile, metal, granite, glass, printing, pharmaceutical tablet, bottling, etc [10]-[13]. Computer vision has been used for automated visual inspection of food product in many countries [14]. Automated visual inspection using computer vision is nondestructive method and has been used in various agriculture and food industries, such as fruits, vegetables, beef, pork, etc [15],[16].

Previous studies in volume measurement of food product using computer vision have been done by many researchers and can be classified into two types of measurement. The first one is volume measurement for axi-symmetric object [2],[3],[17]-[19] and the second one is volume measurement for irregular shape

object [1],[6],[20],[21]. In previous researches, volume measurement of irregular shape object was performed by 3-D object reconstruction. The volume was approximated from the reconstructed 3-D object by mathematical formulation or counting the number of voxel. This process is time consuming in computation. Furthermore previous researches in volume measurement are not implemented to measure volume of object in production line.

In mathematical perspective [22], the volume of solid object can be calculated using triple integral over a region with boundary the surface of object. If the surface equation of object is known then the integral can be evaluate analytically or by numerical approximation. Otherwise the surface of object must be reconstructed first before evaluating the integral by numerical approximation. In 3-D computer vision for volume measurement, this process is done by 3-D object reconstruction. Another method for evaluating volume is Monte Carlo integration. Monte Carlo method evaluates the integral by generating random points. Only information whether generated points fall inside or outside the object is needed for evaluating volume, without knowing the surface of object.

The aim of this paper is to propose algorithm for volume measurement of irregular shape food product using computer vision based on Monte Carlo method. Monte Carlo method provides easier way in volume measurement of irregular shape object. Moreover Monte Carlo method does not require 3-D reconstruction of irregular object for volume measurement.

2.1 Volume Measurement of Axi-symmetric Object

An object is considered as axi-symmetric if the cross sections of the object which are perpendicular to its major axis are circular shape. Some example of axi-symmetric food products are eggs, watermelons, oranges, lemons, limes, tamarillos, cantaloupes, etc. The object can be modeled as solid of revolution obtained by rotating half of its projected area around its major axis. With this modeling volume of the object can be approximated using disk method or frustum cone method. Table 1 shows summary of related works in volume measurement of axi-symmetric object.

Koc [2] has approximated volume of watermelon using disk method. Image of watermelon was acquired in RGB color space using a camera and then converted to gray scale image. Threshold technique was used to produce binary image from gray scale image. The threshold value was determined by experiment. The boundary of watermelon was extracted from its binary image

using ImageJ custom edge detection technique. Area inside boundary image was assumed as sum of rectangles. Rotating half of each rectangle around major axis of watermelon produced cylindrical disk. The volume of watermelon was estimated by the sum of all cylindrical disk volume.

Table 1Related works in volumemeasurement of axi-svmmetric obiec
MethodsMeasured
objects
Accuracy
Disk [2]Watermelon7.7%a
Conical frustum [3]Egg3.2%a
Lemon4.2% a
Lime6.7%a
Tamarillo4.4% a
Modified conical frustum [17]Ham-1.8%b
Elliptic conical frustum [18]-[19]Orange\(0.985^{c}\)
Lemon\(0.962^{c}\)
Lime\(0.957^{c}\)
Tangerine0.959c

&lt;sup>a</sup>Average relative absolute error/difference

Wang and Nguang [3] have designed low cost sensor to measure volume of axi-symmetric agriculture product, such as eggs, lemons, limes, and tamarilos. A low cost image sensor was used to capture the image of object in black/white mode. Gaussian filter was applied to captured image for noise removal and followed by edges detection using gradient method. The object was modeled as sum of elementary right conical frustums and its volume was approximated by the sum of all frustum volume. The top diameter, bottom diameter, and height of each frustum were determined from edges of the object. Du and Sun [17] have modified conical frustum method to estimate the volume of ellipsoidal ham. They assumed that ellipsoidal ham was the sum of right conical frustum except its two end portions. The two end portions were modeled as spherical caps.

To increase the accuracy of conical frustum method, Khojastehnazhand, et al. [18] and Omid, et al. [19] assumed the cross sections of conical frustum is elliptical. Two cameras were used to capture the image of object in RGB color space. After image acquisition background segmentation and image enhancement were performed on these two images. To remove background from the images, the RGB values of the images were compared with the RGB

&lt;sup>b</sup>Average relative error

&lt;sup>c</sup>Coefficient of determination \((R^2)\)

values of background, which have been stored in the database. Image enhancement was used to remove slight shadows produced in background segmentation. Information about the shadow histogram was used to correct the images. Two perpendicular diameter of each cross section were obtained from the two images and used to calculate the area of the cross section. The volume of each frustum was determined using this area. Total volume of the object was estimated by summing them up.

2.2 Volume Measurement of Irregular Shape Object

Volume measurement for irregular shape object has been done by 3-D object reconstruction. The 3-D object is reconstructed using silhouettes of object from multiple views. The volume of object is measured from reconstructed 3-D object using either mathematical formulation or counting the number of voxel in reconstructed 3-D object. Table 2 shows summary of related works in volume measurement of irregular shape object.

MethodsMeasured objectAccuracy
Wire frame model [1]Apple, cantaloupe, strawberry,2.5%d
tomato\(0.956^{\rm e}\)
Space carving [20]Mango (SS size)8.89%d
Mango (S size)\(9.96\%^{\mathrm{d}}\)
Mango (L size)9.63%d
Lofting [21]Granny Smith apple\(0.992^{e}\)
Red delicious apple\(0.998^{e}\)
Meat\(0.995^{\rm e}\)
Volume intersection [6]Agglomerated milk\(4.4\%^{\mathrm{d}}\)

&lt;sup>d</sup>Average relative absolute error/difference

Lee, et al. [1] have proposed non destructive method to measure volume of irregular shape object using multiple silhouettes. Either 30 or 60 images of object were taken from multiple views by a camera and rotating object in a fixed angular interval using a turntable. By assuming 0.5 second is needed to capture one image then at least 15 seconds are needed for capturing image. This process is time consuming. The captured images were then segmented to separate object from background using threshold method. Threshold value was determined either manually by user or automatically using image histogram. Eight-neighborhood clockwise boundary tracking was developed and implemented to produce 2-D object contours. Based on their center line and angular position, 2-D object contours were then converted to 3-D and assembled to

&lt;sup>e</sup>Coefficient of determination

construct 3-D wire frame model. Linear interpolation was applied to corresponding boundary points from two adjacent contours. Mathematical formulation was built from 3-D wire frame model to approximate the volume of object.

Chalidabhongse, et al. [20] have developed vision system to measure mango's volume. Four cameras were used to image acquisition and stored in RGB format. A camera captured image from the top of object and three cameras captured image from surrounding object. Camera calibration was performed before image acquisition to obtain intrinsic and extrinsic cameras parameters. Some images were selected and segmented manually. RGB values of object in image sample were used to obtain hue value and object's hue surface model. Object and background were segmented using object's hue surface model and chromaticity similarity, followed by closing and opening morphological operations to form silhouette. 3-D object reconstruction was done with space carving based on object silhouettes and camera parameters. The volume of object was estimated by counting the number of voxel in reconstructed 3-D object.

Goñi, et al. [21] have proposed volume measurement of irregular foodstuffs using three-dimensional reconstruction based on reverse engineering technique. Object was sliced into 10-18 slices along selected axis before image acquisition. The images of object cross section were captured from sliced object slice by slice. This process is time consuming and considered as destructive. Median filter was used to enhance image quality after converted original RGB image to gray scale format. Image was segmented using threshold value which obtained by analyzing gray scale image histogram and the boundary of object was detected. Interpolation of a subset of boundary pixels by closed B-spline curve was used to make continuous approximation to the discrete boundary of binary images. B-spline curves were correctly assembled using lofting technique. A closed Non-Uniform Rational B-Spline (NURBS) surface was constructed through B-spline cross section curves. The resulting surface was then transformed into a 3D solid object. A Finite Element Method (FEM) approach was developed to estimate volume of reconstructed object. A mesh was generated using curved mesh elements and Delaunay algorithm. Gaussian integration 4th order was used over all domains to obtain estimated volume values.

Castillo-Castaneda and Turchiuli [6] have presented methodology and experimental result about volume estimation of small particles using threedimensional reconstruction from multiple views. They used the same technique using by Lee, et al. [1] for image acquisition. Thresholding was used to extract object silhouette from image. Two dimensional coordinates of each silhouette were used to describe three dimensional coordinate of the points that belong to the projection plane. The coordinates of partial volume were generated by translations that are normal to projection plane. The total volume was given by intersection of partial volume and the volume of object was approximated by counting the number of voxels belonging to the intersections.

3 Monte Carlo Method

Monte Carlo method is a numerical method for solving mathematical problems by simulation of random variables. The name Monte Carlo is taken from a city in the Principality of Monaco that famous with its casino. This is because one of the simplest mechanical devices to generate random number is the roulette wheel in the casino [23]. The invention of games of chance whose behavior and outcome can be used to some interesting phenomena is the essence of the method. The name Monte Carlo was firstly used as mathematical method in the 1940s, by scientist who developed nuclear weapons in Los Alamos [24].

5

Figure 1 Area approximation using Monte Carlo Method.

The simplest application of Monte Carlo method is the determination of the area of arbitrary plane. Suppose an arbitrary plane S is completely contained in a square [a, b]×[c, d], as shown in Figure 1. Monte Carlo algorithm to obtain the area of S is as follows [23], [25]:

  • 1. Generate N random points in the square. Two random numbers x and y in the range [a, b] and [c, d] respectively are used to generate coordinates of a point in the square. The larger N the more accurate approximation of the area is obtained.
  • 2. Calculate the number of points that fall inside S and indicate as N0.
  • 3. Approximate the area of S by (b a)(d c)N0/N.

Monte Carlo method is computationally effective method compared with deterministic method in solving multidimensional problems [24]. Monte Carlo method has been widely used to solve both mathematics and real problems, such as multidimensional integral, linear equation, nonlinear equation, eigen value problem, boundary value problem, integral equations, path integral, operations research, transport modeling in semiconductors and nanowires, radiation transport, statistical physics and chemistry, nuclear physics, traffic pattern modeling, and economics [24]-[26].

4 Proposed Algorithm

The computer vision system used to implement the volume measurement algorithm consists of hardware and software. The hardware is developed to simulate volume measurement of irregular shape object such that the measurement similar to real production line. The hardware structure consists of five cameras, light source, conveyor belt, and personal computer, as shown in Figure 2. One camera is located on the top of object while four cameras located on surrounding object. The cameras are connected to computer using USB cable. Personal computer is used to process acquired images using developed software. Measured object moves on conveyor belt during images acquisition. The conveyor belt uses black color and is equipped with black background on both sides. Black background is chosen in order to simplify segmentation process. Room light locating on the top of conveyor is used as light source.

The software is developed to process the images of object and to perform volume measurement using information extracted from processed images. The main processing step for volume measurement consists of camera calibration, image acquisition, image enhancement, image segmentation, and volume measurement based on Monte Carlo method, as shown in Figure 3. Camera calibration is used to determine intrinsic and extrinsic cameras parameters. Intrinsic camera parameters consist of focal length in x and y direction fx and fy; and the center of image (cx, cy), while extrinsic camera parameter consist of rotation matrix R and translation vector t. These parameters are used in bounding box construction and to project point in real world coordinate system into image coordinate system. Zhang's method [27] is used to perform camera calibration. A flat chessboard patter is used as calibration object. Ten images of chessboard pattern are taken from ten different views to estimate intrinsic camera parameters while one image is taken to estimate extrinsic camera parameters. In estimating extrinsic camera parameters, chessboard pattern is located at conveyor belt and assumed lie on plane z = 0 in real world coordinate system.

Figure 2 The hardware of computer vision for volume measurement.

4

Figure 3 The main processing step for volume measurement.

Image acquisition is performed using five calibrated cameras to capture object from the top and surrounding of object. The images of object are captured in certain time interval in RGB color space while object are moving on the conveyor belt at predefined speed. Image enhancement is performed to improve image quality by removing noise and increasing contrast. The images are firstly transformed to gray scale before image enhancement. Enhanced images are then segmented to extract the silhouettes of object from background. Image thresholding is performed to segment the images of object. Iterative procedure [28] is used to determine threshold value T automatically. A pixel in grayscale

image with intensity greater than T is assigned as object pixel (white) with binary value 1 and otherwise as background pixel (black) with binary value 0. Morphological opening and closing are used to remove white spot in background and black spot in object respectively. The result of image segmentation step is silhouette of object.

To perform volume measurement using Monte Carlo method a bounding box in real world coordinate system is firstly created. The bounding box is constructed from the silhouettes of object and camera parameters, such that the object is completely contained in the box. The bounding rectangle for silhouette of object from top view is re-projected onto a plane \(z = z_l\) located under the object in real world coordinate system. This plane is the lower bound of bounding box in z direction. From re-projected bounding rectangle, the lower and upper bound of bounding box in x and y direction are determined. Suppose the lower and upper bound of bounding box in x and y directions are \(x_l\), \(x_u\), \(y_l\), and \(y_u\). The upper bound of bounding box \(z_u\) is obtained by re-projected the middle top of bounding rectangle for silhouette of object from one of side view onto one of plane \(x = x_l\), \(x = x_u\), \(y = y_l\), or \(y = y_u\) in real world coordinate system that closest to the point. The algorithm proposed by Siswantoro, \(et \ al. \ [29]\) is used to reproject point and bounding rectangle in silhouette onto real world coordinate system. The illustration of bounding box construction is shown in Figure 4.

To generate 3-D random points inside bounding box, three independent random numbers, x, y, and z uniformly distributed on \([x_l, x_u]\), \([y_l, y_u]\), and \([z_l, z_u]\) respectively are generated N times. Therefore, 3-D random point (x, y, z) is uniformly distributed on the box. Each 3-D random point is then projected onto all images using corresponding camera parameters. If all projected points of a 3-D random point fall inside the silhouettes (white pixel) then the original 3-D random point is considered as a point in outside of the object. Suppose \(N_0\) is the number of random points in the object then the volume V of the object is approximated by:

\[V = (x_u - x_l)(y_u - y_l)(z_u - z_l)\frac{N_0}{N}\] (1)

2

Figure 4 The illustration of bounding box construction.

Since proposed algorithm only uses five image of object taken from five different views then in performing Monte Carlo, there is possibility that a 3-D point located outside the object will be recognized as object point. As a consequence the result of volume measurement will be greater than actual volume. Therefore to obtain accurate result, measurement adjustment is provided. The amount of measurement adjustment depends on the type of measured object. Algorithm 1 explains volume measurement based on Monte Carlo method from the silhouette of object.

Algorithm 1 Algorithm to perform volume measurement based on Monte Carlo method.

Input: silhouettes of object \(S_1\), \(S_2\), \(S_3\), \(S_4\), \(S_5\); camera parameters \(CP_1\), \(CP_2\), \(CP_3\), \(CP_4\), \(CP_5\); bounds of bounding box \(x_l\), \(x_u\), \(y_l\), \(y_u\), \(z_l\), \(z_u\), number of random point N; number of view M, measurement adjustment adj.

Output: volume of object V

N_0 \leftarrow 0

for i from 1 to N

x \leftarrow GenerateUniformRandom(x_l, x_u)

y \leftarrow GenerateUniformRandom(y_l, y_u)

z \leftarrow GenerateUniformRandom(z_l, z_u)

f \leftarrow 1

for j from 1 to M

(x\_im_j, y\_im_j) \leftarrow ProjectToSilhouette(x, y, z, S_j, CP_j)

f_j \leftarrow GetBinaryValue(S_j, x\_im_j, y\_im_j)

f \leftarrow f^*f_j
\nend for

N_0 \leftarrow N_0 + f

end for \[V \leftarrow adj^*(x_u - x_l)^*(y_u - y_l)^*(z_u - z_u)^*N_0/N\]

5 Simulation

The experiment to validate proposed algorithm is currently carried out in laboratory using food products with irregular shape such as mango, apple, and tomato. For initial study in validating proposed algorithm, a simulation has been done in laboratory using the image of ball. Five image of ball with radius 3.68 cm acquired using five calibrated web cameras were used in the simulation, as shown in Figure 5. The computer used for the simulation was a 3.00 GHz Pentium(R) Dual-Core personal computer with 2.00 GB RAM and Windows 7 operating system. Proposed algorithm was implemented in Visual C++ 2010 using Open Source Computer Vision Library OpenCV231 [30].

5

Figure 5 The images of ball used in simulation.

Acquired images were then processed to obtain silhouettes of object and used to construct bounding box of object, as shown in Figure 6 and Figure 7. In this simulation the volume of object was measured 100 times using proposed algorithm with the number of generated random points (N) \(10^2\), \(10^3\), \(10^4\), \(2\times10^4\), \(3\times10^4\), \(4\times10^4\), \(5\times10^4\), \(6\times10^4\), \(7\times10^4\), \(8\times10^4\), \(9\times10^4\), and \(10^5\). The accuracy of volume measurement result was assessed by comparing with the exact volume of ball using absolute relative error, while coefficient of variation (CV) was used to measure the precision of volume measurement result. Absolute relative error and CV were calculated using the following equations

absolute relative error = \[\frac{\left|V_{Exact} - V_{MM}\right|}{V_{Exact}} \times 100\%\] (2)

\[CV = \frac{std.dev.}{mean} 100\% \tag{3}\] where VExact is exact volume of ball, VMM is volume measured using proposed algorithm, std.dev. and mean are standard deviation and mean of VMM from 100 measurements. In this simulation, comparison with space carving [20] was performed to compare measurement accuracy and processing time. The method was chosen for comparison because it used almost similar experimental setup.

Figure 6 The silhouettes of object.

Figure 7 Constructed bounding box.

6 Result and Discussion

Volume measurement result using proposed algorithm together with absolute relative error, CV, and processing time are tabulated in Table 3. The exact value of ball volume used in this simulation is 208.75 cm3 . The simulation result shows that increasing the number of random points (N) used in volume measurement will increase volume measurement accuracy. This can be shown by decreasing mean absolute relative error if N increases. This result agrees with the basic principle in Monte Carlo method, that the approximation using Monte Carlo method will be convergent to exact value for N sufficiently large [26].

For N greater than or equal to 10000 points mean absolute relative error was less than 1% compared to exact volume, while CV was less than 1% for N greater than or equal to 20000 points. Finally, for N equal to 100000 point proposed algorithm produce mean absolute relative error 0.36% and CV 0.32%. This result shows that proposed algorithm can perform volume measurement with high accuracy and precision. Mean processing time was less than 0.80 sec for all N with maximum processing time was 1.87 sec occurred for N = 100000.

In comparison with space carving method, by divided bounding box into 100000 voxels the result of volume measurement using space carving was 235.04 cm³ with absolute relative error 12.59%. Mean processing time for 100 times measurement was 20.20 sec with maximum processing time was 23.49 sec. Therefore, volume measurement using proposed algorithm is more accurate compared with volume measurement using space carving method. Moreover processing time for volume measurement using proposed algorithm is faster than space carving method.

No. of random
points (N)
Mean \(V_{MM}\) (cm3)Mean abs.
rel. error (%)
CV (%)Mean
processing
time (sec)
1000209.822.923.430.53
10000209.070.851.080.57
20000209.540.760.870.65
30000209.740.650.640.63
40000209.490.570.630.68
50000209.490.540.540.68
60000209.540.490.480.79
70000209.480.440.390.71
80000209.430.410.370.75
90000209.490.400.340.70
100000209.400.360.320.73

Table 3 Volume measurement result using proposed algorithm.

7 Conclusion

In this paper, volume measurement algorithm for irregular shape object using computer vision based on Monte Carlo method is presented. The computer vision system used to implement the algorithm consists of hardware and software. The hardware is developed to simulate volume measurement of irregular shape object such that the measurement similar to real production line. The software is developed to process the images of object and to perform

volume measurement using information extracted from processed images. Simulation results using five images of ball taken using five calibrated web cameras from different views show that proposed algorithm produced mean absolute relative error 0.36% and CV 0.34% for the number of random points 100000 with mean processing time less than 0.80 sec. Moreover, proposed algorithm is more accurate and faster compared with volume measurement using space carving method. Therefore it is expected that volume measurement using Monte Carlo method can reduce computation time in volume measurement of irregular shape object and can be implemented in real production line.

Acknowledgment

The authors would like to thanks Ministry of Higher Education Malaysia and Universiti Kebangsaan Malaysia for providing facilities and financial support under Grants No. ERGS/1/2013/ICT07/UKM/02/2.

Research Intelligence

Data from OpenAlex ↗

Metrics

16
Citations
3.12
FWCIfield-weighted
91th
Percentilevs same year + field
Article
Work type
Open Access

Citation Trend

Citation Timeline

YearCitations
20251
20231
20225
20212
20202
20173
20161
20151

Institution Network

References

  1. Lee, D.J., Xu, X., Eifert, J. & Zhan, P., Area and Volume Measurements of Objects with Irregular Shapes Using Multiple Silhouettes, Optical Engineering, 45(2), pp. 027202, 2006. DOI: 10.1117/1.2166847
  2. Koc, A.B., Determination of Watermelon Volume Using Ellipsoid Approximation and Image Processing, Postharvest Biology and Technology, 45(3), pp. 366-371, 2007. DOI: 10.1016/j.postharvbio.2007.03.010
  3. Wang, T.Y. & Nguang, S.K., Low Cost Sensor for Volume and Surface Area Computation of Axi-Symmetric Agricultural Products, Journal of Food Engineering, 79(3), pp. 870-877, 2007.
  4. Bridge, E.S., Boughton, R.K., Aldredge, R.A. Harrison, T.J.E., Bowman, R. & Schoech, S.J. Measuring Egg Size Using Digital Photography: Testing Hoyt
  5. Sahi, S.S. & Little, K., Quality Control, in Huim, Y.H. (ed.), Bakery Products: Science and Technology, Blackwell Publishing, pp. 319-336, 2006.
  6. Castillo-Castaneda, E. & Turchiuli, C., Volume Estimation of Small Particles Using Three-Dimensional Reconstruction from Multiple Views, in Elmoatazm A., Lezoray, O., Nouboud, F., Mammass, D. (eds.), Image and Signal Processing, 5099, Springer Berlin / Heidelberg, pp. 218-225, 2008. DOI: 10.1007/978-3-540-69905-7_25
  7. Cauvain, S.P., Bread - the Product, in Cauvain, S.P. & Young, L.S. (eds.), Technology of Breadmaking, Springer, pp. 1-19, 2007.
  8. Jayas, D.S., Ghosh, P.K., Paliwal, J. & Karunakaran, C., 15 - Quality Evaluation of Wheat, in S. Da-Wen (Ed.), Computer Vision Technology for Food Quality Evaluation, Academic Press, pp. 351-376, 2008. DOI: 10.1016/b978-012373642-0.50018-1
  9. Szeliski, R. Computer Vision: Algorithms and Applications, Springer, 2010.
  10. Bukovec, M., A piclin, A1/2., Pernua, F. & Likar, B. Automated Visual Inspection of Imprinted Pharmaceutical Tablet, Measurement Science and Technology, 18, pp. 2921-2930, 2007.
  11. Malamas, E.N., Petrakis, E.G.M., Zervakis, M., Petit, L. & Legat, J.-D. A Survey on Industrial Vision Systems, Applications and Tools, Image and Vision Computing, 21(2), pp. 171-188, 2003. DOI: 10.1016/s0262-8856(02)00152-x
  12. A.S. Prabuwono, R. Sulaiman, A.R. Hamdan, A. Hasniaty, Development of Intelligent Visual Inspection System (IVIS) for Bottling Machine, in Proc. of TENCON 2006. 2006 IEEE Region 10 Conference, pp. 1-4, 2006.
  13. Yazdi, L., Prabuwono, A.S. & Golkar, E., Feature Extraction Algorithm for Fill Level and Cap Inspection in Bottling Machine, in Proc. of International Conference on Pattern Analysis and Intelligent Robotics (ICPAIR 2011), Universiti Kebangsaan Malaysia, Putrajaya, Malaysia pp. 47-52, 2011. DOI: 10.1109/icpair.2011.5976910
  14. Naoshi, K., Automation on Fruit and Vegetable Grading System and Food Traceability, Trends in Food Science & Technology, 21(3), pp. 145-152, 2010.
  15. Patel, K., Kar, A., Jha, S. & Khan, M., Machine Vision System: a Tool for Quality Inspection of Food and Agricultural Products, Journal of Food Science and Technology, 49(2) pp. 123-141, 2012.
  16. Zheng, C., Sun, D.-W. & Zheng, L., Correlating Colour to Moisture Content of Large Cooked Beef Joints by Computer Vision, Journal of Food Engineering, 77(4), pp. 858-863, 2006.
  17. Du, C.-J. & Sun, D.-W., Estimating the Surface Area and Volume of Ellipsoidal Ham Using Computer Vision, Journal of Food Engineering, 73(3), pp. 260-268, 2006.
  18. Khojastehnazhand, M., Omid, M. & Tabatabaeefar, A. Determination of Orange Volume and Surface Area Using Image Processing Technique, Int. Agrophys. 23, pp. 237-242, 2009.
  19. Omid, M., Khojastehnazhand, M., & Tabatabaeefar, A., Estimating Volume and Mass of Citrus Fruits by Image Processing Technique, Journal of Food Engineering, 100(2), pp. 315-321, 2010. DOI: 10.1016/j.jfoodeng.2010.04.015
  20. Chalidabhongse, T., Yimyam, P. & Sirisomboon P., 2D/3D Vision-Based Mango
  21. Goni, S.M., Purlis, E. & Salvadori, V.O., Three-Dimensional Recon-struction of Irregular Foodstuffs, Journal of Food Engineering, 82(4), pp. 536-547, 2007. DOI: 10.1016/j.jfoodeng.2007.03.021
  22. Weir, M.D., Thomas, G.B. & Hass, J., Thomas
  23. Sobol
  24. Kalos, M.H. & Whitlock, P.A., Monte Carlo Methods, Second Revised and Enlarged ed.WILEY-VCH Verlag GmbH & Co. KGaA, Weinheim, 2008.
  25. Billo, E.J., Excel for Scientists and Engineers: Numerical Methods, John Wiley & Sons Inc, Hoboken, New Jersey, 2007. DOI: 10.5860/choice.45-0894
  26. Dimov, I.T., Monte Carlo Methods for Applied Scientists, World Scientific Publishing Co. Pte. Ltd., Singapore, 2008.
  27. Zhang, Z. A Flexible New Technique for Camera Calibration, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22, pp. 1330-1334, 2000. DOI: 10.1109/34.888718
  28. Gonzalez, R.C. & Woods, R.E. Digital Image Processing, 2nd ed.Prentice Hall, New Jersey, 2002.
  29. Siswantoro, J., Prabuwono, A. & Abdullah, A., Real World Coordinate from Image Coordinate Using Single Calibrated Camera Based on Analytic Geometry, in Noah, S., Abdullah, A., Arshad, H., Abu Bakar, A., Othman, Z., Sahran, S., Omar, N. & Othman, Z. (eds.), Soft Computing Applications and Intelligent Systems, Springer Berlin Heidelberg, pp. 1-11, 2013. DOI: 10.1007/978-3-642-40567-9_1
  30. Bradski, G. & Kaehler, A., Learning OpenCV, O