CN111836038A - Method and device for determining imaging quality, storage medium and electronic equipment - Google Patents

Method and device for determining imaging quality, storage medium and electronic equipment Download PDF

Info

Publication number
CN111836038A
CN111836038A CN201910308067.4A CN201910308067A CN111836038A CN 111836038 A CN111836038 A CN 111836038A CN 201910308067 A CN201910308067 A CN 201910308067A CN 111836038 A CN111836038 A CN 111836038A
Authority
CN
China
Prior art keywords
image
determining
imaging quality
region
reference object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910308067.4A
Other languages
Chinese (zh)
Other versions
CN111836038B (en
Inventor
周兰
许译天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Horizon Robotics Technology Research and Development Co Ltd
Original Assignee
Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Horizon Robotics Technology Research and Development Co Ltd filed Critical Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority to CN201910308067.4A priority Critical patent/CN111836038B/en
Publication of CN111836038A publication Critical patent/CN111836038A/en
Application granted granted Critical
Publication of CN111836038B publication Critical patent/CN111836038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Studio Devices (AREA)

Abstract

The method comprises the steps of obtaining an image of a test card collected by an image collecting device to obtain a first image; identifying the position of a target reference object in the first image; aligning the first image with a preset second image based on the position of the target reference object; determining similar parameters of the first image and the second image after alignment; and determining the imaging quality of the image acquisition equipment according to the similar parameters. According to the method, the device, the storage medium and the electronic equipment for determining the imaging quality, the imaging quality of the image acquisition equipment is evaluated through determining the two image similarity parameters of the test card, the subjectivity of imaging quality evaluation is avoided, a quantitative index is provided for the imaging quality evaluation, and the accuracy of imaging quality determination is improved.

Description

Method and device for determining imaging quality, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of image processing, in particular to a method and a device for determining imaging quality, a storage medium and electronic equipment.
Background
Mobile terminal devices (e.g., smart phones) are rapidly spreading, users have higher and higher requirements for image quality of image capturing devices (e.g., cameras) of the devices, and device manufacturers gradually improve the image quality of the image capturing devices through continuous evaluation and improvement. In the prior art, for evaluating image quality, the ISO standard is referred to, for example, by using an ISO 12233 test card to measure a Spatial Frequency Response (SFR for short) of an image acquisition device, the ISO 12233 test card has a plurality of modules, the image acquisition device is used to capture an image of the test card, and different modules of the captured image are observed to evaluate different image details, so as to evaluate the image quality of the image acquisition device. However, the method for evaluating the image quality by using the ISO standard test card has strong subjectivity and mainly depends on the experience of an observer, so that the measured evaluation result is inaccurate.
Disclosure of Invention
In order to solve the above technical problem, a method, an apparatus, a storage medium, and an electronic device for determining imaging quality of the present application are provided.
According to an aspect of the present application, there is provided a method of determining imaging quality, comprising:
acquiring an image of a test card acquired by image acquisition equipment to obtain a first image; identifying the position of a target reference object in the first image; aligning the first image with a preset second image based on the position of the target reference object; determining similar parameters of the first image and the second image after alignment; and determining the imaging quality of the image acquisition equipment according to the similar parameters.
According to another aspect of the present application, there is provided an apparatus for determining imaging quality, comprising:
the image acquisition module is used for acquiring an image of the test card acquired by the image acquisition equipment to obtain a first image; the identification module is used for identifying the position of the target reference object in the first image; the image alignment module is used for aligning the first image with a preset second image based on the position of the target reference object; a parameter determining module, configured to determine similar parameters of the aligned first image and the aligned second image; and the imaging quality determining module is used for determining the imaging quality of the image acquisition equipment according to the similar parameters.
According to another aspect of the present application, there is provided a computer-readable storage medium having stored thereon a computer program for executing the method of any of the above.
According to another aspect of the present application, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; the processor is configured to perform any of the methods described above.
According to the method, the device, the storage medium and the electronic equipment for determining the imaging quality, the imaging quality of the image acquisition equipment is evaluated through determining the two image similarity parameters of the test card, and the image of the test card stored in advance can obtain an accurate numerical diagram of the test card, so that the subjectivity of imaging quality evaluation can be avoided, quantitative indexes are provided for the imaging quality evaluation, the spatial frequency and the direction of the image of the test card are continuous, the evaluation granularity can be finer and more comprehensive, and the accuracy of imaging quality determination is improved.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail embodiments of the present application with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a scene diagram to which the present application is applied.
FIG. 2 is a schematic diagram of a test card suitable for use with the present application.
FIG. 3 is a schematic diagram of another test card to which the present application is applicable.
Fig. 4 is a flowchart illustrating a method for determining imaging quality according to a first exemplary embodiment of the present application.
Fig. 5 is a flowchart illustrating a method for determining imaging quality according to a second exemplary embodiment of the present application.
Fig. 6 is a flowchart illustrating a method for determining imaging quality according to a third exemplary embodiment of the present application.
Fig. 7 is a schematic structural diagram of an apparatus for determining imaging quality according to a first exemplary embodiment of the present application.
Fig. 8 is a schematic structural diagram of an apparatus for determining imaging quality according to a second exemplary embodiment of the present application.
Fig. 9 is a schematic structural diagram of an apparatus for determining imaging quality according to a third exemplary embodiment of the present application.
Fig. 10 is a block diagram of an electronic device provided in an exemplary embodiment of the present application.
Detailed Description
Hereinafter, example embodiments according to the present application will be described in detail with reference to the accompanying drawings. It should be understood that the described embodiments are only some embodiments of the present application and not all embodiments of the present application, and that the present application is not limited by the example embodiments described herein.
In evaluating an image capture apparatus (e.g., a camera), the image capture apparatus is used to capture a test card, an image containing the capture object as the test card is acquired, and a tester evaluates the imaging quality of the image capture apparatus by observing the resolution of the image. The method has strong subjectivity and is mainly evaluated by the experience of testers, and secondly, the existing resolution test card has discontinuous resolution values and is difficult to obtain quantitative evaluation results.
The application provides a method and a device for determining imaging quality, which can quantify the determined imaging quality of image acquisition equipment and avoid subjective judgment.
Fig. 1 shows an application scenario of the present application, which includes a fixing bracket 1 and a fixing base 2, the fixing bracket 1 is installed on the fixing base 2, and a test card 3 (such as the test card shown in fig. 2 and 3, any one of them) is fixedly installed on the fixing base 2, and an image capturing device 4, such as a camera, is installed on the fixing bracket 1. The photographing lens of the image pickup device 4 is directed toward the test card 3 to acquire an image of which the subject is the test card 3. And evaluating the imaging quality of the image acquisition equipment based on the shot image and a preset and stored image of the same test card.
There are provided 2 test cards for evaluating image capture devices, as shown in fig. 2 and 3. As shown in fig. 2, the test card shown in fig. 2 includes a plurality of concentric circles, and a radius difference between two adjacent circles is gradually smaller from an inner circle (close to the center of the circle) to an outer circle (far from the center of the circle) (therefore, the image spatial domain frequency gradually increases, and the frequency value is continuous). And the middle image of the test card has directionality, no longer in several discrete directions. And as shown in fig. 2, the test card includes A, B, C and D four regions, each of which may be provided with a different color, thereby introducing color variations to the image of the test card. Based on the test card shown in fig. 2, when the imaging quality of the image acquisition device is evaluated, the image of the test card acquired by the image acquisition device can be uniformly divided according to the required measurement precision, for example, the image is uniformly divided into a plurality of blocks in a transverse and vertical crossing manner, the frequency and the direction of different image blocks are different, and the similar parameters of the shot image and the stored image are determined for different image blocks, so that the quantitative evaluation result of the imaging quality of the image acquisition device is obtained.
Figure 3 shows another test card. As shown in FIG. 3, the image space frequency of the test card gradually increases from the lower right corner M to the upper left corner N. Based on the test card shown in fig. 3, when the image acquisition device is subjected to imaging quality evaluation, the image of the test card acquired by the image acquisition device is uniformly divided according to the required measurement precision, for example, the image is uniformly divided into a plurality of blocks in a transverse and vertical crossing manner, and the denser the division is, the higher the precision is. And determining the similar parameters of the shot image and the stored image according to different frequencies of each image, thereby obtaining the quantitative evaluation result of the imaging quality of the image acquisition equipment.
In summary, the present application provides two test cards as shown in fig. 2 and 3, with continuous frequency values of the images. In addition, as shown in fig. 2, a color component may be introduced, so that a graphical basis is provided for quantitative evaluation and fine-grained evaluation of imaging quality of the image acquisition device.
In order to enable those skilled in the art to accurately understand the technical solution of the present application, the method and apparatus for determining imaging quality provided by the present application will be described in detail below with reference to the accompanying drawings.
Fig. 4 is a flowchart illustrating a method for determining imaging quality according to a first exemplary embodiment of the present application. As shown in fig. 4, a method of determining imaging quality may include the steps of:
step 410, acquiring an image of the test card acquired by the image acquisition device to obtain a first image.
In this application, the image acquisition device may be, for example, a video camera, a camera on a mobile device, or the like. In evaluating the imaging quality of the image capture device, the test card may be photographed using the image capture device to obtain an image containing the photographic subject as the test card, for example, the first image in step 410. Illustratively, as shown in fig. 1, a test card 3 is mounted on a fixed base 2, and then an image pickup device 4 is operated to photograph the test card 3, thereby obtaining a first image.
In some embodiments, the image capturing device may include an image processing function, so that the first image may be directly converted into a digital image for subsequent processing. Alternatively, in other embodiments, the image capturing device may transmit the captured first image to a data processing apparatus (e.g., a computer with image processing capabilities). This is not limited in this application.
In step 420, the position of the target reference object in the first image is identified.
In the embodiment of the present application, the photographic subject included in the first image is a test card. The specific position on the test card is provided with a target reference object, so that the first image comprises the target reference object and the position thereof. Illustratively, the particular location may be, for example, a center location of the test card, or at least one top corner location of the test card.
And step 430, aligning the first image with a preset second image based on the position of the target reference object.
According to an embodiment of the present application, a second image may be stored in advance, and the second image and the first image have the same photographic object, for example, both include a test card. In other words, the second image may be printed by a printer to obtain a test card in the physical world, and the image capture device may capture the test card to obtain the first image.
The embodiment of the present application provides two types of test cards as shown in fig. 2 and fig. 3, and when a second image corresponding to the test card is stored in advance, the method can be implemented by the following example:
in some exemplary embodiments, the second image corresponding to the test card shown in fig. 2 may be generated for pre-storage by the following formula:
r2=(x-centerx)2+(x-centery)2
pix=(sin(r2×scale)+1)/2×(r/max(r))×(2bit-1)
where x and y are image pixel positions, centerx、centeryFor the center position of the image, scale is a constant term, bit represents the bit depth of the image, and pix is the resulting pixel value at position (x, y).
In other exemplary embodiments, the second image corresponding to the test card shown in fig. 3 may be generated for pre-storage by the following formula:
xre=abs(x-centerx)
yre=abs(y-centery)
pix=(sin(xre 2×scale)+1)/2×(sin(yre 2×scale)+1)/2×(2bit-1)
where x and y are image pixel positions, centerx、centeryFor the center position of the image, scale is a constant term, bit represents the bit depth of the image, and pix is the resulting pixel value at position (x, y).
However, due to factors such as the shooting distance, the image transfer process (e.g., deforming or compressing the image), etc., the resolution of the first image and the second image are not necessarily exactly the same, and in this step, the first image and the second image may be aligned based on the position of the target reference object.
At step 440, the similarity parameters of the aligned first image and the second image are determined.
Illustratively, based on the aligned first image and second image, a similarity parameter of the two images is determined, for example, a similarity of the two images is calculated. According to an embodiment of the present application, the similarity parameter of the first image and the second image global image may be calculated, or the similarity parameter of at least one local image in the first image and the second image may be calculated (for example, an a region in the first image and an a 'region in the second image are selected, and the similarity parameter of the a region and the a' region are calculated).
And step 450, determining the imaging quality of the image acquisition equipment according to the similar parameters.
In this step, the imaging quality of the image acquisition device is determined based on the similarity parameters determined in the preceding step 440. For example, when the similarity parameter is the similarity between the first image and the second image, the greater the value of the similarity, the better the imaging quality of the image acquisition apparatus can be determined.
In summary, according to the method for determining imaging quality provided by the embodiment of the application, the imaging quality of the image acquisition device is evaluated by determining the two image similarity parameters of the test card, and because the image of the test card stored in advance can obtain an accurate numerical value diagram of the test card, the subjectivity of imaging quality evaluation can be avoided, a quantitative index is provided for the imaging quality evaluation, the spatial frequency and the direction of the image of the test card are continuous, the evaluation granularity can be finer and more comprehensive, and the precision of imaging quality determination is improved.
Fig. 5 is a flowchart illustrating a method for determining imaging quality according to a second exemplary embodiment of the present application. As shown in fig. 5, based on the embodiment shown in fig. 4, step 440 may include the following steps:
step 441, the first image is divided into at least one first image area.
In this step, the first image may be segmented using an image segmentation algorithm (including but not limited to a graph theory-based segmentation algorithm, a pixel clustering-based segmentation algorithm, and a depth semantic-based segmentation algorithm) to obtain at least one first image region. For example, the first image may be divided into several image tiles, each image tile being one first image area.
Based on the at least one first image region, the second image is divided into at least one second image region, step 442.
According to an exemplary embodiment of the present application, on the basis of the first image region obtained in step 441, the second image may be subjected to image segmentation processing by the same method as that for dividing the first image, so as to obtain the second image region. The number of the divided second image areas is the same as that of the first image areas, and for any one of the second image areas, the coordinate position of the second image area in the second image is set to be (x, y), so that the first image area corresponding to the second image area can be found at the coordinate position of the first image, which is (x, y).
Step 443, determining similarity parameters of the first image and the second image based on the corresponding area of the at least one first image area and the second image area.
In an exemplary embodiment of the present application, the corresponding first image region and second image region may be selected according to a desired evaluation accuracy to determine the similarity parameter of the first image region and the second image region. Exemplarily, assuming that the test card shown in fig. 2 is selected, when performing the evaluation of the imaging quality of the image capturing apparatus, if the desired evaluation accuracy is relatively high, the first image region and the second image region farther from the center position may be selected to determine the similarity parameters of the first image region and the second image region.
Exemplary, the similar parameters mentioned in the embodiments of the present application include, but are not limited to, MSE (Mean square error), PSNR (Peak Signal to Noise Ratio), SSIM (Structural Similarity), or a combination of MSE and PSNR, or a combination of MSE, PSNR and PSNR.
Based on the above description, according to an embodiment of the present application, this step can be implemented by the following steps:
step a1, for any first image region of the at least one first image region, determines a mean square error of the first image region and a corresponding second image region in the second image.
Step B1, determining similarity parameters for the first image and the second image based on the mean square error.
For example, assuming that any one of the first image regions is selected as O and the coordinate value thereof is (x, y), the second image region M with the corresponding coordinate (i.e. the coordinate in the second image is (x, y)) is selected in the second image, and further, the mean square error of O and M is determined, and the determined mean square error is determined as the similarity parameter of the first image and the second image.
Illustratively, the mean square error of O and M may be determined by the following equation:
Figure BDA0002030487520000081
where m and n represent the length and width of the image, I, K represents the shooting image and the digital target image, and i and j represent the pixel positions of the image.
According to another embodiment of the present application, step 443 may be implemented by:
step a2, for any one of the at least one first image region, determines a peak signal-to-noise ratio of the first image region to a corresponding second image region in the second image.
And step B2, determining the similarity parameters of the first image and the second image based on the peak signal-to-noise ratio and the structural similarity.
For brevity, details are not repeated herein, and reference may be made to the related description in the foregoing embodiments for determining the first image region and the corresponding second image region. In an exemplary embodiment of the present application, the peak signal-to-noise ratio may be determined by the following formula:
Figure BDA0002030487520000091
wherein bit represents the bit depth of the image, and MSE represents the mean square error (see the related description of the mean square error in the previous embodiment).
According to another exemplary embodiment of the present application, step 443 may be implemented by:
step a3, for any first image region of the at least one first image region, determines a structural similarity of the first image region and a corresponding second image region in the second image.
And step B3, determining the similarity parameters of the first image and the second image based on the structural similarity.
For example, the structural similarity may be determined by the following formula:
Figure BDA0002030487520000092
wherein, mux、μyRepresenting the mean, σ, of the image and x, y, respectivelyx、σyRespectively, the standard deviations, G, of the images x, yxyRepresenting the image x, y covariance. c. C1、c2Is a constant, usually take c1=(k1*l)2、c2=(k2*l)2Generally k1=0.01,k1=0.03,l=2bit-1, bit being the bit depth.
In summary, according to the embodiment shown in fig. 5, the first image and the second image of the test card are image-divided into a plurality of image blocks, and the similar parameters of the first image and the second image are determined based on different image blocks, so that different precision requirements can be met (the smaller the image block division is, the greater the total number of the image blocks is, and the higher the evaluation precision is), and in addition, because the spatial frequencies of the images of the test card (as shown in fig. 2 and 3) are continuous and the directions of the images are continuous, the granularity for determining the imaging quality is finer and more comprehensive, and the quantization index is more accurate.
Fig. 6 is a flowchart illustrating a method for determining imaging quality according to a third exemplary embodiment of the present application. On the basis of the foregoing embodiment, the present application further provides another exemplary embodiment, as shown in fig. 6, and on the basis of the embodiment shown in fig. 4 or fig. 5, step 430 may include the following steps:
and step 431, adjusting the resolution of the first image based on the position of the target reference object in the first image.
And step 432, aligning the first image and the second image based on the adjusted resolution of the first image and the adjusted resolution of the second image.
For example, in step 432, it may be determined whether the position of the target reference object in the adjusted first image coincides with the position of the target reference object in the second image based on the resolution of the adjusted first image and the resolution of the second image, and when the coordinate position of the target reference object in the adjusted first image coincides with the coordinate position of the target reference object in the second image, it is determined that the first image is aligned with the second image. For example, in the test card shown in fig. 2, the triangles at four corners in the image can be regarded as the target reference object, and in this step, when the triangles at four corners in the first image completely coincide with the triangles at four corners in the second image, it can be determined that the first image and the second image are aligned.
Therefore, in the embodiment shown in fig. 6, on the basis of the shooting environment (using the fixed support and the fixed base) shown in fig. 1, and by combining the target reference object in the image, it can be ensured that the first image shot is strictly aligned with the preset second image, a strict data base is provided for determining the imaging quality of the image acquisition device, and the accuracy of the quantitative index of the imaging quality evaluation is improved.
The above embodiments describe the method for determining imaging quality provided by the present application in detail with reference to the accompanying drawings, and the apparatus for determining imaging quality provided by the present application will be described in detail with reference to the accompanying drawings.
Fig. 7 is a schematic structural diagram of an apparatus for determining imaging quality according to a first exemplary embodiment of the present application. As shown in fig. 7, an apparatus 700 for determining imaging quality according to an exemplary embodiment of the present application may include an image acquisition module 710, an identification module 720, an image alignment module 730, a parameter determination module 740, and an imaging quality determination module 750.
The image obtaining module 710 may be configured to obtain an image of a test card collected by an image collecting device to obtain a first image, the identifying module 720 may be configured to identify a position of a target reference object in the first image, the image aligning module 730 may be configured to align the first image with a preset second image based on the position of the target reference object, the parameter determining module 740 may be configured to determine similar parameters of the aligned first image and the aligned second image, and the imaging quality determining module 750 may be configured to determine the imaging quality of the image collecting device according to the similar parameters.
To sum up, the device for determining imaging quality provided by the embodiment of the application evaluates the imaging quality of the image acquisition device by determining the two image similarity parameters of the test card, and because the pre-stored image of the test card can obtain the accurate numerical diagram of the test card, the subjectivity of the imaging quality evaluation can be avoided, quantitative indexes are provided for the imaging quality evaluation, the spatial frequency and the direction of the image of the test card are continuous, the evaluation granularity can be finer and more comprehensive, and the precision of the imaging quality measurement is improved.
Fig. 8 is a schematic structural diagram of an apparatus for determining imaging quality according to a second exemplary embodiment of the present application. On the basis of the embodiment shown in fig. 7, as shown in fig. 8, the parameter determining module 740 may include a first dividing unit 741, a second dividing unit 742 and a parameter determining unit 743.
Wherein the first dividing unit 741 may be configured to divide the first image into at least one first image region, the second dividing unit 742 may be configured to divide the second image into at least one second image region based on the at least one first image region, and the parameter determining unit 743 may be configured to determine the similarity parameter of the first image and the second image based on the corresponding region of the at least one first image region and the second image region.
Exemplary, the similar parameters mentioned in the embodiments of the present application include, but are not limited to, MSE (Mean square error), PSNR (Peak Signal to Noise Ratio), SSIM (Structural Similarity), or a combination of MSE and PSNR, or a combination of MSE, PSNR and PSNR.
In summary, the first image and the second image of the test card are subjected to image segmentation to be split into a plurality of image blocks, and the similar parameters of the first image and the second image are determined based on different image blocks, so that different precision requirements can be met.
Fig. 9 is a schematic structural diagram of an apparatus for determining imaging quality according to a third exemplary embodiment of the present application. On the basis of the embodiment shown in fig. 7 or fig. 8, as shown in fig. 9, the image alignment module 730 may include a resolution adjustment unit 731 and an image alignment unit 732.
The resolution adjusting unit 731 may be configured to adjust the resolution of the first image based on the position of the target reference object in the first image, and the image aligning unit 732 may be configured to align the first image with the second image based on the adjusted resolution of the first image and the adjusted resolution of the second image.
Illustratively, the image alignment unit 732 may include a first determination subunit (not shown in the drawings) and a second determination subunit (not shown in the drawings). The first determining subunit (not shown in the figure) may be configured to determine, based on the resolution of the adjusted first image and the resolution of the second image, whether the position where the target reference object in the adjusted first image is located coincides with the position where the target reference object in the second image is located, and the second determining subunit (not shown in the figure) may be configured to determine that the first image is aligned with the second image when the coordinate position where the target reference object in the adjusted first image is located coincides with the coordinate position where the target reference object in the second image is located.
In summary, on the basis of the shooting environment (using the fixing bracket and the fixing base) shown in fig. 1, and by combining the target reference object in the image, the device for determining imaging quality provided in the embodiment of the present application can ensure that the first image shot and the preset second image are strictly aligned, so as to provide a strict data base for determining imaging quality of the image acquisition device, and improve the accuracy of quantitative index for imaging quality evaluation.
FIG. 10 illustrates a block diagram of an electronic device in accordance with an embodiment of the present application. As shown in fig. 10, the electronic device 11 includes one or more processors 111 and memory 112.
The processor 111 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 11 to perform desired functions.
Memory 112 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by processor 111 to implement the methods of determining imaging quality of the various embodiments of the present application described above and/or other desired functions. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 11 may further include: an input device 113 and an output device 114, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
For example, the input device 113 may be a camera or a microphone, a microphone array, or the like as described above, for capturing an input signal of an image or a sound source. When the electronic device is a stand-alone device, the input means 123 may be a communication network connector for receiving the acquired input signals from the neural network processor.
The input device 113 may also include, for example, a keyboard, a mouse, and the like.
The output device 114 may output various information to the outside, including the determined output voltage, output current information, and the like. The output devices 114 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for the sake of simplicity, only some of the components related to the present application in the electronic device 11 are shown in fig. 10, and components such as a bus, an input/output interface, and the like are omitted. In addition, the electronic device 11 may include any other suitable components, depending on the particular application.
In addition to the above-described methods and apparatus, embodiments of the present application may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the method of determining imaging quality according to various embodiments of the present application described in the "exemplary methods" section of this specification, supra.
The computer program product may be written with program code for performing the operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform steps in a method of determining imaging quality according to various embodiments of the present application described in the "exemplary methods" section above in this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present application in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present application are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present application. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the foregoing disclosure is not intended to be exhaustive or to limit the disclosure to the precise details disclosed.
The block diagrams of devices, apparatuses, systems referred to in this application are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that in the devices, apparatuses, and methods of the present application, the components or steps may be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the application to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (12)

1. A method of determining imaging quality, comprising:
acquiring an image of a test card acquired by image acquisition equipment to obtain a first image;
identifying the position of a target reference object in the first image;
aligning the first image with a preset second image based on the position of the target reference object;
determining similar parameters of the first image and the second image after alignment;
and determining the imaging quality of the image acquisition equipment according to the similar parameters.
2. The method of claim 1, wherein the determining similarity parameters of the first image and the second image comprises:
dividing the first image into at least one first image area;
dividing the second image into at least one second image region based on the at least one first image region;
determining similarity parameters of the first image and the second image based on corresponding regions of the at least one first image region and the second image region.
3. The method of claim 2, wherein the determining similarity parameters for the first and second images based on the corresponding one of the at least one first image region and the second image region comprises:
for any one of the at least one first image region, determining a mean square error of the first image region and a corresponding second image region in a second image;
determining similarity parameters for the first and second images based on the mean square error.
4. The method of claim 2, wherein the determining similarity parameters for the first and second images based on the corresponding one of the at least one first image region and the second image region comprises:
determining, for any one of the at least one first image region, a peak signal-to-noise ratio of that first image region to a corresponding second image region in a second image;
and determining the similarity parameters of the first image and the second image based on the peak signal-to-noise ratio and the structural similarity.
5. The method of claim 2, wherein the determining similarity parameters for the first and second images based on the corresponding one of the at least one first image region and the second image region comprises:
for any one of the at least one first image region, determining a structural similarity of the first image region and a corresponding second image region in a second image;
and determining the similarity parameters of the first image and the second image based on the structural similarity.
6. The method of claim 1, wherein the aligning the first image with a preset second image based on the position of the target reference object comprises:
adjusting the resolution of the first image based on the position of the target reference object in the first image;
aligning the first image with the second image based on the adjusted resolution of the first image and the adjusted resolution of the second image.
7. The method of claim 6, wherein the aligning the first image with the second image based on the adjusted resolution of the first image and the adjusted resolution of the second image comprises:
determining whether the position of the target reference object in the adjusted first image is overlapped with the position of the target reference object in the second image or not based on the adjusted resolution of the first image and the adjusted resolution of the second image;
and when the coordinate position of the target reference object in the adjusted first image is coincident with the coordinate position of the target reference object in the second image, determining that the first image is aligned with the second image.
8. An apparatus for determining imaging quality, comprising:
the image acquisition module is used for acquiring an image of the test card acquired by the image acquisition equipment to obtain a first image;
the identification module is used for identifying the position of the target reference object in the first image;
the image alignment module is used for aligning the first image with a preset second image based on the position of the target reference object;
a parameter determining module, configured to determine similar parameters of the aligned first image and the aligned second image;
and the imaging quality determining module is used for determining the imaging quality of the image acquisition equipment according to the similar parameters.
9. The evaluation device of claim 8, wherein the parameter determination module comprises:
a first dividing unit for dividing the first image into at least one first image area;
a second dividing unit configured to divide the second image into at least one second image region based on the at least one first image region;
a parameter determining unit for determining similar parameters of the first image and the second image based on corresponding areas of the at least one first image area and the second image area.
10. The evaluation device of claim 8, wherein the image alignment module comprises:
a resolution adjustment unit configured to adjust a resolution of the first image based on a position of the target reference object in the first image;
and the image alignment unit is used for aligning the first image and the second image based on the adjusted resolution of the first image and the adjusted resolution of the second image.
11. A computer-readable storage medium, in which a computer program is stored, the computer program being adapted to perform the method of determining imaging quality of any of the preceding claims 1-7.
12. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor for performing the method of determining imaging quality of any of claims 1-7 above.
CN201910308067.4A 2019-04-17 2019-04-17 Method and device for determining imaging quality, storage medium and electronic equipment Active CN111836038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910308067.4A CN111836038B (en) 2019-04-17 2019-04-17 Method and device for determining imaging quality, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910308067.4A CN111836038B (en) 2019-04-17 2019-04-17 Method and device for determining imaging quality, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111836038A true CN111836038A (en) 2020-10-27
CN111836038B CN111836038B (en) 2023-02-28

Family

ID=72915502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910308067.4A Active CN111836038B (en) 2019-04-17 2019-04-17 Method and device for determining imaging quality, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111836038B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621709A (en) * 2009-08-10 2010-01-06 浙江大学 Method for evaluating objective quality of full-reference image
KR20130081835A (en) * 2012-01-10 2013-07-18 에스케이플래닛 주식회사 Method and system for analyzing a quality of three-dimensional image
CN103338380A (en) * 2013-06-06 2013-10-02 宁波大学 Adaptive image quality objective evaluation method
CN204733297U (en) * 2015-07-15 2015-10-28 深圳市明宇通检测有限公司 A kind of image quality test system
CN204795439U (en) * 2015-07-15 2015-11-18 深圳市明宇通检测有限公司 A predistortion test card molding system for image acquisition system that distorts greatly

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621709A (en) * 2009-08-10 2010-01-06 浙江大学 Method for evaluating objective quality of full-reference image
KR20130081835A (en) * 2012-01-10 2013-07-18 에스케이플래닛 주식회사 Method and system for analyzing a quality of three-dimensional image
CN103338380A (en) * 2013-06-06 2013-10-02 宁波大学 Adaptive image quality objective evaluation method
CN204733297U (en) * 2015-07-15 2015-10-28 深圳市明宇通检测有限公司 A kind of image quality test system
CN204795439U (en) * 2015-07-15 2015-11-18 深圳市明宇通检测有限公司 A predistortion test card molding system for image acquisition system that distorts greatly

Also Published As

Publication number Publication date
CN111836038B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN111457886B (en) Distance determination method, device and system
US11024052B2 (en) Stereo camera and height acquisition method thereof and height acquisition system
EP3158532B1 (en) Local adaptive histogram equalization
US9799118B2 (en) Image processing apparatus, imaging apparatus and distance correction method
KR101952122B1 (en) Method for analyzing fine dust and apparatus for executing the method
US9501834B2 (en) Image capture for later refocusing or focus-manipulation
CN100502471C (en) Image processing device, image processing method and imaging device
CN109218628A (en) Image processing method, device, electronic equipment and storage medium
US9058655B2 (en) Region of interest based image registration
EP3093822B1 (en) Displaying a target object imaged in a moving picture
KR102233402B1 (en) Method for estimating concentration of fine dust and apparatus for executing the method
US8520950B2 (en) Image processing device, image processing method, program, and integrated circuit
CN110689565B (en) Depth map determination method and device and electronic equipment
CN110879131A (en) Imaging quality testing method and imaging quality testing device for visual optical system, and electronic apparatus
CN109753886B (en) Face image evaluation method, device and equipment
US7266233B2 (en) System and method for measuring an object
CN104883520A (en) Image processing apparatus and method for controlling image processing apparatus
CN111836038B (en) Method and device for determining imaging quality, storage medium and electronic equipment
CN111815720A (en) Image processing method and device, readable storage medium and electronic equipment
CN111353361A (en) Face recognition method and device and electronic equipment
CN112153298B (en) Method and device for determining ideal brightness of target object
WO2020059064A1 (en) Calculation device, information processing method, and recording medium
CN112561836A (en) Method and device for acquiring point cloud set of target object
CN113542729B (en) Camera resolution obtaining method and device, intelligent terminal and storage medium
CN113723416B (en) Image processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant