Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
108 CHAPTER 5. PROGRAM EXAMPLES<br />
Figure 5.14: Searching regions for contacts (left) and IC contacts (right).<br />
ÐØÓÒÖØÒн ´Á¸ ÁÏظ ¸ ½µ<br />
ÖÒ ´ÁÏظ Á¸ ËÖÒÖµ<br />
ÐØÓÒÖØÒн ´ËÖÒÖ¸ ËÖÒÖÏظ ½¸ ½µ<br />
ÙÒÓÒ½ ´ËÖÒÖÏظ ËÖÒÖÍÒÓÒµ<br />
ÖÙÓÑÒ ´ÁÒØÒ×Øݸ ËÖÒÖÍÒÓÒ¸ ËÖÖݵ<br />
ÑÒÑ ´ËÖÖݸ ÅÒ¸ ½¸ ½µ<br />
ÝÒØÖ×ÓÐ ´ËÖÖݸ ÅÒ¸ ÓÒØØ׸ ¸ ³Ðسµ<br />
ÓÒÒØÓÒ ´ÓÒØØ׸ ÓÒØØ×ÓÒÒص<br />
ÐÐÙÔ ´ÓÒØØ×ÓÒÒظ ÓÒØØ×Ðе<br />
×ÐØ×Ô ´ÓÒØØ×Ðи ÓÒØØ×Ê׸ ³Ö³¸ ³Ò³¸ ½¼¸ ½¼¼µ<br />
The result of the intersection is still not satisfying. Too many small and too many wrong regions<br />
have been found. So we have to eliminate them by using ×ÐØ ×Ô. Figure 5.14 shows the<br />
final result of the segmentation on the right side.<br />
5.8 Cell Walls<br />
File name: ÛÓÓ ÐÐ׺Ú<br />
In this example we will examine the alteration of the cell wall’s proportion during a tree’s<br />
growth. The input image is a microscope view of wooden cells (see figure 5.15).<br />
You can clearly see the single cells and the discontinuity that is caused by the stopped growing<br />
in winter.<br />
Extracting cell walls is simple because they are significantly darker. The remaining “difficulty”<br />
lies in the computation of the distribution in growth direction, i.e., along the image x-axis. First,<br />
we define the width of the window over which the cell distribution is computed by assigning it to<br />
the variable in the program. Then we fetch the image size using Ø Ñ ÔÓÒØÖ½ to get<br />
the corresponding loop parameters. The broader the search range, the stronger the smoothing<br />
during the measurement.<br />
Now the loop starts from the “left” side to compute the whole image. The ratio of the area of<br />
the cell walls and a rectangle of width is computed for every value of the loop variable . The<br />
<strong>HDevelop</strong> / 2000-11-16