Definition evaluation value calculation method and device, camera and storage medium

A technology of sharpness evaluation and calculation method, applied in calculation, image enhancement, image analysis and other directions, can solve the problems of poor focusing stability and accuracy, poor monotonicity, etc., to achieve improved stability and accuracy, good and unbiased Effect

Pending Publication Date: 2021-06-11
ZHEJIANG UNIVIEW TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method, device, camera, and storage medium for calculating a sharpness evaluation value, so as to solve the problem of focus stabilization caused by multiple false peaks and poor monotonicity of the sharpness evaluation value in darker scenes in the prior art Technical issues with sex and poor accuracy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Definition evaluation value calculation method and device, camera and storage medium
  • Definition evaluation value calculation method and device, camera and storage medium
  • Definition evaluation value calculation method and device, camera and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 The flow chart of the method for calculating the sharpness evaluation value provided by Embodiment 1 of the present invention, this embodiment is applicable to the case of focusing on a surveillance camera, the method can be executed by a sharpness evaluation value calculation device, which can use software and / or hardware, and can be integrated on the camera. Such as figure 1 As shown, the calculation method of the clarity evaluation value specifically includes:

[0025] S101. Acquire a current focused scene.

[0026] As an optional implementation manner, the camera may determine the current focus scene according to the current illuminance. Exemplarily, the current focus scene may be a scene with sufficient light or a scene with low light. It should be noted here that the focused scene also includes scene complexity, that is, details.

[0027] S102. When the focus motor of the camera moves to a focus position according to the preset step length, according ...

Embodiment 2

[0036] figure 2It is a schematic flowchart of a method for calculating a sharpness evaluation value in Embodiment 2 of the present application. Embodiment 2 is optimized on the basis of Embodiment 1, adding specific operations for obtaining the focused scene and operations for changing the current focused scene. Such as figure 2 As shown, the method specifically includes:

[0037] S201. Acquire a current focused scene.

[0038] In the embodiment of the present invention, the focused scene can optionally be divided into a first-level focused scene, a second-level focused scene, and a third-level focused scene according to illuminance levels. Exemplarily, the first-level focus scene is a sunny daytime scene, the second-level focus scene is an evening scene, and the third-level focus scene is a night scene.

[0039] When determining the current focus scene, optionally, the camera can determine the current focus scene based on the properties of the RGB-IR image sensor, for ex...

Embodiment 3

[0053] image 3 It is a schematic structural diagram of the definition evaluation value calculation device in Embodiment 3 of the present invention. The device is configured in a camera, and the camera is provided with an RGB-IR image sensor. Such as image 3 As shown, the device includes:

[0054] A scene determination module 301, configured to obtain the current focused scene;

[0055] A computing module 302, configured to select RGB image data or IR image data or RGB+IR image data, and calculate the sharpness evaluation value of the current focused scene according to the selected image data.

[0056] Optionally, the scene determination module includes:

[0057] A first determination unit, configured to determine the current focus scene based on the RGB-IR image sensor properties of the camera; or

[0058] The second determination unit is configured to determine the current focused scene according to the proportion of the IR image data collected by the RGB-IR image sens...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a definition evaluation value calculation method and device, a camera and a storage medium. The method comprises the following steps: collecting a current focusing scene; when a focusing motor of the camera moves to a focusing position according to a preset step length, selecting RGB image data or IR image data or RGB + IR image data collected by an RGB-IR image sensor according to a current focusing scene, and calculating a definition evaluation value of the current focusing scene according to the selected image data. According to the embodiment of the invention, the definition evaluation value is calculated by selecting different image data for different focusing scenes, so that good unbiasedness, unimodality and monotonicity of the definition evaluation value are ensured, and the stability and accuracy of the focusing effect under low illumination are further improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of surveillance, and in particular, to a method and device for calculating a definition evaluation value, a camera, and a storage medium. Background technique [0002] With the popularization of monitoring, the current monitoring requires to see far and wide, so the camera lens needs to have a good focusing effect. At present, the mainstream focusing algorithm is an automatic focusing technology based on digital image processing. By obtaining the image sharpness evaluation value, and based on this value combined with a search algorithm for the maximum sharpness evaluation value, such as the commonly used hill-climbing search algorithm, the maximum sharpness evaluation value is finally found. value, i.e. get a sharp image. [0003] However, the hill-climbing algorithm has certain limitations, and it is only suitable for scenes with better lighting (such as clear daytime), because in...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T7/00H04N5/232
CPCG06T7/0002G06T2207/30168H04N23/67H04N23/80
Inventor 王玉波吕乾坤
Owner ZHEJIANG UNIVIEW TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products