Office table board flatness defect measuring device

By using multi-light source position projection and image processing technology in the flatness measurement device of the desk board, the relative brightness and light area type of the desk board surface is solved, and the problem of inaccurate measurement of flatness of the desk board with complex patterns is solved. , achieving higher measurement accuracy and completeness.

CN119437094APending Publication Date: 2025-02-14ZHEJIANG SUNON FURNITURE MFG

Patent Information

Application Number
CN202411141619.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

It is difficult to accurately measure the flatness of office desk boards with complex patterns in the prior art, especially for tabletops with complex patterns such as log table boards.

Method used

A desk flatness defect measurement device is adopted, which includes a mounting slot, annular track, a slider, a light source, a camera and an image processing module. By segmenting the projected images on the surface of the office desk board, analyzing the relative brightness and distinguishing the backlight area, the surface light area and the plane area, combining the projection and image processing of multiple light source positions, the suspected defect area is judged and its defect value is calculated.

Benefits of technology

This device can effectively avoid the influence of the pattern originally included in the desk board, improve the accuracy of flatness measurement, and avoid missed inspection through projection and analysis of multiple light sources, ensuring accurate measurement of complex pattern desktops.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119437094A_ABST
    Figure CN119437094A_ABST
Patent Text Reader

Abstract

The invention provides an office table board flatness defect measuring device, and the device comprises an installation groove which is used for installing a to-be-measured office table board; the annular track is in sliding fit with a sliding block, and a light source is fixed to the top of the sliding block; the light source traverses at least three light source positions along with sliding of the sliding block along the annular track; the camera collects projection images of the surface of the office table board; the image processing module is used for segmenting the projection image into a plurality of first areas; dividing the first area into a backlight area, a surface light area and a plane area; combining the adjacent backlight area and surface light area into a suspected defect area; and calculating the sum of the absolute values of the area or the relative brightness of the suspected defect region as a defect value, and if the maximum defect value is greater than a preset corresponding threshold value, judging that the suspected defect region is a confirmed defect region. According to the invention, the influence of original patterns or figures on the office table board can be avoided, so that the accuracy of flatness measurement is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of flatness measurement, and in particular to a device for measuring flatness defects of an office desk panel. Background Art

[0002] In the production and manufacturing process of office desks, with the development of technology, the requirements for quality control are getting higher and higher. Among them, the office desk board is one of the most important parts for users, and its flatness has the greatest impact on the user experience.

[0003] In traditional technology, mechanical devices are mostly used to measure the flatness of desktops, such as the Chinese patent applications with publication numbers CN207976105U and CN214010202U. However, during use, technicians found that the matching accuracy of the sliding parts in these mechanical devices directly affects the accuracy of flatness measurement, and there is also a large error in reading the scale by naked eyes.

[0004] Therefore, on this basis, technicians have developed a flatness measurement method based on image processing, such as the Chinese patent application with publication number CN113310438A. This application obtains an initial fringe image including a number of equally spaced linear stripes; and projects the initial fringe image onto the surface to be measured, so that the wall to be measured, which originally lacks texture information and geometric structure, will have distorted stripes in the fringe projection image projected on the wall due to the protrusions or depressions in the wall to be measured, and then form a fringe projection image carrying depth information on the wall to be measured, and by collecting the fringe projection image; and according to the fringe bending characteristics and fringe sparse characteristics in the fringe projection image, the flatness information of the surface to be measured is determined.

[0005] However, it was found during use that if the surface to be measured has a pattern, the original pattern will interfere with the projected fringe image, causing interference in the extraction of fringe bending features and fringe sparse features. Therefore, the above solution is more suitable for pure color surfaces without patterns or surfaces with simple patterns, but it is not accurate for measuring desktops with complex patterns (such as wooden tabletops).

[0006] Therefore, how to develop a flatness measurement device that can be used for office desk panels that originally have patterns / patterns is one of the problems that need to be solved urgently. Summary of the invention

[0007] The purpose of the present invention is to provide a device for measuring the flatness defects of an office desk panel, which can avoid the influence of the original pattern or pattern of the office desk panel, thereby improving the accuracy of flatness measurement.

