A standardized image acquisition method and device

By using industrial surface array cameras and standardized operating procedures in standard lighting environments, rotary shooting and feature synthesis, the problems of image acquisition inconsistency and feature loss in environmental tests are solved, and high-quality and accurate sample appearance image acquisition is achieved. Accurate data analysis.

CN113063788BInactive Publication Date: 2024-11-15NO 59 RES INST OF CHINA ORDNANCE IND
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110239102.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-04
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When collecting sample images in environmental tests, due to different shooting conditions and operators, the image quality is inconsistent and features are lost, and standard and high-quality sample appearance images cannot be obtained.

Method used

Using standardized image acquisition methods and devices, including using a 20-megapixel industrial surface array camera under standard lighting environment, adjusting the field of view and focusing, shooting the viewing angle and rotating the sample to collect images, identifying features through reference points/lines, and synthesizing reference images , eliminate reflections and shadows to ensure image consistency and quality.

Benefits of technology

优化了图像质量,消除了人为因素影响,采集的图像更加准确地反映样品外观,提供了标准、高质量的样品外观图像,支持环境试验样品的精准数据分析。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113063788B_ABST
    Figure CN113063788B_ABST
Patent Text Reader

Abstract

The present invention discloses a standardized image acquisition method and device, which conducts a novel design of the entire image acquisition process and method by establishing a standard lighting environment, standardizing acquisition equipment, standardizing acquisition operations, and standardizing image processing, and formulates an image acquisition device to realize multi-directional shooting data acquisition of test samples, thereby eliminating the influence of third-party factors on various defects in the photographs. The collected images more accurately reflect the actual situation of the appearance of the test samples, and the image consistency is higher, so that standard and high-quality sample appearance images are provided for R&D personnel, and the acquisition information is comprehensive, which is conducive to the accurate data analysis and collection of environmental test samples.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a standardized image acquisition method and device, in particular to a standardized image acquisition method and a standardized image acquisition device for environmental test samples, belonging to the technical field of environmental testing. Background Art

[0002] During environmental testing, the test samples will experience corrosion, aging, cracking, etc., and their organization and performance will also change over time. Among them, the appearance change of the sample is the easiest to observe and is also an important indicator reflecting its environmental adaptability.

[0003] When recording the changes in the appearance of samples, researchers most often use cameras to take photos of the samples. However, the quality of the photos taken is closely related to the scene, the photographer's operating techniques, etc. Differences such as cloudy and sunny days, morning and noon, indoors and outdoors can cause great differences in the quality of photos. This will result in the recorded photos not being able to fully and accurately reflect the true appearance of the samples. Secondly, samples at different test stages may be photographed by different people using cameras with different parameters. The camera's photosensitivity, resolution, and specific photographic parameters are all manually adjusted. Comparing the photos collected at these different stages increases the difficulty of scientific research comparison. Third, when using a camera to take photos of samples, due to factors such as angle and field of view, it may be impossible to capture all the features of the sample. The loss of these features will result in a certain difference between the results and the facts. Finally, the smooth surface of metal materials is easy to reflect light, and the adjustment of the shooting angle may leave a shadow on the image; when the depth of field is large, the photos will be partially blurred.

[0004] Using existing image acquisition methods, images collected by different people and at different stages have poor consistency and feature loss, making it impossible to obtain standard, high-quality sample appearance images. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the present invention proposes a standardized image acquisition method and device to provide R&D personnel with standard, high-quality sample appearance images, collect comprehensive information, and facilitate accurate data analysis and collection of environmental test samples.

[0006] In order to achieve the above object, the technical solution of the present invention is:

[0007] A standardized image acquisition method comprises the following steps:

[0008] S1. Place the test sample in a standard lighting environment, and take a photo of the test sample using a standard acquisition device after the spectrum in the standard lighting environment is stable;

[0009] S2, standard acquisition equipment adjusts the field of view and focus;

[0010] S3. The standard acquisition device takes a picture from directly above the test sample, and saves the image as a reference image;

[0011] S4. The standard acquisition device rotates the shooting angle α angle, and the test sample is rotated horizontally at a set speed b at a set position at a uniform speed for at least one rotation. The standard acquisition device takes pictures at a frequency c, and the images taken by the standard acquisition device are saved respectively;

[0012] S5. Set a reference point / line on the test sample, use the position of the reference point / line in each image photo as a positioning reference, and identify the appearance characteristics of each feature on the test sample in each image photo according to the positioning reference;

[0013] S6, comparing the appearance features of each feature of the test sample in the image photo of step S4 with the appearance features in the reference image, segmenting the redundant features of the appearance features in the image photo of step S4, and synthesizing the segmented features into the corresponding appearance features in the reference image to form a new reference image,

[0014] Then, the appearance features of the feature of the test sample in other image photos of step S4 are compared with the appearance features in the new reference image. Similarly, the redundant features of the appearance features in other image photos of step S4 are segmented, and the segmented features are synthesized into the corresponding appearance features in the new reference image. This process is repeated until the redundant features of the appearance features of each feature of the test sample in all image photos of step S4 are synthesized into the reference image. The resulting reference image is the standardized acquisition image of the test sample.

[0015] Furthermore, the images taken in steps S3 and S4 are pre-processed before entering the next step to eliminate reflections and shadows.

[0016] Furthermore, the standard lighting environment parameters are: color temperature = 6500K ± 200K; spectral display index > 96%; illumination uniformity ≥ 80%; and the standard acquisition device uses a 20-megapixel industrial array camera.

[0017] Furthermore, the structure of the standard lighting environment includes a platform for placing the test sample, on which a closed working space is enclosed by a dark brown acrylic plate, and a D65 standard light source is selected in the closed working space.

[0018] Furthermore, the angle α is 3 to 7°, the rotation speed b is 3 to 5 seconds per revolution, and the frequency c is 0.5 to 1 second per sheet.

[0019] The present invention also discloses a standardized image acquisition device, which includes a frame, a driving box and a work table arranged on the frame. The work table is provided with a stage that can be longitudinally moved and positioned and indexed and rotated around its own central axis for placing test samples. A horizontal stepping mechanism is positioned laterally above the stage, and a vertical stepping mechanism is positioned on the horizontal stepping mechanism for horizontal sliding. A base is positioned on the vertical stepping mechanism, and a standard acquisition device and a light source are positioned on the base through the rotating axis stepping mechanism. The standard acquisition device takes pictures of the test samples on the stage.

[0020] Furthermore, the side sides and top of the work surface are surrounded by dark brown acrylic panels to form a closed work space, and the stage, standard collection equipment and light source are all located in the closed work space.

[0021] Furthermore, the bottom of the frame is provided with integrated casters.

[0022] Furthermore, a longitudinal stepping mechanism is positioned on the work surface, a dividing plate is longitudinally slidably positioned on the longitudinal stepping mechanism, and the loading platform is arranged on the dividing plate.

[0023] Furthermore, the enclosed working space is provided with an automatic lifting door and / or an inspection door.

[0024] The beneficial effects of the present invention are as follows: by performing standardized shooting and standardized processing on test samples, the image quality is optimized, and at the same time, the influence of various defects of the photographs caused by third-party factors is eliminated. The collected images more accurately reflect the actual situation of the appearance of the test samples, and the image consistency is higher. Standard, high-quality sample appearance images are provided to R&D personnel, and the collected information is comprehensive, which is conducive to the accurate data analysis and collection of environmental test samples. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a three-dimensional structural diagram of the standardized image acquisition device of the present invention.

[0026] Figure 2 yes Figure 1 Three-dimensional structural diagram of the work surface in the middle. DETAILED DESCRIPTION

[0027] The present invention will be further described in detail below with reference to specific embodiments and accompanying drawings.

[0028] A standardized image acquisition method comprises the following steps:

[0029] S1. Place the test sample in a standard lighting environment, and take a photo of the test sample using a standard acquisition device after the spectrum in the standard lighting environment is stable;

