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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com