[0008] To achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present invention provides a device for measuring flatness defects of an office desk panel, comprising: A mounting slot for mounting the office desk panel to be measured; An annular track is arranged on the outer periphery of the mounting groove, a slider is slidably fitted on the annular track, and a light source for projecting a light beam toward the office desk is fixedly mounted on the top of the slider; as the slider slides along the annular track, the light source traverses at least three light source positions; A camera, for collecting a projection image of the surface of the office desk; An image processing module divides the projection image into a plurality of first areas; measures the relative brightness of each first area of ​​the projection image at each light source position, and divides the first area into a backlight area, a surface light area and a plane area according to the relative brightness; merges adjacent backlight areas and surface light areas into suspected defect areas; and for each suspected defect area, calculates the area of ​​the suspected defect area corresponding to all light source positions or the sum of the absolute values ​​of the relative brightness as its defect value, and if the maximum defect value is greater than a preset corresponding threshold value, the suspected defect area is determined to be a confirmed defect area.

[0009] In some embodiments of the present invention, the relative brightness is measured as follows: Converting the image of the projected image in each first area into a grayscale image, traversing all pixels of the grayscale image, and calculating an average value of the grayscale values ​​as the brightness of each first area of ​​the projected image; Acquire a standard image corresponding to the same light source position, and calculate the brightness of each first area of ​​the standard image; The brightness of the first area corresponding to the projection image and the standard image is subtracted to obtain the relative brightness of the first area.

[0010] In some embodiments of the present invention, a method for dividing the first area into a backlight area, a surface light area and a plane area according to the relative brightness is as follows: Setting a first threshold value less than zero and a second threshold value greater than zero; If the relative brightness is less than a first threshold, the corresponding first area is a backlight area; If the relative brightness is greater than a second threshold, the corresponding first area is a surface light area; If the relative brightness is between the first threshold and the second threshold, the corresponding first area is a plane area.

[0011] In some embodiments of the present invention, a projector is further included, and the projector projects the determined pattern of the confirmed defect area onto a corresponding position of the office desk to be measured.

[0012] In some embodiments of the present invention, before calculating the defect value, the following steps are further performed on the suspected defect area: Further dividing the first area where the backlight area / front light area located at the edge of the suspected defect area is located into a second area; and dividing the second area into a backlight area, a surface light area and a plane area according to relative brightness; The second area divided into a plane area is removed from the original suspected defect area.

[0013] In some embodiments of the present invention, before calculating the defect value, the following steps are further performed on the suspected defect area: further dividing the first region where the plane region at the edge of the suspected defect region is located into a third region; and dividing the third area into a backlight area, a surface light area and a plane area according to relative brightness; The second area divided into the backlight area and the surface light area is added to the original suspected defect area.

[0014] In some embodiments of the present invention, when adjacent backlight areas and surface light areas are merged into a suspected defect area, if there is a plane area between the adjacent backlight areas and surface light areas, the plane area between the adjacent backlight areas and surface light areas is merged into the suspected defect area.

[0015] In some embodiments of the present invention, the confirmed defect area is divided into a concave portion and a convex portion according to the order of the backlight area and the surface light area.

[0016] In some embodiments of the present invention, the method for distinguishing the concave portion and the convex portion is as follows: Determine the arrangement order of adjacent backlight areas and surface light areas along the projection light beam direction corresponding to the confirmed defect area. If the surface light area is located in front of the backlight area, the confirmed defect area is divided into a recessed portion; if the backlight area is located in front of the surface light area, the confirmed defect area is divided into a raised portion.

[0017] In some embodiments of the present invention, the at least three light sources are located at the same height and are distributed in a circular array, and the center of the circular array is located directly above the center of the desk panel.

