CN114184278A - Door and window color difference detection device and color difference detection algorithm - Google Patents
Door and window color difference detection device and color difference detection algorithm Download PDFInfo
- Publication number
- CN114184278A CN114184278A CN202111557924.8A CN202111557924A CN114184278A CN 114184278 A CN114184278 A CN 114184278A CN 202111557924 A CN202111557924 A CN 202111557924A CN 114184278 A CN114184278 A CN 114184278A
- Authority
- CN
- China
- Prior art keywords
- door
- window
- color difference
- image
- difference detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 45
- 230000005540 biological transmission Effects 0.000 claims abstract description 8
- 230000007246 mechanism Effects 0.000 claims abstract description 8
- 230000001502 supplementing effect Effects 0.000 claims abstract description 7
- 230000005622 photoelectricity Effects 0.000 claims abstract description 4
- 238000007781 pre-processing Methods 0.000 claims abstract description 4
- 230000001960 triggered effect Effects 0.000 claims abstract description 4
- XOFYZVNMUHMLCC-ZPOLXVRWSA-N prednisone Chemical compound O=C1C=C[C@]2(C)[C@H]3C(=O)C[C@](C)([C@@](CC4)(O)C(=O)CO)[C@@H]4[C@@H]3CCC2=C1 XOFYZVNMUHMLCC-ZPOLXVRWSA-N 0.000 claims description 10
- 230000004075 alteration Effects 0.000 claims description 7
- 238000001914 filtration Methods 0.000 claims description 6
- 238000000034 method Methods 0.000 claims description 5
- 239000011521 glass Substances 0.000 claims description 3
- 230000001681 protective effect Effects 0.000 claims description 3
- 238000004519 manufacturing process Methods 0.000 abstract description 6
- 239000000047 product Substances 0.000 description 37
- 230000006872 improvement Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000004456 color vision Effects 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000004438 eyesight Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000016776 visual perception Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J3/00—Spectrometry; Spectrophotometry; Monochromators; Measuring colours
- G01J3/46—Measurement of colour; Colour measuring devices, e.g. colorimeters
- G01J3/50—Measurement of colour; Colour measuring devices, e.g. colorimeters using electric radiation detectors
-
- G06T5/70—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
Abstract
The invention discloses a door and window color difference detection device and a color difference detection algorithm, wherein the door and window color difference detection device comprises a light-transmission-preventing closed cover, a photoelectric sensor, a first camera, a second camera, a light-supplementing light source, a transmission mechanism, a belt and a supporting foot frame; the light supplementing light sources are equidistantly arranged on the top of the light-transmission-preventing closed cover; the photoelectric sensor is arranged right above the belt, and is triggered to take a picture by adopting photoelectricity, and the camera automatically acquires an image; the two light-transmitting-preventing closed covers are used for detecting the color difference and the section shape of a door and window product from right to left respectively. The door and window color difference detection algorithm comprises three modules, namely door and window image acquisition, door and window image preprocessing and door and window color difference detection, and is used for calculating the color difference value of the image of a door and window standard sample and the image of a door and window product to be tested, so that the color difference detection of the door and window product is completed. The algorithm improves the efficiency of detecting the quality of the door and window color difference, and can meet the production requirements in the industrial field of detecting the quality of the door and window color difference.
Description
Technical Field
The invention relates to the field of door and window product manufacturing, in particular to a door and window color difference detection device and a color difference detection algorithm.
Background
With the continuous improvement of the living standard of people and the vigorous development of the infrastructure, the door and window has larger and larger dosage, more and more varieties and higher requirements on the quality. Due to the complexity of the door and window production process, the color nonuniformity and the mismatching of the section shapes of the doors and the windows are inevitably caused. The color difference of the surface color of the door and window is an important index for evaluating the quality of the finished product of the uniform-color door and window, and directly influences the decorative effect of the door and window.
Meanwhile, doors and windows are an important link for indoor decoration and the color difference is an important factor for the quality of door and window products. The traditional manual detection on the color difference quality is not only low in efficiency, but also poor in stability. Therefore, the way of detecting chromatic aberration by relying only on human vision has not been able to meet the production requirements of modern industrial fields. Based on the problem of chromatic aberration in the manufacturing process of doors and windows, the decoration and use process can be affected by the poor appearance and the inconsistent splicing of the sectional shapes of the doors and the windows, so that the development of a machine vision system for replacing manual chromatic aberration detection is of great significance to the development of enterprises.
Disclosure of Invention
In view of the above, the present invention provides a door and window color difference detection apparatus and a color difference detection algorithm to avoid the disadvantages in the prior art, which improves the efficiency of detecting the color difference quality of the door and window and can meet the production requirements in the industrial field of detecting the color difference quality of the door and window.
The invention provides a door and window color difference detection device and a color difference detection algorithm, wherein the door and window color difference detection device comprises a light-transmission-preventing closed cover, a photoelectric sensor, a first camera, a second camera, a light-supplementing light source, a transmission mechanism, a belt and a supporting foot frame; the light supplementing light sources are equidistantly arranged on the top of the light-transmission-preventing closed cover; the photoelectric sensor is arranged right above the belt, and is triggered to take a picture by adopting photoelectricity, and the camera automatically acquires an image; the two light-transmitting-preventing closed covers are used for detecting the color difference and the section shape of a door and window product from right to left respectively.
As a further improvement, the first camera is vertically and downwards arranged on the supporting foot rest, and an included angle of 60 degrees is formed between the first camera and the vertical direction of the supporting foot rest.
As a further improvement, the first video camera and the second video camera both adopt Basler area array industrial cameras, and protective glass is additionally arranged in front of the camera lens.
As a further improvement, the detection of the sectional shape of the door and window images is used for splicing doors and windows mutually.
The invention provides a door and window color difference detection device and a color difference detection algorithm, which are characterized by comprising the following steps of:
the first step is as follows: door and window image acquisition
1-1, respectively acquiring an image of a door and window standard sample and an image of a door and window product to be tested;
1-2, respectively storing the image of the door and window standard sample and the image of the door and window product to be tested;
the second step is that: door and window image preprocessing
2-1, denoising the door and window images, and selecting a filtering window with the size of 3 x 3 to perform median filtering denoising treatment on the door and window images on the basis of the step 1-2.
2-2, segmenting the door and window images, and on the basis of the step 2-1, selecting a dynamic threshold value method to segment the images of the door and window standard sample and the door and window product to be tested, and removing the background image.
2-3, extracting the window and door image area, and extracting the specific area of the window and door image with the size of 50 x 50 pixels on the basis of the step 2-2.
The third step: door and window color difference detection
3-1, converting the RGB color space into an LAB color space, and converting the color space of the extracted specific door and window area on the basis of the step 2-3.
3-2, calculating the color difference value delta E between the image of the door and window standard sample and the image of the door and window product to be tested, and calculating the color difference value delta E by adopting a CIEDE2000 formula on the basis of the step 3-1.
3-3, judging the color difference of the door and the window, comparing the calculated color difference value delta E with a preset threshold value E' on the basis of the step 3-2, and judging whether the color difference of the door and the window products is qualified.
The beneficial effects of the implementation of the invention are as follows: the system for detecting the chromatic aberration of the door and window products combines the anti-light-transmission closed cover, the photoelectric sensor, the first camera, the second camera, the light supplementing light source, the transmission mechanism, the belt and the supporting foot frame. When the door and window frame works, a door and window product is placed on the belt and moves along with the transmission mechanism; the door and window products are conveyed to the interior of the first light-transmission-preventing closed cover along with the belt, photo-electric triggering photographing is carried out through the photoelectric sensor, under the action of the light supplementing light source, the first camera carries out image acquisition on the door and window products, and detection of color difference of the door and window products is achieved; then, the door and window product conveys along with the belt and prevents inside the light-transmitting enclosure of second, carries out photoelectric triggering through photoelectric sensor and shoots, and under the effect of light filling light source, the second camera carries out image acquisition to the door and window product, realizes that the cross-sectional shape of door and window product detects. The invention can effectively improve the color difference quality of the door and the window and the matching rate of the section shape, and improves the reliability of the detection of the color difference quality of the door and the window.
Correspondingly, the first camera is vertically and downwards arranged on the supporting foot frame, so that the quality of the color difference image of the door and window product can be improved, and the quality of the cross-section shape image of the door and window product can be improved due to the fact that the first camera forms an included angle of 60 degrees with the vertical direction of the supporting foot frame; the color difference value of the door and window image is calculated in the LAB color space through a CIEDE2000 formula, and the color difference value can be matched with the color perception of human eyes, so that the detection research on small color difference of door and window products is facilitated.
Drawings
The invention is further illustrated by means of the attached drawings, but the embodiments in the drawings do not constitute any limitation to the invention, and for a person skilled in the art, other drawings can be obtained on the basis of the following drawings without inventive effort.
FIG. 1 is a schematic diagram of a door/window color difference detection device and a color difference detection algorithm;
in the figure: 1. a photosensor; 2. a light source for light supplement; 3. a first camera; 4. a light-transmission-preventing enclosure; 5. a supporting foot rest; 6. a belt; 7. a transmission mechanism; 8. a second camera; 9. door and window products.
Fig. 2 is an overall framework diagram of an algorithm of a door and window color difference detection device and a color difference detection algorithm.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings and specific embodiments, and it is to be noted that the embodiments and features of the embodiments of the present application can be combined with each other without conflict.
Referring to fig. 1, fig. 1 shows a first embodiment of a door and window color difference detection device and a color difference detection algorithm, the door and window color difference detection device comprises a light-transmission-proof closed cover, a photoelectric sensor, a first camera, a second camera, a light-supplementing light source, a transmission mechanism, a belt and a support foot rest; the light supplementing light sources are equidistantly arranged on the top of the light-transmission-preventing closed cover; the photoelectric sensor is arranged right above the belt, and is triggered to take a picture by adopting photoelectricity, and the camera automatically acquires an image; the two light-transmitting-preventing closed covers are used for detecting the color difference and the section shape of a door and window product from right to left respectively.
Further, first camera perpendicular downwards set up in the support foot rest, first camera and the vertical direction of support foot rest be 60 contained angles, guarantee door and window product image acquisition's stability and uniformity.
Furthermore, the first video camera and the second video camera both adopt Basler area array industrial cameras, and protective glass is additionally arranged in front of the camera lens, so that the quality of image acquisition is improved, and the aim of dust removal is fulfilled.
Further, the detection of the sectional shape of the door and window image is used for splicing the doors and the windows mutually.
When the door and window frame works, a door and window product is placed on the belt and moves along with the transmission mechanism; the door and window products are conveyed to the interior of the first light-transmission-preventing closed cover along with the belt, photo-electric triggering photographing is carried out through the photoelectric sensor, under the action of the light supplementing light source, the first camera carries out image acquisition on the door and window products, and detection of color difference of the door and window products is achieved; then, the door and window product conveys along with the belt and prevents inside the light-transmitting enclosure of second, carries out photoelectric triggering through photoelectric sensor and shoots, and under the effect of light filling light source, the second camera carries out image acquisition to the door and window product, realizes that the cross-sectional shape of door and window product detects.
Referring to fig. 2, the device for detecting color difference of doors and windows and the method for detecting color difference algorithm provided by the embodiment of the invention include the following steps:
the first step is as follows: door and window image acquisition
1-1, respectively acquiring an image of a door and window standard sample and an image of a door and window product to be tested;
1-2, respectively storing the image of the door and window standard sample and the image of the door and window product to be tested;
the second step is that: door and window image preprocessing
2-1, denoising the door and window images, and selecting a filtering window with the size of 3 x 3 to perform median filtering denoising treatment on the door and window images on the basis of the step 1-2.
2-2, segmenting the door and window images, and on the basis of the step 2-1, selecting a dynamic threshold value method to segment the images of the door and window standard sample and the door and window product to be tested, and removing the background image.
2-3, extracting the window and door image area, and extracting the specific area of the window and door image with the size of 50 x 50 pixels on the basis of the step 2-2.
The third step: door and window color difference detection
3-1, converting the RGB color space into an LAB color space, and converting the color space of the extracted specific door and window area on the basis of the step 2-3.
3-2, calculating the color difference value delta E between the image of the door and window standard sample and the image of the door and window product to be tested, and calculating the color difference value delta E by adopting a CIEDE2000 formula on the basis of the step 3-1.
3-3, judging the color difference of the door and the window, comparing the calculated color difference value delta E with a preset threshold value E' on the basis of the step 3-2, and judging whether the color difference of the door and the window products is qualified.
The algorithm is further characterized by the detection of the color difference of the doors and windows, the conversion of the color space and the calculation of the color difference value of the door and window products.
The LAB color space is a uniform color space that conforms to the human visual perception. Firstly, converting an RGB color space into an XYZ color space, wherein the conversion formula is as follows:
and then converting the XYZ color space into an LAB color space, wherein the conversion formula is as follows:
A=500*(f(X/Xn)-f(Y/Yn))
B=200*(f(Y/Yn)-f(Z/Zn))
in the formula, Xn=95.04,Yn=100.00,Zn108.89 is the white light tristimulus value of the CIE standard illuminant. After the LAB color space is converted, the color difference value delta E is calculated through a CIEDE2000 formula, so that the calculated color difference value of the door and window image can be matched with the color perception of human eyes most, and the detection research on small color difference of door and window products is facilitated.
In the description above, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore should not be construed as limiting the scope of the present invention.
In conclusion, although the present invention has been described with reference to the preferred embodiments, it should be noted that, although various changes and modifications may be made by those skilled in the art, they should be included in the scope of the present invention unless they depart from the scope of the present invention.
Claims (5)
1. A door and window color difference detection device and a color difference detection algorithm are characterized in that the door and window color difference detection device comprises a light-transmission-proof closed cover, a photoelectric sensor, a first camera, a second camera, a light-compensating light source, a transmission mechanism, a belt and a supporting foot frame;
the light supplementing light sources are equidistantly arranged on the top of the light-transmission-preventing closed cover;
the photoelectric sensor is arranged right above the belt, and is triggered to take a picture by adopting photoelectricity, and the camera automatically acquires an image;
the two light-transmitting-preventing closed covers are used for detecting the color difference and the section shape of a door and window product from right to left respectively.
2. The device for detecting the chromatic aberration of doors and windows according to claim 1, wherein the first camera is vertically and downwardly arranged on the supporting foot frame, and an included angle of 60 degrees is formed between the first camera and the supporting foot frame in the vertical direction.
3. The device for detecting the chromatic aberration of doors and windows as claimed in claim 1, wherein the first video camera and the second video camera both adopt Basler area array industrial cameras, and a protective glass is additionally arranged in front of a camera lens.
4. The device for detecting chromatic aberration of doors and windows according to claim 1, wherein the detection of the sectional shape of the image of the doors and windows is used for splicing the doors and windows with each other.
5. A door and window color difference detection device and a color difference detection algorithm are characterized by comprising the following steps:
the first step is as follows: door and window image acquisition
1-1, respectively acquiring an image of a door and window standard sample and an image of a door and window product to be tested;
1-2, respectively storing the image of the door and window standard sample and the image of the door and window product to be tested;
the second step is that: door and window image preprocessing
2-1, denoising the door and window images, and selecting a filtering window with the size of 3 x 3 to perform median filtering denoising treatment on the door and window images on the basis of the step 1-2.
2-2, segmenting the door and window images, and on the basis of the step 2-1, selecting a dynamic threshold value method to segment the images of the door and window standard sample and the door and window product to be tested, and removing the background image.
2-3, extracting the window and door image area, and extracting the specific area of the window and door image with the size of 50 x 50 pixels on the basis of the step 2-2.
The third step: door and window color difference detection
3-1, converting the RGB color space into an LAB color space, and converting the color space of the extracted specific door and window area on the basis of the step 2-3.
3-2, calculating the color difference value delta E between the image of the door and window standard sample and the image of the door and window product to be tested, and calculating the color difference value delta E by adopting a CIEDE2000 formula on the basis of the step 3-1.
3-3, judging the color difference of the door and the window, comparing the calculated color difference value delta E with a preset threshold value E' on the basis of the step 3-2, and judging whether the color difference of the door and the window products is qualified.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111557924.8A CN114184278A (en) | 2021-12-20 | 2021-12-20 | Door and window color difference detection device and color difference detection algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111557924.8A CN114184278A (en) | 2021-12-20 | 2021-12-20 | Door and window color difference detection device and color difference detection algorithm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114184278A true CN114184278A (en) | 2022-03-15 |
Family
ID=80605552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111557924.8A Pending CN114184278A (en) | 2021-12-20 | 2021-12-20 | Door and window color difference detection device and color difference detection algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114184278A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101620179A (en) * | 2009-08-05 | 2010-01-06 | 燕山大学 | Scanning type glass color difference measuring device and measuring method thereof |
CN106323989A (en) * | 2016-10-21 | 2017-01-11 | 泉州装备制造研究所 | Chromatic aberration on-line detection system and method of ceramic tiles |
CN109141640A (en) * | 2018-08-03 | 2019-01-04 | 深圳市销邦科技股份有限公司 | Acetes chinensis method, system, equipment and storage medium based on machine vision |
CN209858420U (en) * | 2019-04-16 | 2019-12-27 | 亚智系统科技(苏州)有限公司 | Coated glass color detection mechanism |
CN111272673A (en) * | 2020-03-23 | 2020-06-12 | 泸州麦穗智能科技有限公司 | Non-pure-color cloth color difference detection system and detection method |
CN211699002U (en) * | 2020-04-13 | 2020-10-16 | 大亚(江苏)地板有限公司 | Automatic identification and sorting device for floor surface plates |
CN112630155A (en) * | 2020-12-28 | 2021-04-09 | 深圳硅纳智慧科技有限公司 | Color difference detection device and color difference detection method |
-
2021
- 2021-12-20 CN CN202111557924.8A patent/CN114184278A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101620179A (en) * | 2009-08-05 | 2010-01-06 | 燕山大学 | Scanning type glass color difference measuring device and measuring method thereof |
CN106323989A (en) * | 2016-10-21 | 2017-01-11 | 泉州装备制造研究所 | Chromatic aberration on-line detection system and method of ceramic tiles |
CN109141640A (en) * | 2018-08-03 | 2019-01-04 | 深圳市销邦科技股份有限公司 | Acetes chinensis method, system, equipment and storage medium based on machine vision |
CN209858420U (en) * | 2019-04-16 | 2019-12-27 | 亚智系统科技(苏州)有限公司 | Coated glass color detection mechanism |
CN111272673A (en) * | 2020-03-23 | 2020-06-12 | 泸州麦穗智能科技有限公司 | Non-pure-color cloth color difference detection system and detection method |
CN211699002U (en) * | 2020-04-13 | 2020-10-16 | 大亚(江苏)地板有限公司 | Automatic identification and sorting device for floor surface plates |
CN112630155A (en) * | 2020-12-28 | 2021-04-09 | 深圳硅纳智慧科技有限公司 | Color difference detection device and color difference detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106210712A (en) | A kind of dead pixel points of images detection and processing method | |
CN109916910B (en) | Photovoltaic glass edge defect detection system and corresponding method | |
US20130244197A1 (en) | Dental Shade Matching Device | |
CN107038680A (en) | The U.S. face method and system that adaptive optical shines | |
CN105354801B (en) | A kind of image enchancing method based on HSV color space | |
CN109889799B (en) | Monocular structure light depth perception method and device based on RGBIR camera | |
CN105989583B (en) | A kind of image defogging method | |
CN107818772B (en) | Adaptive intra update frequency switching method | |
CN108093175B (en) | A kind of adaptive defogging method of real-time high-definition video and device | |
CN114184278A (en) | Door and window color difference detection device and color difference detection algorithm | |
CN108303427B (en) | Household damaged degree detection system based on image procossing | |
CN108459030B (en) | Online detection device and method applied to smooth surface flaws of non-planar plastic | |
CN106373099A (en) | Image processing method | |
CN108833873A (en) | A kind of luminance uniformity motion compensation process | |
US8767088B2 (en) | White balancing method and image capturing device | |
CN109406539B (en) | Transparent medicine bottle bottom accumulated material defect detection system and method | |
CN111272673A (en) | Non-pure-color cloth color difference detection system and detection method | |
CN106339708B (en) | Multi-channel-based digital acquisition method for visual information on material surface | |
CN208257976U (en) | A kind of compound four monochromatic sensors camera | |
CN115900854A (en) | Belt ore conveying weighing and granularity estimation intelligent detection system and method | |
CN109003273A (en) | A kind of car light light guide consistency detecting method | |
CN206431057U (en) | The image collecting device being classified for navel orange | |
CN101945301A (en) | Method for conversing 2D to 3D of character scene | |
CN213779858U (en) | Multifunctional intelligent visual detection device | |
Masaoka et al. | Comparing realness between real objects and images at various resolutions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20220315 |
|
WD01 | Invention patent application deemed withdrawn after publication |