[0030] S2, standard acquisition equipment adjusts the field of view and focus;

[0031] S3. The standard acquisition device takes a picture from directly above the test sample, and saves the image as a reference image;

[0032] S4. The standard acquisition device rotates the shooting angle α angle, and the test sample is rotated horizontally at a set speed b at a set position at a uniform speed for at least one rotation. The standard acquisition device takes pictures at a frequency c, and the images taken by the standard acquisition device are saved respectively;

[0033] S5. Set a reference point / line on the test sample, use the position of the reference point / line in each image photo as a positioning reference, and identify the appearance characteristics of each feature on the test sample in each image photo according to the positioning reference;

[0034] S6, comparing the appearance features of each feature of the test sample in the image photo of step S4 with the appearance features in the reference image, segmenting the redundant features of the appearance features in the image photo of step S4, and synthesizing the segmented features into the corresponding appearance features in the reference image to form a new reference image,

[0035] Then, the appearance features of the feature of the test sample in other image photos of step S4 are compared with the appearance features in the new reference image. Similarly, the redundant features of the appearance features in other image photos of step S4 are segmented, and the segmented features are synthesized into the corresponding appearance features in the new reference image. This process is repeated until the redundant features of the appearance features of each feature of the test sample in all image photos of step S4 are synthesized into the reference image. The resulting reference image is the standardized acquisition image of the test sample.

[0036] Specifically, this solution will be implemented using two systems, one is a standardized image acquisition device, and the other is a standardized image processing system, which has the functions of image data acquisition, storage, transmission and preprocessing.

[0037] For the image processing system, it is implemented by software, including PLC control program, camera control program and image processing program; and the standardized image acquisition device includes building a standard image acquisition environment, standardizing acquisition equipment, standardizing acquisition operations, etc.

[0038] First, a standard lighting environment was built, and the D65 standard light source (Artificial Daylight 6500K) was selected to simulate the bright blue sky and average natural sunlight to replace natural light. The part above the work surface of the device was covered with a dark brown acrylic plate to isolate the influence of external light on the shooting environment. The various indicators of the selected D65 standard light source must meet the CIE International Illumination Commission and CY3-91 standards for color evaluation and color matching and color comparison lighting, and can be used in all-weather environments. The lighting environment built meets the following requirements:

[0039] ①Color temperature = 6500K ± 200K;

[0040] ②Stable spectrum, color rendering index>96%;

[0041] ③Illumination uniformity ≥ 80%;

[0042] ④The light source displays usage time and should be replaced promptly when it reaches the end of its service life.

[0043] Secondly, the acquisition equipment is standardized. This solution uniformly uses 20-megapixel industrial area array cameras to take pictures of the standard field of view of 400mm×300mm, and the image resolution is better than 0.1mm.

[0044] Third, standardize the collection operation, formulate standardized operating procedures, achieve semi-automation, and avoid human uncertainties. Only the actions of placing and removing samples need to be completed manually, and the rest of the operations are completed by defined procedures.

[0045] Fourth, image processing is standardized. Multiple images taken by the camera are automatically selected and synthesized. Possible shadows and reflections are automatically eliminated through software processing. The final output standard image can ensure the authenticity and completeness of the sample's features.

[0046] In image processing, the various types of images taken are first transmitted to the workstation for intelligent processing, including eliminating reflections, shadows, selection, and synthesis. Finally, a standard image is output and stored in a designated location. The unprocessed original image is stored in another location for the operator to view at any time.

[0047] Taking the test samples as an example, after the environmental test, the test samples have cracks, pits, corrosion products and other features. When the test personnel take pictures of the samples, due to the difference in shooting angles, the images may show different damage characteristics, resulting in significant differences in damage ratings. Experiments have shown that for the same group of samples, there is a significant difference between taking pictures directly above and taking pictures diagonally above, and the corrosion rating will differ by 2 to 3 levels. This solution uses the device mechanism to take pictures from multiple set angles and synthesize multiple photos, so that the collected image information is comprehensive, which can accurately reflect the actual damage situation and eliminate the loss of features caused by shooting errors.

[0048] This solution uses the following standardized image acquisition device to achieve shooting, such as Figure 1 , Figure 2 As shown:

[0049] The standardized image acquisition device includes a frame 1 and a drive box 3 and a work table 4 arranged on the frame 1. The work table 4 is provided with a stage 12 which can be longitudinally moved and positioned and indexed and rotated around its own central axis for placing test samples. A horizontal stepping mechanism 15 is positioned laterally above the stage 12, and a vertical stepping mechanism 16 is positioned on the horizontal stepping mechanism 15 for horizontal sliding. A base 17 is positioned on the vertical stepping mechanism 16. A standard acquisition device 19 and a light source are positioned on the base 17 through a rotating axis stepping mechanism 18. The standard acquisition device 19 takes pictures of the test samples on the stage 12.

[0050] The frame 1 adopts a cabinet structure, with integrated casters 2 at the bottom to facilitate the transfer of the entire device and improve convenience, and a three-color warning light is set on the top. The side and top of the work surface 4 are surrounded by dark brown acrylic panels to form a closed work space 5. The stage 12, standard collection equipment 19 and light source are all in the closed work space 5. In order to facilitate operation, the closed work space 5 is provided with an automatic lifting door and / or an inspection door.

[0051] A longitudinal stepping mechanism 11 is positioned on the work surface 4 , a dividing plate 13 is longitudinally slidably positioned on the longitudinal stepping mechanism 11 , and a loading platform 12 is disposed on the dividing plate 13 .

[0052] The longitudinal stepping mechanism 11, the transverse stepping mechanism 15, the vertical stepping mechanism 16 and the rotating shaft stepping mechanism 18 in the device can all be realized by existing mechanisms such as slide rails, sliders, lead screws and the like, and no unnecessary details are given here.

[0053] When in use, the standard acquisition device 19 uses an industrial array camera, the center of the camera lens is located directly above the center of the stage 12, and the camera is located at the bottom of the vertical moving track as the initial position. At this time, the camera and the stage are located at the origin of the X-axis and Y-axis, and the plane of the stage is the origin of the Z-axis. The horizontal right is the positive direction of the X-axis, the front is the positive direction of the Y-axis, and the vertical upward is the positive direction of the Z-axis.

[0054] If the test sample is a typical flat plate specimen:

[0055] The size of the flat sample is 50mm×100mm×5mm. Four flat samples are photographed as a group. The sample area is 200mm×100mm, and the center of the area is the center of the stage.

[0056] Photo parameters (unit / mm):

[0057] 1. Move the camera to X, Y, Z = (0, 0, 150) and take a photo directly above;

[0058] 2. The camera visual rotation axis rotates 5°, the stage moves to (0, -2, 150), the index plate rotates at a speed of (3 to 5) seconds / revolution, and the photo frequency is (0.5 to 1) second / frame.

[0059] 3. After the stage rotates one circle, it returns to its initial position.

[0060] If the test sample is a typical heterogeneous component:

[0061] Typical dimensions of the component: Φ50mm×150mm, placed in the center of the stage.

[0062] Photo parameters (unit / mm):

[0063] 1. Move the camera to X, Y, Z = (0, 0, 300) and take a photo directly above;

[0064] 2. The camera visual rotation axis rotates 5°, the stage moves to (0, -4, 300), the index plate rotates at a speed of (4 to 6) seconds / revolution, and the photo frequency is (0.5 to 1) second / frame.

[0065] 3. After the stage rotates 1 to 2 circles, return to its original position.

[0066] By controlling the camera to shoot the test sample from any angle, multi-angle images are collected, and subtle morphological features are effectively collected, such as inconspicuous scratches, tiny corrosion points, etc. The collected information is comprehensive and conducive to the analysis of environmental test samples. The various images taken are processed intelligently, focusing on the synthesis stage:

[0067] First, a positioning reference is selected, such as any corner or any side of the flat sample as a reference, so that the appearance characteristics of each feature on the flat sample in each image photo can be identified and located. Experiments have shown that the appearance characteristics of each feature of the test sample in each image photo are inconsistent.

[0068] Secondly, after identifying and determining the appearance characteristics of each feature on the test sample in each image photo, the appearance characteristics of each feature of the test sample in the image photo are compared with the appearance characteristics in the reference image, the redundant features of the appearance characteristics in the image photo are segmented, and the segmented features are synthesized into the corresponding appearance characteristics in the reference image to form a new reference image.

[0069] Then, the appearance characteristics of the feature of the test sample in other images are compared with the appearance characteristics in the new reference image. Similarly, the redundant features of the appearance characteristics in other images are segmented, and the segmented features are synthesized into the corresponding appearance characteristics in the new reference image. This process is repeated until the redundant features of the appearance characteristics of each feature of the test sample in all images are synthesized in the reference image. The resulting reference image is the standardized acquisition image of the test sample. The output two-dimensional composite image can reflect all damage features collected by taking photos at multiple angles.

[0070] The technical solutions provided by the embodiments of the present invention are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the embodiments of the present invention. The description of the above embodiments is only applicable to help understand the principles of the embodiments of the present invention. At the same time, for those skilled in the art, according to the embodiments of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A standardized image acquisition method, characterized in that: The steps include: S1. Place the test sample in a standard lighting environment, and take a photo of the test sample using a standard acquisition device after the spectrum in the standard lighting environment is stable; S2, standard acquisition equipment adjusts the field of view and focus; S3. The standard acquisition device takes a picture from directly above the test sample, and saves the image as a reference image; S4. The standard acquisition device rotates the shooting angle α angle, and the test sample is rotated horizontally at a set speed b at a set position at a uniform speed for at least one rotation. The standard acquisition device takes pictures at a frequency c, and the images taken by the standard acquisition device are saved respectively; S5. Set a reference point / line on the test sample, use the position of the reference point / line in each image photo as a positioning reference, and identify the appearance characteristics of each feature on the test sample in each image photo according to the positioning reference; S6, comparing the appearance features of each feature of the test sample in the image photo of step S4 with the appearance features in the reference image, segmenting the redundant features of the appearance features in the image photo of step S4, and synthesizing the segmented features into the corresponding appearance features in the reference image to form a new reference image, Then, the appearance features of the feature of the test sample in other image photos of step S4 are compared with the appearance features in the new reference image. Similarly, the redundant features of the appearance features in other image photos of step S4 are segmented, and the segmented features are synthesized into the corresponding appearance features in the new reference image. This process is repeated until the redundant features of the appearance features of each feature of the test sample in all image photos of step S4 are synthesized into the reference image. The resulting reference image is the standardized acquisition image of the test sample.

2. A standardized image acquisition method according to claim 1, characterized in that: The images taken in steps S3 and S4 are pre-processed before entering the next step to eliminate reflections and shadows.

3. A standardized image acquisition method according to claim 1, characterized in that: The standard lighting environment parameters are: color temperature = 6500K ± 200K; spectral display index > 96%; illumination uniformity ≥ 80%; the standard acquisition equipment uses a 20-megapixel industrial array camera.

4. A standardized image acquisition method according to claim 3, characterized in that: The structure of the standard lighting environment includes a platform for placing the test sample, a closed working space surrounded by a dark brown acrylic plate on the platform, and a D65 standard light source is selected in the closed working space.

5. A standardized image acquisition method according to claim 1, characterized in that: The angle α is 3 to 7°, the rotation speed b is 3 to 5 seconds per revolution, and the frequency c is 0.5 to 1 second per sheet.

Citation Information

Patent Citations

  • Detecting device for coating aging appearance

    CN104076041A

  • Face image acquisition adaptive control method and device

    CN105704368A

  • Device and method for detecting size of internal groove of small-size workpiece through asynchronous exposure of multipoint light source

    CN106091926A

  • A method for detect raw silk quality

    CN109461155A

  • Automatic detecting device for LCD fault point

    CN201556005U