[0018] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention analyzes the relative brightness of multiple first areas of the surface image of the office desk board, thereby distinguishing the fleshy backlight area and the surface light area. Combining the different effects of uneven positions on light reflection, it can be seen that whether it is a concave part or a convex part, there will be adjacent backlight areas and surface light areas. Therefore, the distinguished adjacent backlight areas and surface light areas are merged to obtain the suspected defect area; and combined with the requirements for flatness, the area or relative brightness of the suspected defect area is further judged as a confirmed defect area. This method is judged by relative brightness, so it will not be affected by the original pattern / pattern on the surface of the office desk board.

[0019] 2. Since the defective parts of the office desks have different shapes, they may be circular, elliptical, or other irregular shapes. Under the projection of light beams at different angles, the defect values ​​(i.e., the sum of the absolute values ​​of the area or relative brightness) of the suspected defective areas of these irregular shapes are also different. If a fixed light source is used for detection, missed detection may occur. Therefore, the present invention uses at least three light source positions to project light beams, and in the final judgment, for the same suspected defective area, the maximum defect value is taken for judgment, thereby avoiding missed detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a schematic diagram of the overall structure of the present invention.

[0021] Figure 2 Schematic diagram of system control of the present invention.

[0022] Figure 3 It is a schematic diagram of dividing a projection image into a first area according to the present invention.

[0023] Figure 4 Schematic diagram of light refraction in the concave part.

[0024] Figure 5 Schematic diagram of light refraction on a raised part.

[0025] Figure 6 It is a partial schematic diagram of the backlight area, the surface light area and the plane area of ​​the present invention.

[0026] Figure 7 It is a schematic diagram of merging adjacent backlight areas and surface light areas into a suspected defect area according to the present invention.

[0027] Figure 8 It is a schematic diagram of further dividing the backlight area into second areas according to the present invention.

[0028] Fig. 9 This is a schematic diagram of further dividing the plane area into second areas according to the present invention.

[0029] Fig.10 This is a schematic diagram of the suspected defect area after refinement of the present invention.

[0030] In the figure: 1. desk board; 2. mounting groove; 3. ring track; 4. slider; 5. light source; 6. camera; 7. projector. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] Embodiment 1: Please refer to Figure 1 This embodiment provides a device for measuring the flatness defects of an office desk panel, which is composed of the following parts: The mounting groove 2 is used for fixing and mounting the office desk panel 1 to be measured.

[0033] The annular track 3 is arranged on the outer periphery of the mounting groove 2 , and a slider 4 is slidably fitted on the annular track 3 . A light source 5 for projecting a light beam toward the office desk 1 is fixedly mounted on the top of the slider 4 .

[0034] As the slider 4 slides along the annular track 3 , the light source 5 traverses at least three light source positions, but at any time, only one of the light sources 5 needs to be lit.

[0035] like Figure 1 As shown in , the light source 5 is initially located at the light source position a1 where the solid line is located, and the light beam is projected onto the upper surface of the desk board 1 as shown by the dashed line. It should be noted that the shape of the light beam is not limited, and it only needs to cover the upper surface of the desk board 1. Whether it is projected onto a position outside the desk board 1 is not limited.

[0036] At other times, the slider 4 moves along the circular track 3, and the light source 5 can be located at the light source position a2 or the light source position a3 where the dotted line is located, and the light beam is also projected onto the upper surface of the desk board 1. Preferably, the slider 4 of this embodiment is driven to move by a built-in motor, and the motor is electrically connected to the image processing module below via a wired / wireless manner.

[0037] It is worth mentioning that the light source positions a1 , a2 , a3 and other light source positions are preferably at the same height and distributed in a circular array, with the center of the circular array located directly above the center of the desk panel 1 .

[0038] When the camera 6 projects light beams onto the desk board 1 from the at least three light source positions, it collects projection images of the surface of the desk board 1 and numbers them. For example, the projection image collected from the light beam projected from the light source position a1 is , correspondingly, the projection images collected from the light beams at the light source positions a2 and a3 are , .

[0039] Image processing modules such as Figure 2 As shown, the image processing module is electrically connected to the camera 6, receives the projection image captured by the camera 6, and performs the following processing on the projection image: It is worth mentioning that the image processing module is also connected to the motor of the control slider 4, so as to control the slider to drive the light source 5 to slide to the corresponding light source position.

[0040] dividing the projection image into a plurality of first regions; Specifically, Figure 3 As shown, any projected image (including , , ) is divided into 8×16=128 first regions, and all the first regions are numbered respectively to obtain the first regions To the first area .

[0041] The relative brightness of each first area of ​​the projection image at each light source position is measured, and the first area is divided into a backlight area, a surface light area and a plane area according to the relative brightness.

[0042] like Figure 4 As shown, for the concave portion on the surface of the desk board 1, the area between the dotted line o1 and the dotted line o2 is backlight, and the reflected light in this range is sparser than the plane after refraction, and the area shows lower brightness in the projection image obtained from above. On the contrary, the area between the dotted line o2 and the dotted line o3 is surface light, and the reflected light in this range is denser than the plane after refraction, and the area shows higher brightness in the projection image obtained from above.

[0043] Similarly, if Figure 5 As shown, for the raised part of the surface of the desk board 1, its performance is opposite to that of the recessed part. Between the dotted line o1 and the dotted line o2 is the surface light, and the reflected light in this range is denser than the plane after refraction. In the projected image obtained from above, this area shows higher brightness. Conversely, between the dotted line o2 and the dotted line o3 is the backlight, and the reflected light in this range is sparser than the plane after refraction. In the projected image obtained from above, this area shows lower brightness.

[0044] Therefore, by comparing the relative brightness of the first area in the projection image of the office desk to be measured with that of the corresponding first area in the standard image of a standard office desk (i.e., no depressions or projections on the surface), it can be determined whether the first area of ​​the office desk to be measured is a backlight area or a surface light area, thereby determining whether it has a depression or a projection.

[0045] It should be noted that the standard image and the projection image of the office desk to be measured are collected by projecting light beams from the same light source position.

[0046] That is to say, before the actual measurement, the standard office desk board is collected into multiple standard images on the surface of the standard office desk board according to the method of collecting projection images. For example, a beam is projected from the light source position a1 to collect the standard image , accordingly, the standard image is collected from the light source positions a2 and a3. , standard image .

[0047] The relative brightness is measured as follows: The image of the projected image in each first area is converted into a grayscale image, all pixels of the grayscale image are traversed, and an average value of the grayscale values ​​is calculated as the brightness of each first area of ​​the projected image.

[0048] The projection image is divided into 128 first regions. For example, through the above calculation, the brightness values ​​of the 128 first regions are obtained, which are respectively recorded as to ; The superscript represents the number of the projection image / standard image, and the subscript represents the number of the first area. Similarly, the projection image , projected image The corresponding brightness values ​​of the 128 first regions can also be obtained.

[0049] A standard image corresponding to the same light source position is obtained, and the brightness of each first area of ​​the standard image is calculated according to the same steps.

[0050] That is, we get the standard image mentioned above. , standard image , standard image Among them, the standard image With projected image Corresponding, standard image With projected image Corresponding, standard image With projected image correspond.

[0051] For each standard image, the corresponding 128 brightness values ​​of the first area can also be obtained. For example, the brightness values ​​of the first area are recorded as to .

[0052] The brightness of the first area corresponding to the projection image and the standard image is subtracted to obtain the relative brightness of the first area.

[0053]

[0054] In the formula, Represents the light source position The projected image collected at The first area The relative brightness of Represents the light source position The projected image collected at The first area Brightness; Represents the light source position Standard image collected at The first area brightness.

[0055] With standard image The first area For example, its relative brightness for:

[0056] Through this step, corresponding to the standard image at each light source position, the relative brightness of 128 first areas can be obtained.

[0057] As we know from the above, the backlight shows lower brightness relative to the plane, while the surface light shows higher brightness relative to the plane.

[0058] Therefore, the method of dividing the first area into a backlight area, a surface light area and a plane area according to the relative brightness in this embodiment is as follows: A first threshold Th1 less than zero and a second threshold Th2 greater than zero are set. Preferably, the first threshold Th1 is -10, and the second threshold Th2 is 10.

[0059] If the relative brightness is less than a first threshold, the corresponding first area is a backlight area; If the relative brightness is greater than a second threshold, the corresponding first area is a surface light area; If the relative brightness is between the first threshold and the second threshold, the corresponding first area is a plane area.

[0060] It is worth noting that in the calculation process of the above relative brightness, the average value of the grayscale value of the first area is used. If there is only a small part of backlight or surface light in the first area, it is easy to be judged as a plane area in the classification process. The larger the absolute value of the first threshold Th1 and the second threshold Th2, the easier it is to distinguish the first area with only a small part of backlight or surface light as a plane area; conversely, it is easy to distinguish the first area with only a small part of backlight or surface light as a backlight area or a surface light area as a whole.

[0061] like Figure 6 As shown, assuming that the light beam is projected from the left, the dotted box represents the actual concave part, the shaded area within the dotted line represents the backlight, and the blank area within the dotted line represents the surface light. On the contrary, if the dotted box represents the actual convex part, the shaded area within the dotted line represents the surface light, and the blank area within the dotted line represents the backlight.

[0062] Through the above calculation, the first area where the red box is located , , , It is judged as the backlight area, and the first area of ​​the blue frame , , It is judged as the surface light area, and the first area is the plane area.

[0063] The adjacent backlight area and surface light area are merged into the suspected defect area.

[0064] Regardless of whether it is a recessed portion or a raised portion, there will be adjacent backlight areas and surface light areas at the same time, so a suspected defect area (recessed portion or raised portion) can be obtained by merging the adjacent backlight areas and surface light areas.

[0065] Generally speaking, the backlight area and the front light area are adjacent to each other, but if Figure 6 As shown, located in the first area , The first area between , and in the first area , The first area between It is obviously also part of the concave part or the convex part, but because it is located at the intersection of the backlight and the surface light, and the areas of the backlight and the surface light are roughly equal, it is mistakenly judged as a flat area.

[0066] Therefore, when the adjacent backlight areas and surface light areas are merged into a suspected defect area, if there is a plane area between the adjacent backlight areas (red frame) and surface light areas (blue frame), the plane area between the adjacent backlight areas and surface light areas is merged into the suspected defect area.

[0067] Specifically, the plane area between the closest backlight area and the front light area is merged into the suspected defect area, and the following is obtained: Figure 7 As shown, the suspected defect area is indicated by the green box.

[0068] However, the shape of the suspected defect area in the green box is quite different from the actual recessed / raised portion shown in the dotted box. The reason is that the small part of the first area where the edge of the suspected defect area (green box) is located, which should belong to the backlight area or the surface light area, is mistakenly judged as the plane area, or the small part that should belong to the plane area is mistakenly judged as the backlight area or the surface light area.

[0069] Therefore, at this point, the first area located at the edge of the suspected defect area is further refined, specifically including at least one of the following two methods.

[0070] Method 1: Further dividing the first area where the backlight area / front light area located at the edge of the suspected defect area is located into a second area; The first area determined to be the backlight area For example, Figure 8 As shown, it is divided into 3×3=9 second areas, which are respectively to .

[0071] And the second area is divided into a backlight area, a surface light area and a plane area according to the relative brightness; please refer to the method of dividing the first area into the backlight area, the surface light area and the plane area for details.

[0072] Through this step, the second area , , , , The second area is divided into a backlight area, and the remaining second area is a plane area.

[0073] The second area divided into a plane area is removed from the original suspected defect area.

[0074] Method 2: further dividing the first region where the plane region at the edge of the suspected defect region is located into a third region; The first area is determined to be a plane area. For example, Fig. 9 As shown, it is divided into 3×3=9 second areas, which are respectively to .

[0075] The third area is divided into a backlight area, a surface light area and a plane area according to relative brightness.

[0076] Through this step, the second area , , The first area is divided into a backlight area, and the remaining second areas are plane areas. After further segmentation of other first areas, new surface light areas will also be generated.

[0077] The second area divided into the backlight area and the surface light area is added to the original suspected defect area.

