Imaging quality verification method and device of imaging equipment, and readable storage medium
Patent Information
- Application Number
- CN202510384915.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2025-07-15
Smart Images

Figure CN120318172A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of image processing and device quality verification, and particularly to a method, device, and readable storage medium for verifying the imaging quality of an imaging device. Background Art
[0002] With the wide application of vision technology in the inspection and manufacturing industries, the evaluation of camera imaging quality has become increasingly important. Currently, in related technologies, a single and highly professional vision software is usually used to uniformly analyze the imaging quality of a camera, and the results are exported in the form of camera distortion parameters. However, these distortion parameters cannot intuitively display the distortion effect of the entire image, resulting in a complex and unintuitive evaluation process of camera imaging quality, and it is difficult to quickly and accurately judge the performance of the imaging device in actual applications. Summary of the Invention
[0003] The present disclosure provides a method, device, and readable storage medium for verifying the imaging quality of an imaging device to solve the problems of complex and unintuitive image distortion analysis methods in the prior art, and to be able to more quickly and accurately verify the imaging effect of the imaging device in the entire device environment. The technical solutions of the present disclosure are as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, a method for verifying the imaging quality of an imaging device is provided, including:
[0005] Obtaining a captured image including a calibration plate image captured by the imaging device, where the calibration plate image includes a calibration image composed of a plurality of calibration sub-rectangles of the same shape and size;
[0006] Determining the coordinate position information of each corner point on the calibration plate image in the captured image;
[0007] Constructing a drawn sub-quadrilateral formed by adjacent four corner points according to the coordinate position information of each corner point, and generating a drawn image composed of the drawn sub-quadrilaterals;
[0008] Verifying the imaging quality of the imaging device based on the side lengths of the drawn sub-quadrilaterals in the rows and / or columns of the drawn image.
[0009] In some embodiments of the method, the determining the distortion information of the captured image according to the change information of the length information of the multiple rows and / or multiple columns includes:
[0010] Calculating the length information of each row in the drawn image, and determining the distortion information of the captured image in the longitudinal direction according to the row length difference information between adjacent rows;
[0011] And / or,
[0012] Calculate the length information of each column in the drawn image, and determine the distortion information of the captured image in the horizontal direction according to the column length difference information between adjacent columns.
[0013] In some embodiments of the method, determining the distortion information of the captured image in the vertical direction according to the row length difference information between adjacent rows, and / or determining the distortion information of the captured image in the horizontal direction according to the column length difference information between adjacent columns includes:
[0014] Determine the distorted rows with column length difference information greater than a first threshold, and / or determine the distorted columns with row length difference information greater than a second threshold; determine the distortion position of the captured image according to the distorted rows and / or distorted columns;
[0015] and / or,
[0016] Determine the distortion amplitude of the captured image according to the column length difference information and / or according to the row length difference information.
[0017] In some embodiments of the method, determining the distortion information of the captured image according to the change information of the length information of multiple rows and / or multiple columns includes:
[0018] Accumulate the side lengths of the drawn sub - quadrilaterals corresponding to the first row and the last row in the drawn image to obtain the length information of the first row and the last row in the drawn image, and determine the distortion information of the captured image in the vertical direction according to the length difference information between the first row and the last row;
[0019] and / or,
[0020] Accumulate the side lengths of the drawn sub - quadrilaterals corresponding to the first column and the last column in the drawn image to obtain the length information of the first column and the last column in the drawn image, and determine the distortion information of the captured image in the horizontal direction according to the length difference information between the first column and the last column.
[0021] In some embodiments of the method, verifying the imaging quality of the imaging device based on the side lengths of the drawn sub - quadrilaterals of rows and / or columns in the drawn image includes:
[0022] Obtain the length information of a specified row and / or the length information of a specified column in the drawn image;
[0023] Determine the first unit side length of the drawn sub - quadrilateral according to the length information of the specified row and the number of drawn sub - quadrilaterals included in the specified row, and / or determine the second unit side length of the drawn sub - quadrilateral according to the length information of the specified column and the number of drawn sub - quadrilaterals included in the specified column;
[0024] Compare the first unit side length and / or the second unit side length with the side length corresponding to the calibrated sub-rectangle to obtain the distortion information of the captured image in the vertical and / or horizontal directions;
[0025] Determine the imaging quality of the imaging device according to the distortion information of the captured image in the vertical and / or horizontal directions.
[0026] In some embodiments of the method, the method further includes:
[0027] Extract the extreme value data of the side length information of the drawn sub-quadrilateral;
[0028] Determine the distortion information of the drawn sub-quadrilateral according to the extreme value data;
[0029] Verify the imaging quality of the imaging device according to the distortion information of the drawn sub-quadrilateral.
[0030] In some embodiments of the method, the method further includes:
[0031] Visually display the side length information of the specified adjacent sides of the drawn sub-quadrilateral in the drawn image, and / or visually display the distortion marks at the positions where distortion occurs in the drawn image.
[0032] According to the second aspect of the embodiments of the present disclosure, there is provided an imaging quality verification device for an imaging device, including:
[0033] An image acquisition module, configured to acquire a captured image including a calibration plate image captured by an imaging device, where the calibration plate image includes a calibration image composed of a plurality of calibrated sub-rectangles with the same shape and size;
[0034] A corner coordinate calculation module, configured to determine the coordinate position information of each corner on the calibration plate image in the captured image;
[0035] An image drawing module, configured to construct a drawn sub-quadrilateral formed by four adjacent corners according to the coordinate position information of each corner, and generate a drawn image composed of the drawn sub-quadrilaterals;
[0036] A quality verification module, configured to verify the imaging quality of the imaging device based on the side lengths of the drawn sub-quadrilaterals in the rows and / or columns of the drawn image.
[0037] In some embodiments of the device, the quality verification module includes:
[0038] A row and column length calculation unit, configured to accumulate the side lengths of the drawn sub-quadrilaterals in the same row or the same column to obtain the length information of the row or the column;
[0039] A distortion determination unit, configured to determine distortion information of the captured image according to change information of length information of multiple rows and / or multiple columns, where the distortion information includes at least one of distortion amplitude, distortion trend, and distortion position;
[0040] A quality determination module, configured to determine the imaging quality of the imaging device according to the distortion information.
[0041] In some embodiments of the device, the distortion determination unit determines the distortion information of the captured image according to the change information of the length information of the multiple rows and / or multiple columns, including:
[0042] Calculating length information of each row in the drawn image, and determining the longitudinal distortion information of the captured image according to the row length difference information between adjacent rows;
[0043] And / or,
[0044] Calculating length information of each column in the drawn image, and determining the lateral distortion information of the captured image according to the column length difference information between adjacent columns.
[0045] In some embodiments of the device, determining the longitudinal distortion information of the captured image according to the row length difference information between adjacent rows, and / or determining the lateral distortion information of the captured image according to the column length difference information between adjacent columns, includes:
[0046] Determining distorted rows with column length difference information greater than a first threshold, and / or determining distorted columns with row length difference information greater than a second threshold; determining the distortion position of the captured image according to the distorted rows and / or distorted columns;
[0047] And / or,
[0048] Determining the distortion amplitude of the captured image according to the column length difference information and / or according to the row length difference information.
[0049] In some embodiments of the device, the distortion determination unit determines the distortion information of the captured image according to the change information of the length information of the multiple rows and / or multiple columns, including:
[0050] Accumulating the side lengths of the drawn sub - quadrilaterals corresponding to the first row and the last row in the drawn image to obtain the length information of the first row and the last row in the drawn image, and determining the longitudinal distortion information of the captured image according to the length difference information between the first row and the last row;
[0051] And / or,
[0052] Accumulate the side lengths of the drawn sub - quadrilaterals corresponding to the first column and the last column in the drawn image to obtain the length information of the first column and the last column in the drawn image, and determine the distortion information of the captured image in the horizontal direction according to the length difference information between the first column and the last column.
[0053] In some embodiments of the device, the quality verification module includes:
[0054] A unit - side - length comparison and verification unit, configured to obtain the length information of a specified row and / or the length information of a specified column in the drawn image, determine a first unit side - length of the drawn sub - quadrilateral according to the length information of the specified row and the number of drawn sub - quadrilaterals included in the specified row, and / or determine a second unit side - length of the drawn sub - quadrilateral according to the length information of the specified column and the number of drawn sub - quadrilaterals included in the specified column, compare the first unit side - length and / or the second unit side - length with the side lengths corresponding to the calibrated sub - rectangle, obtain the distortion information of the captured image in the vertical and / or horizontal directions, and determine the imaging quality of the imaging device according to the distortion information of the captured image in the vertical and / or horizontal directions.
[0055] In some embodiments of the device, the device further includes:
[0056] An extreme - value verification module, configured to extract extreme - value data of the side - length information of the drawn sub - quadrilateral, determine the distortion information of the drawn sub - quadrilateral according to the extreme - value data, and verify the imaging quality of the imaging device according to the distortion information of the drawn sub - quadrilateral.
[0057] In some embodiments of the device, the device further includes:
[0058] A visualization verification and display module, configured to visually display the side - length information of the specified adjacent sides of the drawn sub - quadrilateral in the drawn image, and / or visually display the distortion marks at the positions where distortion occurs in the drawn image.
[0059] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
[0060] At least one processor;
[0061] A memory for storing executable instructions of the processor;
[0062] Wherein, the processor is configured to execute the instructions to implement the imaging quality verification method of the imaging device according to any embodiment of the present disclosure.
[0063] In a fourth aspect of the embodiments of the present disclosure, there is also provided a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any embodiment of the present disclosure.
[0064] In a fifth aspect of the embodiments of the present disclosure, there is also provided a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute the method according to any embodiment of the present disclosure.
[0065] In a sixth aspect of the embodiments of the present disclosure, there is also provided a computer program product, including a computer program / instructions. When the computer program is executed by a processor, the method according to any embodiment of the present disclosure is implemented.
[0066] By adopting the solution of the embodiments of the present disclosure, a calibration board with specific calibration images is added during shooting between imaging devices, so that the captured images include the calibration board images. During the process of verifying the imaging quality of an imaging device, the distortion of the captured images can be verified based on the image data analysis and visual image display in the calibration board images, and then the imaging quality of the imaging device can be verified. As a result, the verification or evaluation of the imaging quality of the imaging device becomes simpler and more intuitive, and it is possible to greatly reduce or eliminate the dependence on complex professional vision software and difficult-to-understand distortion parameters. It can quickly and accurately judge the imaging effect of the imaging device in the actual device environment, providing strong support for the optimization and application of the imaging device.
[0067] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure, and do not constitute an improper limitation to the present disclosure.
[0069] Figure 1 is a schematic diagram of an implementation scenario of the present solution shown according to an exemplary embodiment;
[0070] Figure 2 is a schematic flowchart of a method for verifying the imaging quality of an imaging device shown according to an exemplary embodiment;
[0071] Figure 3 is a schematic diagram of a drawn image formed by drawing sub-quadrilaterals shown according to an exemplary embodiment;
[0072] Figure 4 is a schematic diagram of the length information and length differences of some rows in the drawn image shown according to an exemplary embodiment;
[0073] Figure 5 is a schematic flowchart of a method for verifying the imaging quality of an imaging device shown according to an exemplary embodiment;
[0074] Figure 6 is a schematic flowchart of a method for verifying the imaging quality of an imaging device shown according to an exemplary embodiment;
[0075] Figure 7 is a schematic block diagram of a device for verifying the imaging quality of an imaging device shown according to an exemplary embodiment;
[0076] Figure 8 is a schematic block diagram of a device for verifying the imaging quality of an imaging device shown according to an exemplary embodiment;
[0077] Figure 9 is a schematic block diagram of a device for verifying the imaging quality of an imaging device shown according to an exemplary embodiment;
[0078] Figure 10 is an internal structure diagram of an electronic device shown according to an exemplary embodiment. Detailed implementation manners
[0079] To enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0080] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above accompanying drawings are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims. The term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, product or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, product or device. Without further limitation, there is no exclusion of additional identical or equivalent elements in the process, method, product or device including the said elements. For example, if the terms first, second, etc. are used to denote names, they do not denote any specific order.
[0081] A method for verifying the imaging quality of an imaging device provided by the present disclosure can be applied to an implementation scenario of detecting a PCB (Printed Circuit Board) using a camera as shown in Figure 1 . Specifically, it can be implemented in a terminal or server for verifying the imaging quality of the imaging device, or a terminal or server for processing image data. As shown in Figure 1 , in some implementation scenarios, a calibration board can be placed in the shooting area to capture one or more shooting images, or the calibration board can be placed at different positions in the shooting area to separately capture shooting images containing the calibration board images in the calibration board. For example, the calibration board can be placed on the PCB board in the flow channel to ensure that the calibration board can be clearly captured by the camera at different positions (such as the upper right corner, upper left corner, and middle position of the PCB). When implementing the solution, one of the shooting images can be selected for imaging quality verification, or multiple shooting images with the same calibration board position or different calibration board positions can be selected for imaging quality verification. In some implementation manners, the local terminal and the remote server can also cooperate to complete the processing of imaging quality verification. The local terminal described in the present disclosure can include, but is not limited to, various in-vehicle devices, personal computers, laptop computers, smart phones, tablet computers, wearable devices, medical devices, VR (Virtual Reality) virtual devices, terminal devices combined with AI (Artificial Intelligence), etc. The server can also be a single server, a server cluster, a distributed subsystem, a cloud processing platform, a device combined with AI processing, a server including blockchain nodes, and a combined device thereof. The processing unit involved in the terminal or server in the present disclosure can include various units capable of implementing logical processing functions, including but not limited to a CPU (Central Processing Unit), a PLC (Programmable Logic Controller), an ECU (Electronic Control Unit), an MCU (Microcontroller Unit), an AI module, etc., and a processing unit composed of a combination of one or more logical functional units, chips, big data models, intelligent neural networks, AI models, etc.
[0082] Next, the implementation manner of this solution will be described by taking the implementation scenario of detecting a PCB using a camera as an example. In this implementation scenario, a camera can be used to capture a shooting image of a fixed PCB board to detect the welding quality of the components on the PCB board. The calibration board image in this embodiment scenario can be as shown in Figure 1The checkerboard (black and white squares) shown. The imaging quality of the camera itself may vary due to various factors such as hardware quality, parameter adjustment, and operator operation. However, operators usually cannot directly evaluate the true shooting quality of the camera, resulting in a decrease in the reliability of, for example, welding quality assessment based on the captured images of the camera. In the embodiment solution provided by the present disclosure, a specific image calibration board is added during image capture, and the captured image by the camera contains the image of the calibration board. Further, a specific image processing method provided by the present disclosure is used to verify the imaging quality of the imaging device. In some embodiments provided by the present disclosure, the calibration board image can be based on facilitating corner recognition and calculating the row and column lengths of the drawn image. The drawn image can be constructed based on the drawn sub-quadrilaterals formed by four adjacent corner points. In this way, the distortion situation of the captured image can be judged based on the row or column length information in the drawn image, and then the imaging quality of the imaging device can be verified. Moreover, if there is distortion in the drawn image composed of the drawn sub-quadrilaterals, visual analysis and display can be performed, which is convenient for operators to evaluate the imaging quality and confirm the distortion position, etc.
[0083] Figure 2 is a schematic flowchart of a method for verifying the imaging quality of an imaging device shown according to an exemplary embodiment. As Figure 2 shown, the method may include:
[0084] S20: Obtain a captured image of the imaging device that includes an image of a calibration board, where the calibration board image includes a calibration image composed of a plurality of calibration sub-rectangles of the same shape and size.
[0085] The imaging device described in the present disclosure may include a device that uses the principle of optical imaging for imaging, such as a camera. In the scenario of this embodiment, a calibration board can be placed at a certain position of the PCB board to be detected, such as the upper right corner of the PCB board, and the camera is used to capture an image containing the calibration board image to obtain a captured image. In some embodiments of the present disclosure, the calibration board image can be preset as an image composed of a number of calibration sub-rectangles with the same shape and size. These several calibration sub-rectangles usually have color differences between adjacent ones, which can better identify boundaries and / or corner points, such as a black and white checkerboard. Of course, the present disclosure is not limited to having color differences between adjacent calibration sub-rectangles, between a certain number of spaced calibration sub-rectangles, or all calibration sub-rectangles. Other methods that can identify boundaries or corner points can also implement this solution, such as identifying corner points according to the border of the calibration sub-rectangle (identifying the border or based on the thickness of the border), setting special identification marks at the corner points of the calibration board (such as applying special paint that can be recognized in the state of camera shooting at the corner points, based on the preset size and number of calibration sub-rectangles, and the coordinates of the calibration board), etc. The calibration board image set in this way is convenient for quickly and accurately identifying corner points (a corner point can refer to the intersection of two lines) on the one hand. On the other hand, since the calibration sub-rectangles are rectangles with the same size and shape, a quadrilateral model can be constructed based on adjacent four corner points to draw an image, and the length of the entire row or entire column of the drawn image can be calculated, and then the imaging quality can be verified based on the length information of the row and column.
[0086] The calibration sub-rectangles involved in the embodiments of the present disclosure can be rectangles or squares. For example, if the calibration sub-rectangle is a square, it can be a black and white square, for example. One of the purposes is to draw and generate a sub-quadrilateral image based on the corner points, and the length information of the row and / or column of the drawn image can be obtained based on the side lengths of the sub-quadrilateral images formed by adjacent several corner points. Therefore, in some other embodiments, the deformed, transformed, or combined calibration sub-rectangles set based on the above principles can achieve the functional purposes of the above calibration sub-rectangles, and also belong to the scope of the calibration sub-rectangles of the present disclosure. For example, two identical right triangles can form a rectangle, then these two right triangles or each right triangle should belong to the form constructed by the deformation or combination of the calibration sub-rectangles described in the present disclosure and belong to the calibration sub-rectangles described in the present disclosure.
[0087] S22: Determine the coordinate position information of each corner point on the calibration board image in the captured image.
[0088] The coordinate position information of each corner point on the calibration board image in the captured image can be calculated through some image recognition algorithms or coordinate calculation algorithms. For example, the FindChessboardCorners operator of OpenCV can be used to calculate the coordinate position information of each corner point on the calibration board image in the captured image. These coordinate position information can be stored in the form of a corner point coordinate array data for subsequent image drawing and length calculation, etc. Generally, what is recognized through the above and other methods is each corner point on the calibration board image, and generally does not include the sides (or borders or edges) of the calibration sub-rectangle.
[0089] S24: Construct a drawing sub-quadrilateral formed by four adjacent corner points according to the coordinate position information of each corner point, and generate a drawing image composed of the drawing sub-quadrilaterals.
[0090] In some embodiments of the present disclosure, a quadrilateral formed by four adjacent corner points is constructed in advance using a designed algorithm or model, etc. Usually, this quadrilateral is the smallest quadrilateral that can be formed by four adjacent corner points and can be used as the drawing sub-quadrilateral. The drawing sub-quadrilateral is usually a rectangle, but it may be deformed when imaging distortion occurs. The drawing image is composed of the drawing sub-quadrilaterals, and this drawing image is usually a rectangle. Of course, the drawing image may be deformed when imaging distortion occurs. It can be understood that in the implementation steps of this solution, one of the purposes is to construct a drawing sub-quadrilateral formed by four adjacent corner points. Therefore, the situation where four adjacent corner points are on a straight line or three corner points are on a straight line and cannot form a quadrilateral does not fall within the scope of the embodiments. However, the present disclosure does not exclude that the situation where four or other numbers of corner points are connected to obtain the required polygon based on the above setting of a specific calibration sub-rectangle still belongs to the scope of the embodiments of the present disclosure. One of the purposes is that the polygon drawn by the corner points can form a drawing image and the length information of the rows or columns in the drawing image can be effectively calculated.
[0091] In some specific implementation manners, a quadrilateral model can be constructed according to the coordinate position information of the corner points according to the designed quadrilateral topological relationship model BiaoDingRect, and the model is stored and established based on the four intersection positions, and the corresponding quadrilateral drawing method, size calculation method, and cumulative size interface method are written for it. The quadrilateral models of each row can be stored in a CSS (Cascading-Style-Sheet) dictionary, with the key value being the row number, and all quadrilateral models can be stored in an RSS (Really Simple Syndication) set for drawing and generating the drawing sub-quadrilateral and the drawing image. Visualizing and drawing the constructed quadrilateral model can obtain Figure 3The drawn image composed of individual drawn sub - quadrilaterals as shown. During the drawing process, the length information of one or more sides of each drawn sub - quadrilateral can also be calculated and marked. For example, in the case of calibrating a sub - rectangle as a square or a rectangle, the length information of the left or bottom side of each drawn sub - quadrilateral can be marked, which is not only conducive to the concise display of the entire drawn image but also convenient for operators to view the adjacent side length information of a single drawn sub - quadrilateral and preliminarily visually evaluate the distortion of the drawn sub - quadrilateral.
[0092] S26: Verify the imaging quality of the imaging device based on the side lengths of the drawn sub - quadrilaterals in the rows and / or columns of the drawn image.
[0093] After obtaining the length information of the side lengths of the drawn sub - quadrilaterals, the distortion of the drawn image can be further verified based on the side lengths of the drawn sub - quadrilaterals, and then the imaging quality of the imaging device can be verified. In specific implementation manners, it may include, but is not limited to, determining the distortion information of the drawn image based on the distortion information of the side lengths of one or more of the drawn sub - quadrilaterals, or determining the distortion information of one or more of the drawn sub - quadrilaterals based on the side lengths of one or more of the drawn sub - quadrilaterals, and then further determining the distortion information of the drawn image according to the distortion information of one or more of the drawn sub - quadrilaterals, or calculating the length information of multiple rows and / or multiple columns based on the side lengths of the drawn sub - quadrilaterals, and further determining the distortion of the drawn image according to the length information of the rows or columns in the drawn image, and then verifying the imaging quality of the imaging device.
[0094] Adopting the solution of the embodiment of the present disclosure, a calibration plate with a specific calibration image is added during the shooting between imaging devices, so that the captured image includes the calibration plate image. During the process of verifying the imaging quality of the imaging device, the distortion of the captured image can be verified based on the image data analysis and visual image display in the calibration plate image, and then the imaging quality of the imaging device can be verified, making the verification or evaluation of the imaging quality of the imaging device simpler and more intuitive. It can greatly reduce or eliminate the dependence on complex professional vision software and difficult - to - understand distortion parameters, and can quickly and accurately judge the imaging effect of the imaging device in the actual device environment, providing strong support for the optimization and application of the imaging device.
[0095] In some embodiments, determining the distortion of the drawn image according to the length information of the rows or columns in the drawn image can include various implementation manners, such as the comparison between the lengths of a single row or a single column, the comparison of the slopes between multiple rows or multiple columns, the comparison of the total lengths between multiple rows or multiple columns, etc. In some embodiment solutions provided by the present disclosure, the verifying the imaging quality of the imaging device based on the side lengths of the drawn sub - quadrilaterals in the rows and / or columns of the drawn image includes:
[0096] S260: Accumulate the side lengths of the drawn sub - quadrilaterals in the same row or the same column to obtain the length information of that row or column;
[0097] S262: Determine the distortion information of the captured image according to the change information of the length information of multiple rows and / or multiple columns. The distortion information includes at least one of the information such as distortion amplitude, distortion trend, and distortion position. It should be noted that the absence of distortion information is also a type of distortion information of the captured image.
[0098] S264: Determine the imaging quality of the imaging device according to the distortion information.
[0099] In some embodiments provided by the present disclosure, the distortion information of the captured image can be verified based on the change information of the side lengths of rows or columns, and then the imaging quality of the imaging device can be determined. For example, in some implementation manners, the GetSum method (a data calculation call method) can be used to accumulate the side lengths of the drawn sub - quadrilaterals corresponding to multiple specified rows and / or multiple columns (which can be several specified rows / columns or specific several rows / columns, or can be calculated for all rows or columns) in the drawn image to obtain the length information of the multiple rows and / or multiple columns. Generally, if the image is distorted horizontally, it is usually reflected in the enlargement or reduction of the vertical sides of the drawn sub - quadrilaterals, and in terms of rows and columns, it is reflected in the mutation or gradual change of the length information of one or more columns. The distortion of the image in the vertical direction is similar. If the image is distorted vertically, it is usually reflected in the enlargement or reduction of the horizontal sides of the drawn sub - quadrilaterals, and in terms of rows and columns, it is reflected in the mutation or gradual change of the length information of one or more rows. Therefore, the embodiments of the present disclosure can determine the distortion information of the captured image based on the length change information of rows, the length change information of columns, or the combination of both.
[0100] For example, the length difference information between multiple rows can be calculated, and the distortion information of the captured image in the vertical direction, such as distortion amplitude, distortion trend, and distortion position, can be judged according to the difference information. For example, if the length difference between two certain rows is large and exceeds the preset threshold, it can be judged that there is a large distortion in this area, and the distortion direction can be judged according to the positive or negative of the difference.
[0101] In this embodiment, the length information of rows or columns is obtained by accumulating the side lengths of the small quadrilaterals in one row or one column. By comparing the lengths between rows or columns, the distortion situation of the captured image can be obtained more intuitively, simply, and accurately, greatly improving the verification efficiency and accuracy of the imaging quality of the imaging device.
[0102] In some other embodiments provided by the present disclosure, the length information of all rows or columns in the drawn image can be calculated, and then the distortion information in the vertical or horizontal direction can be determined according to the difference of the length information of rows or columns. Specifically, in some embodiments provided by the present disclosure, the determining the distortion information of the captured image according to the change information of the length information of the multiple rows and / or multiple columns includes:
[0103] S2620: Calculate the length information of each row in the drawn image, and determine the distortion information of the captured image in the vertical direction according to the row length difference information between adjacent rows;
[0104] and / or,
[0105] S2622: Calculate the length information of each column in the drawn image, and determine the distortion information of the captured image in the horizontal direction according to the column length difference information between adjacent columns.
[0106] It should be noted that the row length difference information or column length difference information described in this embodiment may include the length difference information obtained by subtracting the lengths between adjacent rows or adjacent columns, or may also include the difference information obtained by other methods of comparison based on the length information of adjacent rows or adjacent columns. For example Figure 4 as shown, it may be to determine the distortion information based on the length difference, or to determine the distortion information based on the trend chart generated from the length information. For example Figure 4 if the length difference of the 12th row is significantly larger, or the row lengths of the 9th - 12th rows are significantly higher than the length information of other rows, it can be explained that distortion occurs during imaging at this position, and the amplitude of the distortion can also be shown more prominently, facilitating the troubleshooting of imaging hardware problems or parameter problems on the imaging device.
[0107] In some other embodiments provided by the present disclosure, the distortion at a certain row or column position can be determined according to the extreme values in the row or column length information, and then the distortion information can be quickly determined. Specifically, in some other embodiments of the method, the determining the distortion information of the captured image in the vertical direction according to the row length difference information between adjacent rows, and / or determining the distortion information of the captured image in the horizontal direction according to the column length difference information between adjacent columns, includes:
[0108] Determine the distorted rows with column length difference information greater than a first threshold, and / or determine the distorted columns with row length difference information greater than a second threshold; determine the distortion position of the captured image according to the distorted rows and / or distorted columns;
[0109] and / or,
[0110] Determine the distortion amplitude of the captured image according to the column length difference information and / or according to the row length difference information.
[0111] The first threshold and the second threshold can be set according to the characteristics of the calibrated sub-rectangle or according to the imaging quality verification conditions. The first threshold and the second threshold can be the same, or the corresponding row distortion determination region range or column distortion determination value range can be set respectively. For example, in the case where the calibrated sub-rectangle is a square, the first threshold and the second threshold can be set to be the same, and the specific value can be set to 1 pixel, for example. If the change amplitude of the row or column (row length information or column length information) is greater than 1 pixel, it can indicate that distortion occurs at the position of this row or column, and then the distortion position of the captured image can be determined. Of course, the distortion amplitude can also be determined according to the size of the column length difference information or the row length difference information. For example, if the row length difference information at the positions of multiple consecutive rows is greater than 1 pixel and there are multiple values greater than 2 pixels, it can indicate that the distortion amplitude at this position is relatively large and the imaging quality of the camera is unreliable.
[0112] In some other embodiments provided by the present disclosure, the distortion information of the captured image can also be obtained more quickly and effectively based on the comparison of the length information of the first row and the last row, or based on the comparison of the length information of the first column and the last column. Specifically, in some other embodiments of the method, the determining the distortion information of the captured image according to the change information of the length information of the multiple rows and / or multiple columns includes:
[0113] Accumulate the side lengths of the drawn sub-quadrilaterals corresponding to the first row and the last row in the drawn image to obtain the length information of the first row and the last row in the drawn image, and determine the longitudinal distortion information of the captured image according to the length difference information between the first row and the last row;
[0114] and / or,
[0115] Accumulate the side lengths of the drawn sub-quadrilaterals corresponding to the first column and the last column in the drawn image to obtain the length information of the first column and the last column in the drawn image, and determine the lateral distortion information of the captured image according to the length difference information between the first column and the last column.
[0116] In some other embodiments provided by the present disclosure, the imaging quality can be verified based on the change of the unit side length. Specifically, in some other embodiments of the method, the verifying the imaging quality of the imaging device based on the side lengths of the drawn sub-quadrilaterals of the rows and / or columns in the drawn image includes:
[0117] Obtain the length information of the specified row and / or the specified column in the drawn image;
[0118] Determine the first unit side length of the drawn sub - quadrilaterals based on the length information of the specified row and the number of drawn sub - quadrilaterals included in the specified row, and / or determine the second unit side length of the drawn sub - quadrilaterals based on the length information of the specified column and the number of drawn sub - quadrilaterals included in the specified column;
[0119] Compare the first unit side length and / or the second unit side length with the side length corresponding to the calibrated sub - rectangle to obtain the distortion information of the captured image in the vertical and / or horizontal directions;
[0120] Determine the imaging quality of the imaging device according to the distortion information of the captured image in the vertical and / or horizontal directions.
[0121] Taking the row as an example, assume that the calibrated sub - rectangle is a square with a side length of 2 pixels. The length information of a specified row in the image, such as the 10th row, can be selected as 122 pixels, and this 10th row includes 60 drawn sub - quadrilaterals. Then, it can be calculated that the first unit side length of the drawn sub - quadrilaterals forming this row is (122 / 60) = 2.03 pixels. Comparing this first unit side length of 2.03 pixels with the side length of 2 pixels of the calibrated sub - rectangle, the change amplitude is + 0.03 pixels, which does not exceed the allowable error range of 0.1 pixel. Then, compare this unit side length with the actual side length of the calibrated sub - rectangle. If the difference exceeds the allowable range of 1 pixel, it indicates that there is no distortion in the vertical range corresponding to this row of the captured image, and it can be used to evaluate the imaging quality of the imaging device. Of course, the first unit side lengths of multiple rows can be compared to more accurately determine the distortion information in the vertical direction. The distortion of the captured image in the vertical or horizontal direction described in some embodiments of the present disclosure can also be understood as the distortion when the imaging device performs imaging in the vertical (Y - axis direction) or horizontal (X - axis direction).
[0122] The identification process of distortion information in the horizontal direction by columns is similar to the basic information identification process in the vertical direction by rows as described above, and will not be elaborated here. In this embodiment, it can also include obtaining the distortion comparison information of the imaging device in the vertical and horizontal directions based on the comparison results of the first unit side length and the second unit side length with the side length corresponding to the calibrated sub - rectangle. This distortion comparison information can also verify or reflect the imaging quality of the imaging device. For example, if the calculated second unit side length is 2.12 pixels, compared with the first unit side length of 2.03 pixels, it can indicate that the distortion degree of the imaging setting in the horizontal direction is greater than that in the vertical direction, and the distortion ratio between the horizontal and vertical directions is (0.12 / 0.03 = 4) 4:1, which can provide a more effective and accurate reference basis for the adjustment of the hardware or parameters of the imaging device.
[0123] In some other implementation schemes provided by the present disclosure, the imaging quality can be verified based on some extreme value data. For example, in some embodiments, such asFigure 5 As shown, the method further includes:
[0124] S50: Extract the extreme value data of the side length information of the drawn sub - quadrilateral, determine the distortion information of the drawn sub - quadrilateral according to the extreme value data, and verify the imaging quality of the imaging device according to the distortion information of the drawn sub - quadrilateral.
[0125] Specifically, in some implementation manners, the side length information of the drawn sub - rectangle in the drawn image can be obtained, and the extreme value data of the side lengths of the drawn sub - quadrilaterals in the specified row or column, or the extreme value data of the side lengths of all drawn sub - quadrilaterals (such as the maximum extreme value and the minimum extreme value) can be extracted to obtain the deviation range. If the deviation is within the allowable range of the extreme values, it can be considered that there is no distortion. If it exceeds the allowable range, it can be considered that there is distortion. At the same time, the degree of distortion can also be determined according to the size of the deviation range of the extreme values. If the deviation range is large, it indicates that the distortion of the corresponding drawn sub - grid is large, thereby inferring that the imaging quality of the imaging device is affected greatly, and further verifying the imaging quality of the imaging device.
[0126] Such as Figure 1 As shown, according to the embodiment solution provided by the present disclosure, during the imaging quality verification process, by taking pictures of the calibration plate image, a visual drawn image can be generated. The side length information of the drawn sub - quadrilateral (side length line segment display, or, line segment and side length data value display) can be visually displayed in the drawn image, and the deformation situation of the drawn quadrilateral can be intuitively presented, which is convenient for the operator to quickly understand the imaging quality of the imaging device. Therefore, in some embodiments provided by the present disclosure,
[0127] Visually display the side length information of the specified adjacent sides of the drawn sub - quadrilateral in the drawn image, and / or visually display the distortion mark at the position where distortion appears in the drawn image. Figure 6 is a schematic flowchart of a method for verifying the imaging quality of an imaging device shown according to an exemplary embodiment. Such as Figure 6 As shown (the dashed arrow indicates an optional execution scheme), in other embodiments of the method, the method may further include:
[0128] S60: Visually display the side length information of the specified adjacent sides of the drawn sub - quadrilateral in the drawn image, and / or visually display the distortion mark at the position where distortion appears in the drawn image.
[0129] Through the above one or more embodiments, those skilled in the art can reproduce the present invention according to the described content, and achieve a simple and intuitive verification of the imaging quality of the imaging device. It can be understood that the various embodiments of the above methods in this specification are all described in a progressive manner. For the same / similar parts between the various embodiments, reference can be made to each other, and the key points of each embodiment are the differences from other embodiments. For the relevant parts, reference can be made to the description of other method embodiments.
[0130] It should be understood that although the steps in the flowchart involved in the accompanying drawings are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the accompanying drawings may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or other steps or stages.
[0131] Based on the description of the embodiments of the method for verifying the imaging quality of the imaging device described above, the present disclosure also provides an apparatus for verifying the imaging quality of the imaging device. The apparatus may include a system (including a distributed system), software (application), module, component, controller, server, terminal, etc. that uses the method described in the embodiments of this specification and combines the necessary implementation hardware. Based on the same inventive concept, the apparatuses in one or more embodiments provided by the embodiments of the present disclosure are as described in the following embodiments. Since the implementation solutions for the apparatus to solve the problems are similar to the method, the implementation of the specific apparatus in the embodiments of this specification can refer to the implementation of the foregoing method, and the repeated parts will not be described again. As used hereinafter, the term "unit" or "module" may be a combination of software and / or hardware that can implement a predetermined function. Although the apparatuses described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0132] Figure 7 It is a schematic block diagram of an apparatus for verifying the imaging quality of an imaging device shown according to an exemplary embodiment. The apparatus may be the aforementioned terminal, or a server, or a module, component, device, control unit, etc. integrated in the terminal. Specifically, reference can be made to Figure 7 , and the apparatus 100 may include:
[0133] An image acquisition module 702, which can be used to acquire a captured image including a calibration plate image captured by the imaging device, and the calibration plate image includes a calibration image composed of a plurality of calibration sub-rectangles with the same shape and size;
[0134] The corner coordinate calculation module 704 can be used to determine the coordinate position information of each corner on the calibration plate image in the captured image;
[0135] The image drawing module 706 can be used to construct a drawing sub - quadrilateral formed by adjacent four corners according to the coordinate position information of each corner, and generate a drawing image composed of the drawing sub - quadrilaterals;
[0136] The quality verification module 708 can be used to verify the imaging quality of the imaging device based on the side lengths of the drawing sub - quadrilaterals in the rows and / or columns of the drawing image.
[0137] Figure 8 It is a schematic block diagram of an imaging quality verification device of an imaging device shown according to an exemplary embodiment. As Figure 8 shown, in some embodiments of the device, the quality verification module 708 may include:
[0138] The row - column length calculation unit 80 can be used to accumulate the side lengths of the drawing sub - quadrilaterals in the same row or the same column to obtain the length information of the row or the column;
[0139] The distortion determination unit 82 can be used to determine the distortion information of the captured image according to the change information of the length information of multiple rows and / or multiple columns. The distortion information includes at least one of the information of distortion amplitude, distortion trend, and distortion position;
[0140] The quality determination module 84 can be used to determine the imaging quality of the imaging device according to the distortion information.
[0141] In some embodiments of the device, the distortion determination unit 72 determines the distortion information of the captured image according to the change information of the length information of multiple rows and / or multiple columns, including:
[0142] Calculate the length information of each row in the drawing image, and determine the longitudinal distortion information of the captured image according to the row - length difference information between adjacent rows;
[0143] And / or,
[0144] Calculate the length information of each column in the drawing image, and determine the lateral distortion information of the captured image according to the column - length difference information between adjacent columns.
[0145] In some embodiments of the device, the determining the longitudinal distortion information of the captured image according to the row - length difference information between adjacent rows, and / or, determining the lateral distortion information of the captured image according to the column - length difference information between adjacent columns, includes:
[0146] Determine the distorted rows with the column length difference information greater than the first threshold, and / or determine the distorted columns with the row length difference information greater than the second threshold; determine the distortion position of the captured image according to the distorted rows and / or distorted columns;
[0147] and / or,
[0148] Determine the distortion amplitude of the captured image according to the column length difference information and / or according to the row length difference information.
[0149] In some embodiments of the device, the distortion determination unit 72 determines the distortion information of the captured image according to the change information of the length information of the multiple rows and / or multiple columns, including:
[0150] Accumulate the side lengths of the drawn sub - quadrilaterals corresponding to the first row and the last row in the drawn image to obtain the length information of the first row and the last row in the drawn image, and determine the longitudinal distortion information of the captured image according to the length difference information between the first row and the last row;
[0151] and / or,
[0152] Accumulate the side lengths of the drawn sub - quadrilaterals corresponding to the first column and the last column in the drawn image to obtain the length information of the first column and the last column in the drawn image, and determine the lateral distortion information of the captured image according to the length difference information between the first column and the last column.
[0153] In some embodiments of the device, the quality verification module 708 includes:
[0154] The unit - side - length comparison verification unit can be used to obtain the length information of the specified row and / or the specified column in the drawn image, determine the first unit side - length of the drawn sub - quadrilateral according to the length information of the specified row and the number of drawn sub - quadrilaterals included in the specified row, and / or determine the second unit side - length of the drawn sub - quadrilateral according to the length information of the specified column and the number of drawn sub - quadrilaterals included in the specified column, compare the first unit side - length and / or the second unit side - length with the side length corresponding to the calibrated sub - rectangle to obtain the distortion information of the captured image in the longitudinal and / or lateral directions, and determine the imaging quality of the imaging device according to the distortion information of the captured image in the longitudinal and / or lateral directions.
[0155] In some embodiments of the device, the device may further include:
[0156] The extreme - value verification module can be used to extract the extreme - value data of the side - length information of the drawn sub - quadrilaterals, determine the distortion information of the drawn sub - quadrilaterals according to the extreme - value data, and verify the imaging quality of the imaging device according to the distortion information of the drawn sub - quadrilaterals.
[0157] Figure 9 It is a schematic block diagram of an imaging quality verification device for an imaging device shown according to an exemplary embodiment. As Figure 9 shown, in some embodiments of the device, the device may further include:
[0158] A visualization verification display module 90, which can be used to visually display the side length information of the specified adjacent sides of the drawn sub - quadrilateral in the drawn image, and / or visually display the distortion marks at the positions where distortion occurs in the drawn image.
[0159] Regarding the device in the above - mentioned embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0160] According to the description of the foregoing related method and device embodiments, the present disclosure also provides an electronic device, which includes at least one processor and a memory for storing executable instructions of the processor; wherein, the processor is configured to implement the imaging quality verification method of the imaging device as described in any embodiment of the present disclosure when executing the executable instructions.
[0161] According to the description of the foregoing related method and device embodiments, the present disclosure also provides a computer - readable storage medium, when the instructions in the computer - readable storage medium are executed by the processor of the electronic device, enabling the electronic device to implement the imaging quality verification method of the imaging device as described in any embodiment of the present disclosure.
[0162] In an exemplary embodiment, there is also provided a computer program product, including a computer program, and the computer program implements the imaging quality verification method of the imaging device described in any embodiment of this specification when executed by a processor.
[0163] Each embodiment in this specification is described in a progressive manner. The same or similar parts among the embodiments can be referred to each other, and the key point of each embodiment is to illustrate the differences from other embodiments. In particular, for the hardware + program - type embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments.
[0164] In an exemplary embodiment, an electronic device is provided. The electronic device can be a terminal or a server, or integrated into a terminal or a server to implement the imaging quality verification of an imaging device. Its internal structure diagram can be as Figure 10As shown. The electronic device may include a processor, a memory, an input / output interface, a communication interface, and an input device, and may also include a display unit. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the electronic device is used for the processor to exchange information with external devices. The communication interface of the electronic device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through Wi-Fi, a mobile cellular network, near field communication (NFC), or other technologies. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the electronic device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the electronic device, or an external keyboard, touchpad, or mouse, etc.
[0165] Those skilled in the art can understand that Figure 10 the structure shown in is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the electronic device to which the solution of this application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0166] It should be noted that the above-mentioned devices, electronic devices, etc. may also include other implementation manners according to the description of the method embodiments. The specific implementation manners can refer to the description of the relevant method embodiments. At the same time, new embodiments formed by the mutual combination of the features among the various methods and the device, equipment, and server embodiments still fall within the scope of the embodiments covered by this disclosure, and will not be elaborated one by one here.
[0167] For the convenience of description, when describing the above device, various modules are described separately according to their functions. Of course, when implementing one or more of this specification, the functions of each module can be implemented in the same or multiple software and / or hardware, or the modules implementing the same function can be realized by a combination of multiple sub-modules or sub-units, etc. The device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the coupling, communication connection, etc. between the displayed or described devices or units can be realized in a direct and / or indirect coupling / connection manner, which can be through some standard or custom interfaces, protocols, etc., and is realized in an electrical, mechanical or other form.
[0168] Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include well-known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0169] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope.
Claims
1. An imaging quality verification method for an imaging device, characterized in that, The method includes: Obtaining a captured image including a calibration plate image captured by an imaging device, where the calibration plate image includes a calibration image composed of a number of calibration sub-rectangles with the same shape and size; Determining the coordinate position information of each corner point on the calibration plate image in the captured image; Constructing a drawn sub-quadrilateral formed by adjacent four corner points according to the coordinate position information of each corner point, and generating a drawn image composed of the drawn sub-quadrilaterals; Verifying the imaging quality of the imaging device based on the side lengths of the drawn sub-quadrilaterals in the rows and / or columns of the drawn image.
2. The method according to claim 1, wherein The verifying the imaging quality of the imaging device based on the side lengths of the drawn sub-quadrilaterals in the rows and / or columns of the drawn image includes: Accumulating the side lengths of the drawn sub-quadrilaterals in the same row or the same column to obtain the length information of that row or that column; Determining the distortion information of the captured image according to the variation information of the length information of multiple rows and / or multiple columns, where the distortion information includes at least one of the information of distortion amplitude, distortion trend, and distortion position; Determining the imaging quality of the imaging device according to the distortion information.
3. The method according to claim 2, wherein The determining the distortion information of the captured image according to the variation information of the length information of multiple rows and / or multiple columns includes: Calculating the length information of each row in the drawn image, and determining the longitudinal distortion information of the captured image according to the row length difference information between adjacent rows; And / or, Calculating the length information of each column in the drawn image, and determining the transverse distortion information of the captured image according to the column length difference information between adjacent columns.
4. The method according to claim 3, characterized in that, The determining the longitudinal distortion information of the captured image according to the row length difference information between adjacent rows, and / or the determining the transverse distortion information of the captured image according to the column length difference information between adjacent columns includes: Determining the distorted rows with column length difference information greater than a first threshold, and / or determining the distorted columns with row length difference information greater than a second threshold; determining the distortion position of the captured image according to the distorted rows and / or distorted columns; And / or, Determining the distortion amplitude of the captured image according to the column length difference information and / or according to the row length difference information.
5. The method according to claim 2, wherein The determining the distortion information of the captured image according to the variation information of the length information of multiple rows and / or multiple columns includes: Accumulating the side lengths of the drawn sub-quadrilaterals corresponding to the first row and the last row in the drawn image to obtain the length information of the first row and the last row in the drawn image, and determining the longitudinal distortion information of the captured image according to the length difference information between the first row and the last row; And / or, Accumulating the side lengths of the drawn sub-quadrilaterals corresponding to the first column and the last column in the drawn image to obtain the length information of the first column and the last column in the drawn image, and determining the transverse distortion information of the captured image according to the length difference information between the first column and the last column.
6. The method according to claim 1, wherein The verifying the imaging quality of the imaging device based on the side lengths of the drawn sub-quadrilaterals in the rows and / or columns of the drawn image includes: Obtaining the length information of a specified row and / or the length information of a specified column in the drawn image; Determine the first unit side length of the drawn sub - quadrilateral according to the length information of the specified row and the number of drawn sub - quadrilaterals included in the specified row, and / or determine the second unit side length of the drawn sub - quadrilateral according to the length information of the specified column and the number of drawn sub - quadrilaterals included in the specified column; Compare the first unit side length and / or the second unit side length with the corresponding side length of the calibrated sub - rectangle to obtain the distortion information of the captured image in the vertical and / or horizontal directions; Determine the imaging quality of the imaging device according to the distortion information of the captured image in the vertical and / or horizontal directions.
7. The method according to claim 1, characterized in that, The method further includes: Extract the extreme value data of the side length information of the drawn sub - quadrilateral; Determine the distortion information of the drawn sub - quadrilateral according to the extreme value data; Verify the imaging quality of the imaging device according to the distortion information of the drawn sub - quadrilateral.
8. The method according to any one of claims 1 to 7, characterized in that The method further includes: Visually display the side length information of the specified adjacent sides of the drawn sub - quadrilateral in the drawn image, and / or visually display the distortion marks at the positions where distortion occurs in the drawn image.
9. An imaging quality verification device for an imaging device, characterized in that, Includes: An image acquisition module, configured to acquire a captured image including a calibration plate image captured by an imaging device, where the calibration plate image includes a calibration image composed of a plurality of calibrated sub - rectangles with the same shape and size; A corner coordinate calculation module, configured to determine the coordinate position information of each corner on the calibration plate image in the captured image; An image drawing module, configured to construct a drawn sub - quadrilateral formed by four adjacent corners according to the coordinate position information of each corner, and generate a drawn image composed of drawn sub - quadrilaterals; A quality verification module, configured to verify the imaging quality of the imaging device based on the side lengths of the drawn sub - quadrilaterals in the rows and / or columns of the drawn image.
10. A computer-readable storage medium, characterized in that, When the instructions in the computer - readable storage medium are executed by the processor of the electronic device, the electronic device can execute the imaging quality verification method of the imaging device according to any one of claims 1 to 8.