Search

CN-116112801-B - Image acquisition angle adjusting method, device, equipment and medium

CN116112801BCN 116112801 BCN116112801 BCN 116112801BCN-116112801-B

Abstract

The embodiment of the invention discloses a method, a device, equipment and a medium for adjusting an image acquisition angle. The method comprises the steps of obtaining at least two images to be used, collected by a camera device under a current collection angle, determining target matching factor values between the two images to be used according to the number of matched characteristic points between the two images to be used and the current collection angle, determining angles to be adjusted based on the target matching factor values and a preset matching factor threshold, and adjusting the current collection angle of the camera device based on the angles to be adjusted. The technical scheme of the embodiment of the invention solves the problem that the image quality is poor because the optimal acquisition angle cannot be determined to shoot the image, realizes the determination of the optimal acquisition angle and improves the quality of image acquisition.

Inventors

  • DONG YUXI
  • ZENG LI
  • MA ZHIXUE
  • WANG YUNLONG
  • LI CHONG
  • WANG JUNXING
  • HUANG SUIWEN
  • WU XIAOBIN
  • WANG CAO
  • WANG YAQIN
  • LIU MIN
  • WEN HUILING
  • Han Rongzhen
  • ZHANG YUN
  • ZHONG ZHENXIN
  • ZHU RUIFENG
  • TANG SONGPING
  • ZHANG ZUOGANG
  • HUANG XIAOBO

Assignees

  • 广东电网有限责任公司
  • 广东电网有限责任公司惠州供电局

Dates

Publication Date
20260505
Application Date
20230215

Claims (7)

  1. 1. The method for adjusting the image acquisition angle is characterized by comprising the following steps of: Acquiring at least two images to be used acquired by a camera device under a current acquisition angle; determining target matching factor values between two images to be used according to the number of the matched characteristic points between the two images to be used and the current acquisition angle, wherein the target matching factor values comprise the steps of determining the corresponding characteristic point matching factor values of the two images to be used according to the number of the matched characteristic points between the two images to be used and the number of preset characteristic points; determining a rotation angle factor value according to the current acquisition angle of the image to be used and the rotation angle range of the camera, wherein the rotation angle factor value is used for representing the rotation degree of the camera; determining an angle to be adjusted based on each target matching factor value and a preset matching factor threshold value, and adjusting the current acquisition angle of the camera device based on the angle to be adjusted; wherein the determining the angle to be adjusted based on each target matching factor value and a preset matching factor threshold value includes: Obtaining a maximum target matching factor value from a plurality of target matching factor values, and determining an angle to be adjusted based on the maximum target matching factor value and the preset matching factor threshold; Wherein, the determining the angle to be adjusted based on each target matching factor value and a preset matching factor threshold value further includes: and if the maximum target matching factor value is smaller than the preset matching factor threshold, adjusting the current acquisition angle of the camera device according to a preset adjustment step length, and determining the maximum target matching factor value under the corresponding current acquisition angle until the maximum target matching factor value is larger than the preset matching factor threshold, and determining the angle to be adjusted of the camera device.
  2. 2. The method according to claim 1, wherein the acquiring at least two images to be used acquired by the image capturing device at the current acquisition angle includes: And shooting at least two visible light images by a visible light camera at the current acquisition angle, and determining at least two visible light images as the images to be used.
  3. 3. The method according to claim 1, wherein the obtaining the target matching factor values corresponding to the two images to be used based on the feature point matching factor values and the rotation angle factor values corresponding to the two images to be used includes: Obtaining first numerical values corresponding to the two images to be used based on the characteristic point matching factor values and first preset coefficients associated with the characteristic point matching factor values; Obtaining a second numerical value based on the rotation angle factor value and a second preset coefficient related to the rotation angle factor value; Determining target matching factor values corresponding to the two images to be used based on the sum of the first value and the second value; and the sum of the first preset coefficient and the second preset coefficient is a preset value.
  4. 4. The method according to claim 1, wherein the rotation angle range includes a maximum rotation angle and a minimum rotation angle, and wherein the determining a rotation angle factor value according to the current acquisition angle of the image to be used and the rotation angle range of the image capturing apparatus includes: Acquiring a maximum rotation angle and a minimum rotation angle of the image pickup device, and determining the average value of the maximum rotation angle and the minimum rotation angle as a preset rotation angle; determining a first angle value based on a difference value between the current acquisition angle and the preset rotation angle, and determining a second angle value based on a difference value between the maximum rotation angle and the minimum rotation angle; The rotation angle factor value is determined based on a square of a ratio of the first angle value to the second angle value.
  5. 5. An image acquisition angle adjusting device, comprising: The image acquisition module is used for acquiring at least two images to be used, which are acquired by the camera device under the current acquisition angle; The matching determining module is used for determining a target matching factor value between any two images to be used according to the number of the matched characteristic points between the two images to be used and the current acquisition angle; The angle adjustment module is used for determining an angle to be adjusted based on each target matching factor value and a preset matching factor threshold value and adjusting the current acquisition angle of the camera device based on the angle to be adjusted; the matching determination module comprises: The characteristic point matching factor value determining module is used for determining the characteristic point matching factor values corresponding to the two images to be used according to the number of the characteristic points matched between the two images to be used and the number of preset characteristic points; the rotation angle factor value determining module is used for determining a rotation angle factor value according to the current acquisition angle of the image to be used and the rotation angle range of the image pickup device, wherein the rotation angle factor value is used for representing the rotation degree of the image pickup device; The target matching factor value calculation module is used for obtaining target matching factor values corresponding to the two images to be used based on the characteristic point matching factor values and the rotation angle factor values corresponding to the two images to be used; The angle adjustment module is specifically configured to: Obtaining a maximum target matching factor value from a plurality of target matching factor values, and determining an angle to be adjusted based on the maximum target matching factor value and the preset matching factor threshold; The angle adjustment module is further configured to: and if the maximum target matching factor value is smaller than the preset matching factor threshold, adjusting the current acquisition angle of the camera device according to a preset adjustment step length, and determining the maximum target matching factor value under the corresponding current acquisition angle until the maximum target matching factor value is larger than the preset matching factor threshold, and determining the angle to be adjusted of the camera device.
  6. 6. An electronic device, the electronic device comprising: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of adjusting an image acquisition angle according to any one of claims 1 to 4.
  7. 7. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions for causing a processor to implement the method for adjusting an image acquisition angle according to any one of claims 1 to 4 when executed.

Description

Image acquisition angle adjusting method, device, equipment and medium Technical Field The present invention relates to the field of image processing technologies, and in particular, to a method, an apparatus, a device, and a medium for adjusting an image acquisition angle. Background With the rapid development of information technology, visible light imaging has been increasingly used in various fields. The three-dimensional digital twin model of the object can be generated by combining the acquired visible light image with the infrared image, so that the real-time monitoring of the running state of large-scale equipment in industry is facilitated, and the method has great significance. The quality of the visible light image directly relates to whether the subsequent image segmentation, judgment and other works can be successfully carried out, so how to enable the system to automatically acquire the image with higher quality is a difficult problem to be solved. Disclosure of Invention The invention provides a method, a device, equipment and a medium for adjusting an image acquisition angle, so as to realize the determination of the optimal acquisition angle of an image and improve the quality of image acquisition. According to an aspect of the present invention, there is provided a method for adjusting an image acquisition angle, including: Acquiring at least two images to be used acquired by a camera device under a current acquisition angle; For any two images to be used, determining a target matching factor value between the two images to be used according to the number of the matched characteristic points between the two images to be used and the current acquisition angle; And determining an angle to be adjusted based on each target matching factor value and a preset matching factor threshold value, and adjusting the current acquisition angle of the image pickup device based on the angle to be adjusted. According to another aspect of the present invention, there is provided an image acquisition angle adjusting apparatus including: The image acquisition module is used for acquiring at least two images to be used, which are acquired by the camera device under the current acquisition angle; The matching determining module is used for determining a target matching factor value between any two images to be used according to the number of the matched characteristic points between the two images to be used and the current acquisition angle; The angle adjustment module is used for determining an angle to be adjusted based on each target matching factor value and a preset matching factor threshold value, and adjusting the current acquisition angle of the camera device based on the angle to be adjusted. According to another aspect of the present invention, there is provided an electronic apparatus including: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the method for adjusting the image acquisition angle according to any embodiment of the present invention. According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the method for adjusting an image acquisition angle according to any one of the embodiments of the present invention when executed. According to the technical scheme, at least two images to be used acquired by the camera device under the current acquisition angle are acquired, target matching factor values between the two images to be used are determined according to the number of matched characteristic points between the two images to be used and the current acquisition angle for any two images to be used, the angle to be adjusted is determined based on the target matching factor values and a preset matching factor threshold, and the current acquisition angle of the camera device is adjusted based on the angle to be adjusted. The technical scheme of the embodiment of the invention solves the problem that the image quality is poor because the optimal acquisition angle cannot be determined to shoot the image, realizes the determination of the optimal acquisition angle and improves the quality of image acquisition. It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows. Drawings In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the