[0078] After the above methods 1 and 2 are processed together, we get Fig.10 The further refined suspected defect area shown in the green box is obviously closer to the actual elliptical defect area.

[0079] For each suspected defect area, calculate the corresponding positions of all light sources The overall area or relative brightness of the suspected defect area The sum of the absolute values ​​of ; That is, according to the position of the light source For each suspected defect area, a corresponding number of defect values ​​will be obtained .

[0080] Take the defect value of these quantities The maximum value of If the maximum defect value is greater than the preset corresponding threshold, the suspected defect area is determined to be a confirmed defect area.

[0081] It is worth noting that the overall area is used as the defect value When , the corresponding threshold is ; in relative brightness The sum of the absolute values ​​of When , the corresponding threshold is .

[0082] The reason why this method makes the final judgment on the maximum defect value at all light source positions for the same suspected defect area is that for the same recessed portion or raised portion, the brightness changes produced locally in each first area or second area are different when illuminated by light beams in different directions.

[0083] To put it more intuitively, taking a narrow and long concave portion as an example, when the light beam is irradiated along its length direction, the depth changes more slowly due to the direction in which the light beam extends; while when the light beam is irradiated perpendicular to its length direction, the depth changes more sharply. Therefore, when calculating the relative brightness of the first area or the second area, it is obvious that it is easier to detect the suspected defect area when the light beam is irradiated perpendicular to its length direction.

[0084] For the office desk 1, the shape of the suspected defect area is unknown before detection, so this method sets at least three different light source positions, which can basically cover the appropriate angles. Of course, in order to further improve the detection accuracy, the number of light source positions can be further increased, but the amount of calculation will also increase accordingly.

[0085] Embodiment 2: The relative brightness of the suspected defect area can be regarded as the depth of the concave part or the height of the convex part. In the solution of Example 1, when the area is used as the defect value, large-area concave parts / convex parts can be screened out, but their depth / height information cannot be obtained; similarly, when the sum of the absolute values ​​of the relative brightness is used as the defect value, the area information is ignored.

[0086] Therefore, in order to better reflect the defect state, another algorithm is used to calculate the defect value in the second embodiment, that is, the sum of the products of the area of ​​each first region / second region of the suspected defect area and the absolute value of the relative brightness corresponding to all light source positions is calculated as the defect value. ,Right now:

[0087] In the formula, Represents the light source position The projected image collected at The area of ​​the first region or the second region; Represents the light source position The projected image collected at The relative brightness of the first area or the second area, the subscript pm refers to the number of the first area or the second area; Represents suspected defect areas.

[0088] Taking the sum of the products of the area and the absolute value of the relative brightness of each first region / second region of the suspected defect region as the defect value and paying attention to both the area and depth / height information at the same time, it can better represent the characteristics of the suspected defect region. At the same time, its corresponding threshold is also different from the values ​​of the other two cases.

[0089] Embodiment three: In the third embodiment, the confirmed defect area is further divided into a concave portion and a convex portion according to the order of the backlight area and the surface light area, and the distinguishing method is as follows: Determine the arrangement order of adjacent backlight areas and surface light areas along the projection light beam direction corresponding to the confirmed defect area. If the surface light area is located in front of the backlight area, the confirmed defect area is divided into a recessed portion; if the backlight area is located in front of the surface light area, the confirmed defect area is divided into a raised portion.

[0090] And, if Figure 1 and Figure 2As shown, a projector 7 is arranged above the office desk board 1 to project the determined pattern of the confirmed defective area onto the corresponding position of the office desk board 1 to be inspected. For the concave part and the convex part, the corresponding projection is displayed in different colors; for example, for the concave part, a red pattern is projected, and for the convex part, a blue pattern is projected.

