Automatic focusing method and apparatus based on interested area

An area of ​​interest, automatic focusing technology, applied in the direction of focusing devices, installations, color TV components, etc., can solve the problem of occupying storage space and achieve the effect of avoiding storage space

Active Publication Date: 2017-07-21
SUZHOU KEDA TECH +2
View PDF9 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method needs to pre-store the template of the region of interest, which takes up storage space

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 based on interested area
  • Automatic focusing method and apparatus based on interested area
  • Automatic focusing method and apparatus based on interested area

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035]This embodiment provides an auto-focus method based on the region of interest, which can be used in camera equipment or systems with an auto-focus function, such as video surveillance systems, hand-held cameras, and mobile phones capable of shooting videos. Such as figure 2 As shown, the method includes the following steps:

[0036] S1: Obtain the target image of the divided block;

[0037] S2: Obtain the clarity of each block separately;

[0038] S3: Obtain the normalized center coordinates and normalized size of the region of interest on the target image;

[0039] S4: Calculate the half-height coefficients in the horizontal direction and vertical direction respectively according to the normalized size;

[0040] S5: Using a two-dimensional discretized Gaussian function, calculate the weight value of each block according to the normalized center coordinates and the half-height coefficient;

[0041] S6: Calculate the normalized overall sharpness of the target image a...

Embodiment 2

[0074] This embodiment provides an automatic focusing method based on the region of interest, which can be specifically used in video surveillance systems, cameras, and mobile phones capable of shooting videos, including the following steps:

[0075] Step 1: Obtain the normalized center coordinates (μ′ h , μ v ') and the normalized size m'×n', and the number of blocks M×N (width×height) into which the target image is divided. if m' 2 , then m'=c 2 , if n′2 , then n'=c 2 , c 2 is the preset minimum ROI size. For example, the user selects the center position of the target image as the region of interest, that is, the normalized center coordinates are (0.5, 0.5), and the number of blocks into which the target image is divided is 13×9 (M=13, N=9), where, The values ​​of m' and n' can be selected according to user needs. For example, for M=13, N=9 window division, if m'=0.38, n'=0.44, then the ROI area selected by the user is about 5×4 small window.

[0076] The second step:...

Embodiment 3

[0085] Such as Figure 10 As shown, this embodiment provides an automatic focusing device based on the region of interest, which is a product implementation corresponding to the method provided in the above-mentioned embodiment 1, including:

[0086] The first acquisition unit U1 is used to acquire the target image of the divided block;

[0087] The second acquiring unit U2 is configured to respectively acquire the definition of each of the blocks;

[0088] A third acquisition unit U3, configured to acquire the normalized center coordinates and normalized size of the region of interest on the target image;

[0089] A half-width coefficient calculation unit U4, configured to calculate the half-width coefficients in the horizontal direction and the vertical direction respectively according to the normalized size;

[0090] A weight value calculation unit U5, configured to use a two-dimensional discretized Gaussian function to calculate the weight value of each block according t...

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 provides an automatic focusing method and apparatus based on an interested area, and belongs to the technical field of imaging. The method comprises the following steps: obtaining a target image that has been divided into blocks; separately obtaining the definition of the blocks; obtaining a normalized central coordinate and a normalized size of the interested area on the target image; separately calculating coefficients of full width at half maximum of a horizontal direction and a vertical direction according to the normalized size; separately calculating the weight values of the blocks by using a two-dimensional dispersed Gaussian function according to the normalized central coordinate and the coefficients of full width at half maximum; calculating the normalized overall definition of the target image according to the weight values and the definition of the blocks; and performing focusing according to the normalized overall definition. By adoption of the automatic focusing method and apparatus provided by the invention, an interested area template can be automatically calculated, thereby the occupation of the storage space by the storage of ROI template data.

Description

technical field [0001] The present invention relates to the field of imaging technology, in particular to an automatic focusing method and device based on a region of interest. Background technique [0002] At present, there are already many electronic devices or systems with camera and camera functions on the market, such as video surveillance systems, hand-held cameras, and mobile phones capable of shooting videos. Such devices can acquire images in real time and display them on a display device. When taking an image or video, the image needs to be clearly focused. Currently, there are two focusing methods: one is automatic focus, and the other is manual focus. Devices with auto-focus function can adjust and adjust the focus lens by driving the focus motor, so that the target of interest can be clearly focused on the camera image sensor, and each point that is clear on the target is imaged as a point on the sensor (sensor) Strictly speaking, it is a spot small enough to a...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04N5/232
CPCH04N23/67G02B7/28G03B13/36G06T7/70G06T7/60G06T2207/20021H04N23/675
Inventor 宋佳阳汤峰峰章勇曹李军陈卫东
Owner SUZHOU KEDA 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