Using this equation it can be found that the area of an enclosed region is given by the following equation in discrete form;
Using this formula, the area of various generated shapes were estimated using scilab 4.1.2 with a SIP toolbox. Here are the shapes whose areas where estimated.
square
circle
triangle
circle
triangle
The estimated and analytical values of the areas are shown in the following table. The analytical value of the area for each shape is calculated using pixel counting.
The errors in the estimated area came from the offset in the detected contour of the follow command in scilab. The 'true' contours of some corners of the shape were not detected accurately. Hence it resulted to the error in the estimated area.
For this activity, I'll give myself a grade of 9.5. This is because I was able to estimate the area of various generated shapes with a small percent error.
I thank Mimie Balgos for teaching me how to install the SIP toolbox.
The errors in the estimated area came from the offset in the detected contour of the follow command in scilab. The 'true' contours of some corners of the shape were not detected accurately. Hence it resulted to the error in the estimated area.
For this activity, I'll give myself a grade of 9.5. This is because I was able to estimate the area of various generated shapes with a small percent error.
I thank Mimie Balgos for teaching me how to install the SIP toolbox.
No comments:
Post a Comment