Image Acquisitionand Proces
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Setting Up 31<br />
Although this would be useful for a barcode (as the information you are attempting<br />
to acquire is basically a one-dimensional line proÞle across the code), most<br />
detector arrays are two-dimensional, so this equation needs to be applied across both<br />
dimensions. Another example is measuring the size of an apple. Consider a particular<br />
variety of apple, which has a maximum horizontal size of 8 cm, its vertical size will<br />
not exceed 10 cm, and the required accuracy of the measurement needs to be 1 mm<br />
(0.001 m). The minimum sensor resolution is determined as:<br />
È m<br />
Sensor Resolution H<br />
=<br />
Ê<br />
ˆ<br />
Í<br />
pixels<br />
2 008 . ù<br />
Ë 0 001m<br />
¯ú = 160<br />
.<br />
indicating a sensor with a resolution of at least 160 ¥ 200 is required.<br />
2.3.2 DEPTH OF FIELD (DOF)<br />
È m<br />
Sensor Resolution V<br />
=<br />
Ê<br />
ˆ<br />
Í<br />
pixels<br />
2 010 . ù<br />
Ë 0 001m<br />
¯ú = 200<br />
.<br />
The DOF of a lens system is the lens-perpendicular spatial range of which objects<br />
remain in focus; any objects outside of the DOF will not be in focus. The DOF is<br />
directly related to the blur diameter, as shown in Figure 2.19. Consider a beam (a<br />
group of adjacent rays) of light traveling from the object through the lens and<br />
focusing on the CCD array of a camera. As the beam travels through the lens, it<br />
undergoes geometric aberration, both spatially and temporally, so the beam defocuses.<br />
If the beam is defocused enough to cover an area of the CCD that is larger<br />
than the required resolution (the blur spot), then the image will be out of focus. This<br />
phenomenon also can occur due to chromatic aberration, which is evident when<br />
different frequencies of light (e.g., colors in the visible spectrum) are diffracted at<br />
different angles.<br />
Blur<br />
Diameter<br />
Object<br />
Depth Of Field<br />
Lens<br />
FIGURE 2.19 Depth of Þeld.<br />
One method of increasing DOF is to place a limiting iris in front of the lens<br />
(Figure 2.20).Unfortunately, using this method causes less light to irradiate the lens,<br />
so you will need to increase the amount of light falling on the object to achieve<br />
similar contrast levels.