Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
104 CHAPTER 5. PROGRAM EXAMPLES<br />
Figure 5.10: Detected bonding positions.<br />
ÆÙÑÐÐ× ÊÙ×<br />
ÑØÖ ¾ÊÙ×<br />
ÅÒÑØÖ ×ÙÑ´ÑØÖµ»ÆÙÑÐÐ×<br />
ÅÒÑØÖ ÑÒ´ÑØÖµ<br />
Diameter, MeanDiameter and MinDiameter are some examples for calculations possible with<br />
<strong>HDevelop</strong>.<br />
5.6 Calibration Board<br />
File name: кÚ<br />
This example works with the image of a calibration board. It is used to specify the internal<br />
parameters of a CCD camera. Therefore, you have to extract the circles on the board (see left<br />
side of figure 5.11).<br />
This example describes an interesting operator. It is called ÖÝ Ò× and is a so-called<br />
fuzzy operator. In this case, fuzzy means that the value of each pixel is not interpreted as gray<br />
value but as the affiliation to a certain class. The bigger the number (max. 1), the stronger the<br />
affiliation. 1<br />
By applying ÖÝ Ò× to an image every pixel value is interpreted as the “potential energy”<br />
you have to afford to get from the pixel position to the image border. The dark pixels present<br />
valleys and the bright pixels mountains. Thus a dark region in the middle of an image is equivalent<br />
to a hole in a mountain that needs a lot of energy to be left. This is also true for the dark<br />
circles on the bright background in the image of the calibration board.<br />
Before calling ÖÝ Ò× you should use a smoothing filter to suppress small valleys. This<br />
reduces runtime considerably.<br />
If you look at the operator result on the right side of figure 5.11 you will notice the circles as<br />
significant bright points. Now a simple thresholding is sufficient to extract them.<br />
1 In HALCON the range of 0 to 1 is mapped to values of a byte image (0 to 255).<br />
<strong>HDevelop</strong> / 2000-11-16