Method for analyzing the quality of a glazing
09588059 · 2017-03-07
Assignee
Inventors
Cpc classification
G01N21/958
PHYSICS
G01B11/2513
PHYSICS
International classification
G01M5/00
PHYSICS
G01B11/25
PHYSICS
G01N21/95
PHYSICS
Abstract
A method for analyzing quality of a glazing including: generating at least one digital image of a test chart produced in reflection by an external surface of the glazing on an outside of the glazing; computation by at least one processing unit of quantities representative of the quality of the glazing based on the at least one image generated; and comparing values computed for the representative quantities with respect to reference values. The test chart exhibits a pattern including elements of closed contours arranged periodically. The representative quantities are representative of a deformation of the image of the test chart produced in reflection by the external surface of the glazing on the outside of the glazing, and the computation of a representative quantity includes the computation of a density of the elements.
Claims
1. A method for analyzing the quality of a glazing, comprising: generating at least one digital image of a test chart produced in reflection by an external surface of the glazing on an outside of the glazing; computing, by at least one processing unit, quantities representative of the quality of the glazing based on the at least one image generated, including dividing the image into a plurality of zones and, for at least one of the zones, computing a local density for each pixel based on a neighborhood of the pixel, the neighborhood including the pixel and plural pixels surrounding the pixel with the pixel as a center of the neighborhood, and after the computing a local density for each pixel, computing a local statistical quantity for each pixel in the zone by determining a local standard deviation or a local rate of change of the local density for each pixel in the zone; comparing values computed for the representative quantities with respect to reference values; in which the test chart exhibits a pattern comprising elements of closed contours arranged periodically, and in which the representative quantities are representative of a deformation of the image of the test chart produced in reflection by the external surface of the glazing on the outside of the glazing.
2. The method as claimed in claim 1, in which the elements are arranged periodically in at least two directions.
3. The method as claimed in claim 1, in which the elements have a larger dimension of less than or equal to 50 mm.
4. The method as claimed in claim 1, in which the elements are of identical contours.
5. The method as claimed in claim 1, in which the one of the zones of the image comprises at least five elements.
6. The method as claimed in claim 1, in which the computing a local density is repeated inside each of the plurality of zones of the image.
7. The method as claimed in claim 1, in which at least one of the representative quantities is a global statistical quantity computed based on values of the local statistical quantities over at least one of the zones.
8. The method as claimed in claim 7, in which the computation of the local or global statistical quantity includes computation of one of the following quantities, taken in isolation or in any possible combination: an average, a weighted average, a median, a number of occurrences above or below a reference value, a maximum, a minimum, a standard deviation, or the deviation between a maximum and a minimum.
9. The method as claimed in claim 1, in which the elements have a larger dimension of less than or equal to 20 mm.
10. The method as claimed in claim 1, in which the elements have a larger dimension of less than or equal to 10 mm.
11. The method as claimed in claim 1, further comprising, after the computing a local statistical quantity for each pixel in the zone, computing a global statistical quantity for the zone based on one or more of a maximum, a weighted average, a median, a minimum, a deviation between a maximum and a minimum, and a number of occurrences above or below a reference value of the local density for each pixel in the zone.
12. The method as claimed in claim 11, wherein the comparing values includes comparing the global statistical quantity for the zone with a reference quantity.
13. A device for analyzing the quality of a glazing, comprising: means for generating a digital image of a test chart produced in reflection by an external surface of the glazing on an outside of the glazing; and a processing unit for processing the image generated, the processing unit comprising a memory and a computer, the processing unit being configured to: compute, quantities representative of the quality of the glazing based on the at least one image generated, including dividing the image into a plurality of zones and, for at least one of the zones, computing a local density for each pixel based on a neighborhood of the pixel, the neighborhood including the pixel and plural pixels surrounding the pixel with the pixel as a center of the neighborhood, and after the computing a local density for each pixel, computing a local statistical quantity for each pixel in the zone by determining a local standard deviation or a local rate of change of the local density for each pixel in the zone; and compare values computed for the representative quantities with respect to reference values; in which the test chart exhibits a pattern comprising elements of closed contours arranged periodically, and in which the representative quantities being representative of a deformation of the image of the test chart produced in reflection by the external surface of the glazing on the outside of the glazing.
14. A method for analyzing the quality of a glazing, comprising: generating at least one digital image of a test chart produced in reflection by an external surface of the glazing on an outside of the glazing; computing, by at least one processing unit, quantities representative of the quality of the glazing based on the at least one image generated, including dividing the image into a plurality of zones and, for at least one of the zones computing a local density for each pixel based on a neighborhood of the pixel, the neighborhood including the pixel and plural pixels surrounding the pixel with the pixel as a center of the neighborhood; and comparing values computed for the representative quantities with respect to reference values; in which the test chart exhibits a pattern comprising elements of closed contours arranged periodically, and in which the representative quantities are representative of a deformation of the image of the test chart produced in reflection by the external surface of the glazing on the outside of the glazing, and in which the computing the local density for each pixel includes calculating an average based on a number of pixels in the neighborhood of the pixel that belong to a contour of the elements.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The invention will be better understood on reading the description which follows, given solely by way of example, while referring to the appended drawings in which:
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7)
(8) The device comprises a test chart 4, a digital snapshot apparatus 6, and a processing unit 8 for the image produced by the apparatus 6.
(9) The test chart pattern illustrated in
(10) As a variant, the checkers have a shape of any suitable type, for example a shape of a polygon, for example a triangle or parallelogram, for example a square or lozenge. In a general way, it entails a pattern of adjoining and contrasted checkers forming a checkerboard.
(11)
(12) It should be noted that the examples of patterns provided are nonlimiting. Furthermore, the black and white colors may be reversed, that is to say the negatives of the test chart patterns illustrated may be used.
(13)
(14) As a variant, the checkers have a shape of any suitable type for example a shape of a polygon, for example a triangle or parallelogram, for example a square or lozenge. Round contrasted elements constitute a variant.
(15) In a general way, the elements are closed contour elements. The elements are spaced apart and arranged periodically in at least one direction, for example in two for example perpendicular directions.
(16) The pattern of
(17) As a variant, the checkers have a shape of any suitable type for example a shape of a polygon, for example triangle or parallelogram, for example square or lozenge.
(18) In a general way the elements are elements of closed contours defined by the strands of a grid, the elements being arranged periodically in at least one direction, for example in two for example perpendicular directions.
(19) In the three cases of
(20) In a preferred manner, the elements are of identical shapes and/or of the same dimensions.
(21) In a preferred manner also, the elements have a larger dimension of less than or equal to 50 mm, preferably less than or equal to 20 mm, preferably less than or equal to 10 mm.
(22) A test chart with a pattern according to
(23) In a general way, the dimensions of the elements are, however, of any suitable type.
(24) The test chart is for example composed of a single pattern such as illustrated in
(25) The test chart preferably has dimensions and a positioning that are suitable for generating an image over the whole of the surface of the glazing.
(26) The test chart 4 is here a screen onto which an image is projected by a projector 10.
(27) The test chart 4 is preferably plane. The digital apparatus 6, which is for example a camera (or photographic apparatus) with CCD sensors, is arranged so as to receive the image in reflection of the test chart 4. In the example illustrated, the apparatus 6 is placed on the opposite side from the test chart 4 with respect to the glazing 2.
(28) The angle between the axis of the digital apparatus 6 and the normal to the plane of the glazing 2 is between 020 and 90 with the surface of the glazing 2. This angle is for example between 40 and 70 for a motor vehicle lateral glazing, for example about 60, so as to be as close as possible to the actual conditions of observation. For a motor vehicle roof, this angle will be for example between 60 and 80, for example about 75. An angle of more than for example 40 makes it possible to reduce the disturbances, if any, due to secondary reflections. Concerning the test chart 4, note that the angle between the plane of the test chart 4 and the plane of the glazing 2 is preferably equal to the angle between the axis of the digital apparatus 6 and the normal to the plane of the glazing 2.
(29) In the case of an inwardly curved glazing, the plane tangent to the center of the glazing 2 will be considered for example to be the plane of the glazing 4.
(30) The digital apparatus 6 provides the processing unit 8 with a digitized image of the image in reflection of the test chart 4 produced by the glazing 2.
(31) The raw image produced by a glazing 2 is illustrated in
(32) The digitally acquired image is thereafter processed in an automated manner by the processing unit 8, for at least one predefined zone Z of the image. It should be noted that, in the example illustrated in
(33) The processing unit 8 comprises a memory 14 on which are recorded processing programs, and a computer 16 suitable for executing the processing programs.
(34) The processing programs are able to carry out, by means of the computer 16, computations of quantities representative of a deformation of the image produced in reflection by the glazing 2.
(35) The representative quantities are thereafter used to choose to reject the glazing 2 as a function of the result of the comparison between the values computed for the corresponding glazing 2 and reference values.
(36) The reference values are for example obtained by measurement and computation on reference samples.
(37) The quantities are more particularly, in the example described, representative of a local density of the elements making up the test chart. This constitutes an essential characteristic of the invention.
(38) The local density of the elements making up the test chart at a pixel P.sub.k of the image is for example obtained by computing the density of the elements in a neighborhood V.sub.k of the pixel P.sub.k. The neighborhood V.sub.k is a zone which includes pixels surrounding the pixel and is for example centered on the pixel P.sub.k.
(39) In a preferred manner, for each pixel P.sub.k of a predefined zone Z of the image, the processing unit computes a value representative of a local density of the elements in the neighborhood V.sub.k of each pixel P.sub.k.
(40) The neighborhoods V.sub.k are for example all of identical dimensions.
(41) The local density value is for example obtained by an average of the number of pixels belonging to the contour of the elements in the neighborhood. The pixels of contours/edges are for example detected by means of a Canny filter applied to the image as gray levels.
(42) A variant in respect of the density computation consists in carrying out a statistical computation on the neighborhood, for example a standard deviation of the gray levels of the image. According to another variant, a frequency analysis of the elements is undertaken, for example by means of a Fourier transform on the gray levels.
(43) Each pixel P.sub.k is thus for example assigned a value of local density of the elements in a neighborhood of the pixel P.sub.k.
(44)
(45) Indeed, to visually emphasize the values of local density of the elements, each pixel of the image has been colored as a function of its value. The pixels corresponding to high values of local density appear lighter.
(46) In a second computation step, the program is such that the processing unit 8 computes a local standard deviation E or a local Rate of Change RoC (or rate of variation) of local density of the elements for each pixel of the image inside each analysis zone Z.
(47) To carry out this computation, in the same manner as previously, a neighborhood V.sub.k is defined for each pixel P.sub.k.
(48) The value obtained is assigned to each pixel P.sub.K.
(49) The neighborhood V.sub.k is a zone which includes pixels surrounding the pixel and is for example centered on the pixel P.sub.k. It is for example the same neighborhood as the neighborhood V.sub.k.
(50) In a preferred manner, for each pixel P.sub.k of a predefined zone Z of the image, the processing unit computes a value representative of a variation of local density of the elements in the neighborhood V.sub.k of each pixel P.sub.k.
(51) The neighborhoods V.sub.k are for example all of identical dimensions.
(52) Note that the local rate of change RoC is for example obtained by computing the difference between the maximum value of local density in the neighborhood V.sub.k and the minimum value.
(53) As a variant, the statistical quantity is for example a weighted average, a median, a maximum, a minimum, a number of occurrences above or below a reference value, another statistical quantity of any suitable type, or else a combination of several of these quantities, of any suitable type.
(54) In a third step, a global statistical quantity is for example computed on the basis of the local statistical quantities.
(55) This entails for example computing the maximum, over the analysis zone Z, of the local statistical quantity of all the pixels P.sub.k of the analysis zone Z.
(56) As a variant, the statistical quantity is a weighted average, a median, a minimum, a deviation between a maximum and a minimum, a number of occurrences above or below a reference value, another statistical quantity of any suitable type, or else a combination of several of these quantities, of any suitable type.
(57) In a general way it is thus a statistical quantity of local density of the elements, that is to say a statistical quantity computed on the basis of several values of local densities of the elements.
(58) It should however be noted that, even if statistical quantities are preferred, as a variant raw values may be involved, which are compared directly with reference values.
(59) In
(60) For each glazing 2, and each analysis zone Z, the value of global statistical quantity is compared with a reference value. The processing programs of the unit 8 are for example able to perform this comparison. The reference values are defined for each zone Z and are for example different for different zones Z.
(61) The result of the comparison will lead for example to the rejection of the glazing 2 of
(62) As a variant, a different number of analysis zones Z is defined. The number, the position and the extent of the analysis zone or zones Z are chosen from any suitable type.
(63) In addition to the device described hereinabove, the subject of the invention is also the method implementing the device hereinabove, namely, in a general way, a method comprising: a step of generating a digital image of the test chart 4 produced in reflection by the external surface of the glazing 2 on the outside of the glazing 2; a step of computation by the processing unit 8 of quantities representative of the quality of the glazing 2 on the basis of the image generated; and a step of comparing the values computed for the representative quantities with respect to reference values.
(64) The test chart 4 exhibits a pattern comprising elements of closed and identical contours arranged periodically, in which the representative quantities are representative of a deformation of the image of the test chart produced in reflection by the external surface of the glazing on the outside of the glazing and in which the step of computing a representative quantity includes the computation of a density of the elements, for example a local density of the elements.
(65) According to particular embodiments, the method according to the invention exhibits the characteristics described hereinabove.
(66) As a variant, the method is implemented for at least one additional image, for example one additional image, so as to make the choice of rejection as a function of the results obtained for the various images.
(67) The additional image is for example obtained by means of an additional camera, with synchronized acquisition, for example simultaneous.
(68) As a variant, the additional image is obtained with the same camera but after displacement of the camera, of the glazing or of the test chart.
(69) As a variant again, the additional image is obtained without displacing the camera and the glazing but after modification of the pattern of the test chart or modification of the angle of the plane of the test chart with respect to the glazing.
(70) The reference values are for example obtained by a simulation on the basis of the external surface of the glazing, for example on the basis of a theoretical surface of the glazing, on the basis of a measured surface or else on the basis of a surface obtained by simulation of the bending of the glazing. The use of a test chart and of a digital apparatus is then not necessary.
(71) As a variant, the reference values are computed on the basis of an image acquired on a reference glazing.
(72) As a variant again, the image of contrasted elements is not obtained by projection onto a screen but by a test chart which is in itself contrasted.
(73) As a variant also, the method according to the invention is combined with a method of known type computing the altitude of the external surface of the glazing. The two methods can indeed provide complementary information.