Automatic focusing method and apparatus

A technology of automatic focusing and focusing window, which is applied to TV, color TV parts, electrical components, etc. It can solve problems such as difficulty in finding clear points, difficulty in determining the sampling step size, and irregularity in the slope of adjacent points.

Active Publication Date: 2016-05-18
HANGZHOU HIKVISION DIGITAL TECH
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the actual operation process, although the focus curve using the filter to calculate the focus evaluation value can show a good unimodality in most imaging scenes, there is only one extreme value, that is, the clear point, but in some lights In scenes, such as outdoor scenes with street lights, the focus curve is more complicated, and it is difficult to find a clear point
In addition, there are other related technical solutions that propose a search method with a variable step size to increase the auto-focus speed, and use the slope of the line connecting the focus evaluation values ​​of adjacent points to determine the sampling st

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
  • Automatic focusing method and apparatus
  • Automatic focusing method and apparatus
  • Automatic focusing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0059] In the following description, unless indicated otherwise, various embodiments of the present application are described with reference to acts and symbolic representations of operations that are performed by one or more computers. Among them, computers include various products such as personal computers, servers, and mobile terminals, and devices that use processing chips such as central processing units (CPUs), single-chip microcomputers, and digital signal processors (DSPs) can all be called computers. It will thus be appreciated that such acts and operations, which are sometimes referred to as computer-implemented, include the manipulation of electrical signals representing data in a structu...

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 invention discloses an automatic focusing method and apparatus. The method comprises: multi-frame image data are obtained continuously and focusing window division is carried out on each frame of image data among the multi-frame image data; grey level transformation processing and filtering processing are carried out on the image data in each focusing window successively; for each pixel point in the image data after filtering processing, a first gradient value and a second gradient value that correspond to the pixel point are calculated; according to the first gradient values and second gradient values corresponding to all pixel points in each focusing window, a first focusing evolution value and a second focusing evolution value that correspond to each focusing window are obtained; and a focusing direction of a motor is determined according to the first focusing evolution values and second focusing evolution values and a step length of the motor is adjusted based on a first focusing changing rate of each first focusing evaluation value and a second focusing changing rate of each second focusing evaluation value until the lens of the motor is adjusted to be at a focusing state. Therefore, the focusing speed is fast and accurate.

Description

technical field [0001] The present invention relates to the field of video monitoring, in particular to an automatic focusing method and device. Background technique [0002] At present, in terms of basic principles, the autofocus (AutoFocus, that is, the camera can automatically adjust the subject to focus on a clear position by adopting a preset method) technology used in cameras in the related art can be divided into the following Two categories: [0003] The first type, active focusing, that is, by emitting ultrasonic or infrared rays to the subject, and then detecting the reflected sound waves or light to calculate the distance between the subject and the camera lens, so that the motor drives the lens to move to the focus position ; [0004] The second type, passive focusing, does not depend on the wave source of the imaging system, but receives the light emitted by the imaging target through the lens part, and then directly uses the brightness of the imaging target (...

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): H04N5/232
Inventor 何萍马伟民尤灿
Owner HANGZHOU HIKVISION DIGITAL 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