Method and apparatus for measuring form parameters of items

Abstract: Disclosed are a method and an apparatus for measuring form parameters of items (2) utilizing a camera (10). According to a preferred embodiment of the invention, use is made of a camera (10) which is sensitive to infrared light, and, while passing through a field of view (11) of the camera (10), the items are illuminated with light flashes of approximately 1 ms by solid state LEDs (41), which are arranged at the centerline of the items (2) and produce a light beam (43) which includes an angle of approximately 45° with the direction of conveyance of the items (2).

Description: This invention relates to a method and an apparatus for measuring form parameters of items, utilizing a camera. Such a method and apparatus are known in practice (e.g. from US-A-4,645,080) in connection with the classification and/or sorting of items, more particularly vegetables and fruits, such as apples, pears, tomatoes, paprikas, and the like. The items are passed through a field of view of the camera and the image obtained by the camera is processed in an image-processing apparatus so as to provide the desired form parameters. The camera used is a normal black-and-white or color camera. A number of disadvantages are associated with the known method. A first disadvantage relates to the empirically established fact that the color of an item has an influence on the size as measured with the camera. In particular, the dimensions of a light item as measured by the camera are larger than those of a dark item of identical physical dimensions. A second disadvantage relates to the fact that a good measuring result requires a good contrast between the items to be measured and the background. That background is formed by the conveying means, such as a roller conveyor, which conveys the items through the field of view of the camera. The standard color of those rollers is black and it has been found that the contrast relative to dark items is so low that thereby a relatively great number of measuring errors are introduced. This applies especially to a particular type of apple grown in the U.S.A., viz., the "Red Delicious" apple, which is sometimes almost black. In practice it is attempted to solve this problem by utilizing a roller conveyor of a light-blue color, but this involves the disadvantage that, owing to the accumulation of dirt, the roller conveyor becomes darker with the passage of time, so that the contrast lessens. In addition, such accumulation occurs in an undefined manner. It is a further drawback that no use can be made of standard (black) parts. A third disadvantage relates to the fact that the result of the measurement is influenced by factors of the surroundings, such as daylight or light being used in another measuring process, for instance the color measurement described in Dutch patent application 92.00236. A fourth disadvantage relates to the capacity of the method, expressed in numbers per unit time. It will be clear that the camera can detect a good image of the item when the item is maintained in a stationary position for a given time within the field of view of the camera, but in that case the capacity is unacceptably low. Moreover, the method is also intended to be used in existing sorting machines, and the method for measuring form parameters should not lower the capacity of those sorting machines. Accordingly, the items are passed through the field of view of the camera at a given speed. As a result of that speed, each item travels a given distance within the field of view of the camera during the time when the camera records an image. The image of the item as measured by the camera is therefore, in a manner of speaking, spread out in the direction of movement of the items, so that measuring inaccuracies are introduced. The higher the speed of the items, the greater such inaccuracy will be. In practice, this problem is dealt with by illuminating the items with short light flashes by means of flash tubes. Because of the short light flash, the camera, as it were, sees a frozen image of the item, which is the so-called stroboscope effect. This solution, however, has been found to be unsatisfactory in practice since the flash tubes, under the desired operating conditions, have only a short lifetime of approximately 10,000 flashes, while, further, the shorter the duration of the light flashes supplied by those flash tubes, the shorter the lifetime of those flash tubes will be. Moreover, the flash tubes are sensitive to mechanical vibrations such as may occur in sorting machines, and they also suffer from the high temperatures occurring as a result of the continuous flashing operation. A further problem involved here is that the measuring station must be screened from the surroundings, not only to prevent the possibility of surrounding light reaching the measuring station and affecting the measurement, but also, and not in the least, to prevent the possibility of the light flashes reaching the surroundings from the measuring station, since this is particularly disturbing to the staff working there. The objects of the present invention are to remove the disadvantages mentioned. In particular, it is an object of the present invention to provide a method and an apparatus for measuring form parameters of items, in which the influence of the color of an item on the size measured with the camera is zero or at any rate reduced to a great extent. A further object of the present invention is to provide such a method and apparatus, in which the color of the background does not influence the contrast or at any rate does so to a markedly reduced extent, so that use can be made of standard parts. Yet another object of the present invention is to provide such a method and apparatus, in which the measurement is not influenced by surrounding light or, at any rate, is influenced to a highly reduced extent. In particular, the object of the invention is to provide such a method and apparatus which are suitable to be combined with the method and apparatus for carrying out a color measurement as described in Dutch patent application 92.00236. A yet further object of the present invention is to provide such a method and apparatus which have a high processing capacity and therefore permit the speed of conveyance of the items through the field of view of the camera to be relatively high. The invention therefore provides a method for measuring form parameters of items, comprising the steps of conveying said items through the field of view of a camera in a conveying direction substantially perpendicular to the direction of the said field of view, the said camera being adapted for providing an image signal to an image-processing apparatus; and illuminating the said items with light from light sources, characterized by the steps of illuminating the items with very short infrared light flashes of a duration shorter than 20 ms; the said camera being sensitive to infrared light and the said very short infrared light flashes of a duration shorter than 20 ms; being directed substantially in a plane substantially perpendicular to the direction of the field of view, the position of said plane being defined by the centerlines of the items. The invention also provides an apparatus for measuring form parameters of items comprising conveying means for conveying the items through the field of view of a camera in a conveying direction substantially perpendicular to the direction of the field of view, the said camera having an output for an image signal coupled to an image-processing apparatus; and illuminating means for illuminating the items, wherein said illuminating means comprises light sources arranged to radiate very short infrared light flashes of a duration shorter than 20 ms; the camera, preferably a matrix camera, being sensitive to infrared light and wherein said light sources are arranged to radiate said very short infrared light flashes of a duration shorter than 20 ms in a direction substantially perpendicular to the direction of the field of view, the position of said light sources corresponding to the centerlines of the items. According to an advantageous embodiment of the invention, use is made of very short infrared light flashes in the range of 700 nm - 1000 nm, the range about approximately 850 nm being preferred. This makes the measurement insensitive to the color of the items and the contrast with the background, while the very short light flashes in this wavelength range are not disturbing to the staff in the surroundings. According to another advantageous embodiment of the invention, use is made of solid state LEDs as light sources, which are capable of providing a very short light flash of a duration of the order of 1 ms. It is remarked that WO 91/06846 discloses as such the use of LEDs in a video inspection system. However, the specific method and apparatus of the invention are not disclosed. Further aspects, features and advantages of the present invention will be clarified by the following detailed discussion of a preferred embodiment with reference to the drawings, in which: Figure 1 is a schematic side elevation of a part of a preferred embodiment of an apparatus for carrying out the method according to the invention; Figure 2 is a schematic top plan view of a part of a conveyor track used in that apparatus; and Figure 3 is a schematic sectional view of that conveyor track. In Figure 1, a preferred embodiment of an apparatus for carrying out the method according to the invention is generally indicated by the reference numeral 1. The apparatus 1 comprises a camera 10, means 20 for conveying items 2 through the field of view 11 of the camera 10, and means 30 for illuminating the items 2. The field of view 11 of the camera 10, which is preferably a matrix camera, is bounded by broken lines in Figure 1 and is defined as that portion of three-dimensional space which can be observed by the camera. In general, a field of view has the shape of a pyramid or cone, whose centerline coincides with the optical axis 11A of the camera. Hereinafter 'viewing direction', also referred to as 'direction of the field of view', means the direction of that optical axis 11A starting from the camera 10. Figure 1 further shows that a mirror 12 may be arranged in front of the camera 10. The object of such an arrangement is merely to limit the overall height of the apparatus 1 in practice, as is known per se. The means 20 are adapted to convey the items 2 from left to right, as indicated by the arrow F1 in Figure 1, through the field of view 11 at a predetermined speed of translation v 1 , while simultaneously imparting a rotation to the items 2, as indicated by the arrow F2 in Figure 1, the axis of rotation being directed perpendicularly to the direction of conveyance F1. As is clearly apparent from Figure 1, the items 2 are conveyed through the field of view 11 transversely, which means that the optical axis 11A of the camera 10 is substantially perpendicular to the direction of conveyance F1. In the example shown in Figure 1, the conveying means 20 comprise a roller conveyor 21. Such a roller conveyor 21, shown in top plan view in Figure 2 and in front view in Figure 3, comprises rollers 22 which, parallel to each other, have their ends rotatably mounted on an endless chain, equidistantly spaced, the chain being driven. The rollers 22 have a substantially cylindrical shape and may have a contour that is suitable for centering and rotating the items. In the embodiment shown, the rollers 22 comprise a predetermined number of rotating/centering elements 23, whose shape substantially corresponds to that of two truncated cones mounted against each other in mirror-symmetrical relationship. According to the invention, the rotating/centering elements 23 are preferably made in the standard color black, which means a saving of cost. When the roller conveyor 21 is driven to convey the items 2, the rollers 22 will rotate (arrow F3 in Figure 1) so as to rotate the items 2. The rollers 22 may be supported on a supporting surface arranged stationarily relative to a machine frame, but preferably the rollers 22 are supported by an endless friction belt 25 mounted on driven wheels or rollers, arranged at the field of view 11, in order to influence the speed of rotation of the rollers 22 and hence the speed of rotation of the items 2. Since such a roller conveyor 21 and friction belt 25 are already known and the nature and construction thereof do not form a subject of the present invention, and knowledge of their operation is not necessary for a person of ordinary skill to have a good understanding of the present invention, they will not be discussed in further detail; for a detailled description thereof, reference can be made to Dutch patent application 90.00236. A stationary frame 31 extends in the direction of conveyance, above the rollers 22, at any rate at the field of view 11. Mounted on the stationary frame 31 are light sources 40, preferably next to the rotating/centering elements 23 of the rollers 22. The light sources 40 are disposed at a height such that, when items 2 are being conveyed on the roller conveyor 21, they are located at the centerline of the items 2, preferably substantially centered relative to that centerline. In practice, of course, the items 2 do not all have exactly the same size. Accordingly, the light sources 40 preferably have a vertical dimension which has been chosen with regard to their height position, such that when they are being passed by items 2 of the largest dimension to be expected, the light sources 40 can illuminate at least a part of the item located above the centerline thereof, and when they are being passed by items 2 of the smallest dimension to be expected, the light sources 40 can illuminate at least a part of the item located at the centerline thereof. To enable the apparatus 1 to be simply adapted to different kinds of items 2, the light sources 40 are preferably height-adjustable. The light sources 40 are arranged in such a manner that they substantially illuminate the contour of the items 2 as observed by the camera 10. This means that they emit their light substantially in a plane which is located at the height of the centerlines of the items 2 and which is directed substantially perpendicular to the optical axis 11A of the camera 10. In a preferential embodiment, the light sources 40 comprise a plurality of solid state LEDs 41 which radiate infrared light of a wavelength in the range of approximately 700 nm to approximately 1000 nm, the range around approximately 850 nm being preferred. The camera 10 has been selected to be sensitive to this wavelength. In a tested embodiment, each LED 41 radiates its light in a beam 43 having an apex angle α in the range of approximately 5° to approximately 15°. Each LED 41 is arranged such that the axis of the beam 43 is located substantially in a horizontal plane and includes an angle of approximately 45° with the direction of conveyance. As is shown clearly in Figure 3, the LEDs 41 in this embodiment are arranged in four horizontal rows 42 1 , 42 2 , 42 3 and 42 4 arranged above each other, the LEDs 41 in each row being directed in the same direction, while the LEDs 41 in the topmost row 42 1 and the third row 42 3 are oppositely directed to the LEDs 41 in the second row 42 2 and the lowermost row 42 4 . By "opposite" is meant that the LEDs 41 may be directed at an angle of approximately 45° relative to the direction of transport, either in forward or in rearward direction, so as to illuminate the rear side and the front side, respectively, of passing items 2. By virtue of the features described in the foregoing, a good illumination is provided of the contour of the items 2 as observed by the camera 10, as is clearly apparent from Figure 2. The LEDs can be controlled to provide a short light flash, of a duration of approximately 1 ms, so that the camera 10 can observe the items 2 only for a very short time, which means that the camera 10 observes a substantially stationary image of the items 2, in spite of a fairly high speed of conveyance. An image signal provided by the camera 10 is applied to an image-processing apparatus, not shown for the sake of simplicity, which may be an image-processing apparatus which is known per se. The image-processing apparatus may be adapted to calculate a predetermined form parameter from the image signal received. On the basis of the calculated form parameter the image-processing apparatus can generate a control signal for a downstream sorting apparatus for sorting the items. Depending on the kind of items 2, and depending on the wish of the user of the apparatus 1, that form parameter may for instance simply be the largest length dimension L max , or the largest transverse dimension D max . The L max /D max ratio can also be used as a form parameter. It is also possible for the image-processing apparatus to be adapted to determine the largest transverse dimension D max and the smallest transverse dimension D min of item 2, and to calculate the D max /D min ratio as form parameter. It will be clear, however, that the user is free to program the image-processing apparatus to calculate from the image signal received any form parameter that is considered suitable. The image-processing apparatus may be adapted to receive a predetermined number of image signals from each item 2, in each case obtained from a different rotational position of that item 2, and to calculate the desired form parameter as the average or, conversely, an extreme value of the measured values. According to a further elaboration of the concept of the invention, the image-processing apparatus, for the purpose of a quality control, may be adapted to examine the image signal received for characteristics which are representative of attack or infection of the item. It has been found that damaged spots on vegetables or fruits as a result of fall or any other impact, or as a result of fungal attack, can be observed sooner and more clearly under infrared light than under visible light. It will be clear to a person of ordinary skill that it is possible to change or modify the embodiment of the apparatus according to the invention as shown without departing from the concept of the invention or the scope of protection. It will further be clear that the invention is not limited to use in vegetables or fruit.

