To quantify the amount of error due to distortion of the tumor shadow during transillumination, a computer simulation was developed using MATLAB programming language (MathWorks, Inc., Natick, MA). In this simulation, the transilluminator was modeled as an omni-directional point source attached to sclera. The simulator determined the location of the tumor's shadow on the sclera and evaluated three kinds of error. The first error, which we call
diameter error, is defined as the difference between the actual tumor basal diameter and the basal diameter of its shadow on sclera. In
Figure 1a this error is quantified as the difference between D
1 and D
2. The second error, called
displacement error, is defined as the difference between the center of the actual tumor and the center of its shadow. In
Figure 1b these two centers are marked as points a and b, respectively, where E
1 indicates the displacement error. Finally, we define the corner error as the difference between the corner of the tumor and the corner of its shadow at the side that the surgeon uses for plaque adjustment. This error is shown as E
2 in
Figure 1c. Among these three errors, the corner error is of greatest importance. This is because during an operation, only the edge of the tumor is visualized and positioning of the light source at the opposite side defines the extent of this error.