Monday, June 22, 2009

Activity 2. Area Estimation For Images with Defined Edges

Different images were drawn using Microsoft Paint. The images are shown below.

The area of the white area of the images was then computed using the conventional method of computing the area( such as length multiplied by height for a rectangular area) and using Scilab. The area computed by the conventional method was treated as the theoretical value and the area computed using Scilab was treated as the experimental value. The computation of the area using Scilab is based on the Green's Theorem. The formula of the area is given by:
The code used to compute the Area of the white area of the images is shown below.

The theoretical and experimental area summarized in Table 1.

Table 1. Summary of the Theoretical and Experimental Area

The data presented in Table 1 shows that there is only a small difference between the theoretical and the experimental area therefore the use of the Green's theorem is valid for the computation of the area of the generated images.

For accomplishing the given task, I grade myself 10/10.

**Gilbert's corrections and tips helped a lot.


No comments:

Post a Comment