Claims: A method for measuring form parameters of items (2), comprising the steps of conveying said items (2) through the field of view (11) of a camera (10) in a conveying direction (F 1 ) substantially perpendicular to the direction (11A) of the said field of view (11), the said camera being adapted for providing an image signal to an image-processing apparatus; and illuminating the said items (2) with light from light sources (41), characterized by the steps of illuminating the items (2) with very short infrared light flashes of a duration shorter than 20 ms; the said camera (10) being sensitive to infrared light and the said very short infrared light flashes of a duration shorter than 20 ms; being directed substantially in a plane substantially perpendicular to the direction (11A) of the field of view (11), the position of said plane being defined by the centerlines of the items (2). The method as claimed in claim 1, characterized in that the items (2), at least within a field of view (11) of the camera (10), are illuminated with very short infrared light flashes which have a wavelength in the range of 700 nm - 1000 nm. The method as claimed in claims 1 or 2, characterized in that the items (2), at least in a field of view (11) of the camera (10), are illuminated by means of solid state LEDs (41). The method as claimed in claim 3, characterized in that the solid state LEDs (41) are controlled to emit very short infrared light flashes of a duration of the order of 1 ms. The method as claimed in any one of claims 1-4, characterized in that the items are observed in one assessment station by a color camera for performing color measurements and to that end are illuminated with visible light. The method as claimed in any one of the preceding claims, characterized in that the obtained image signal is processed for calculating the L max /D max ratio, L max being the largest length dimension and D max being the largest transverse dimension of a measured item. The method as claimed in any one of the preceding claims, characterized in that the obtained image signal is processed for the purpose of quality control through the detection of deviant spots which may represent damage and/or fungal attack. The method as claimed in any one of the preceding claims, characterized in that several measurements are performed on the items (2) to be examined, in each case in a different rotational position of that item (2), and the desired form parameter is calculated as an average or, conversely, as an extreme value of the measured values. An apparatus for measuring form parameters of items (2) according to the method of any of claims 1 to 8, characterized by conveying means (20) for conveying the items (2) through the field of view (11) of a camera (10) in a conveying direction (F 1 ) substantially perpendicular to the direction (11A) of the field of view (11), the said camera having an output for an image signal coupled to an image-processing apparatus; and illuminating means (30) for illuminating the items (2), wherein said illuminating means (30) comprises light sources (40;41) arranged to radiate very short infra-red light flashes of a duration shorter than 20 ms; the camera (10), preferably a matrix camera, being sensitive to infra-red light and wherein said light sources (40;41) are arranged to radiate said very short infra-red light flashes of a duration shorter than 20 ms in a direction substantially perpendicular to the direction (11A) of the field of view, the position of said light sources (40;41) corresponding to the centerlines of the items (2). The apparatus as claimed in claim 9, characterized in that said illuminating means (30) comprise solid state LEDs (41). The apparatus as claimed in claims 10 or 11, characterized in that the illuminating means (30) comprise height-adjustable light sources (40;41) and the height position of the light sources (40;41) can be set so as to correspond with the height of the centerline of items (2) when they are located in the field of view (11). The apparatus as claimed in any one of the preceding claims, characterized in that a light source radiates its light in a beam (43) whose axis is located substantially in a horizontal plane and includes an angle of approximately 45° with the direction of conveyance. The apparatus as claimed in any one of claims 10-12, characterized in that the light sources (40;41) are arranged in horizontal rows (42 1 , 42 2 , 42 3 and 42 4 ), the light sources (40;41) in each row being directed in the same direction relative to each other, and the light sources (40;41) in each row being directed oppositely to the light sources (40;41) in the neighbouring row or rows.

Inventors: CREZEE LEONARD PAULUS, CREZEE, LEONARD PAULUS
Applicants: AWETA BV, AWETA B.V.
Application year: 1994
Main classification: G01B11
IPC codes: B07C5, G01B11