[0091] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other. The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A device for measuring flatness defects of office desk panels, characterized in that: include: A mounting slot for mounting the office desk panel to be measured; An annular track is arranged on the outer periphery of the mounting groove, a slider is slidably fitted on the annular track, and a light source for projecting a light beam toward the office desk is fixedly installed on the top of the slider; As the slider slides along the circular track, the light source traverses at least three light source positions; A camera, for collecting a projection image of the surface of the office desk; An image processing module is provided to divide the projection image into a plurality of first regions; measure the relative brightness of each first region of the projection image at each light source position, and divide the first region into a backlight region, a surface light region and a plane region according to the relative brightness; and merge adjacent backlight regions and surface light regions into a suspected defect region; For each suspected defect area, the sum of the absolute values ​​of the area or relative brightness of the suspected defect area under all light source positions is calculated as its defect value. If the maximum defect value is greater than the preset corresponding threshold, the suspected defect area is determined to be a confirmed defect area.

2. The device for measuring flatness defects of office desk panels according to claim 1, characterized in that: The relative brightness is measured as follows: Converting the image of the projected image in each first area into a grayscale image, traversing all pixels of the grayscale image, and calculating an average value of the grayscale values ​​as the brightness of each first area of ​​the projected image; Acquire a standard image corresponding to the same light source position, and calculate the brightness of each first area of ​​the standard image; The brightness of the first area corresponding to the projection image and the standard image is subtracted to obtain the relative brightness of the first area.

3. The device for measuring flatness defects of an office desk panel according to claim 2, characterized in that: The method of dividing the first area into a backlight area, a surface light area and a plane area according to the relative brightness is as follows: Setting a first threshold value less than zero and a second threshold value greater than zero; If the relative brightness is less than a first threshold, the corresponding first area is a backlight area; If the relative brightness is greater than a second threshold, the corresponding first area is a surface light area; If the relative brightness is between the first threshold and the second threshold, the corresponding first area is a plane area.

4. The device for measuring flatness defects of office desk panels according to claim 1, characterized in that: The system also includes a projector, which projects the determined pattern of the confirmed defective area onto a corresponding position of the office desk to be measured.

5. The device for measuring flatness defects of office desk panels according to claim 1, characterized in that: Before calculating the defect value, the following steps are performed on the suspected defect area: Further dividing the first area where the backlight area / front light area located at the edge of the suspected defect area is located into a second area; and dividing the second area into a backlight area, a surface light area and a plane area according to relative brightness; The second area divided into a plane area is removed from the original suspected defect area.

6. A device for measuring flatness defects of office desk panels according to claim 1 or 5, characterized in that: Before calculating the defect value, the following steps are performed on the suspected defect area: further dividing the first region where the plane region at the edge of the suspected defect region is located into a third region; and dividing the third area into a backlight area, a surface light area and a plane area according to relative brightness; The second area divided into the backlight area and the surface light area is added to the original suspected defect area.

7. The device for measuring flatness defects of office desk panels according to claim 1, characterized in that: When the adjacent backlight areas and surface light areas are merged into the suspected defect area, if there is a plane area between the adjacent backlight areas and surface light areas, the plane area between the adjacent backlight areas and surface light areas is merged into the suspected defect area.

8. The device for measuring flatness defects of office desk panels according to claim 1, characterized in that: The confirmed defect area is divided into a concave portion and a convex portion according to the order of the backlight area and the surface light area.

9. The device for measuring flatness defects of office desk panels according to claim 8, characterized in that: The method for distinguishing the concave portion and the convex portion is as follows: Determine the arrangement order of adjacent backlight areas and surface light areas along the projection light beam direction corresponding to the confirmed defect area. If the surface light area is located in front of the backlight area, the confirmed defect area is divided into a recessed portion; if the backlight area is located in front of the surface light area, the confirmed defect area is divided into a raised portion.

10. The device for measuring flatness defects of office desk panels according to claim 1, characterized in that: The at least three light sources are located at the same height and are distributed in a circular array, with the center of the circular array located directly above the center of the desk panel.

Citation Information

Patent Citations

  • Flatness measurement method and device, computer device and storage medium

    CN113310438A

  • Quick detection device of mechanical type office table top roughness

    CN207976105U

  • Flatness detection device for desktop production

    CN214010202U

Cited By

  • Thin office table board deformation detection method and device and storage medium

    CN121655410A

  • Thin office table board deformation detection system

    CN121829363A