Supercharge Your Innovation With Domain-Expert AI Agents!

A Focusing Method Based on Quantum Particle Swarm Optimization Algorithm

A quantum particle swarm and optimization algorithm technology, applied in the field of image focusing, can solve the problems of small skin detection range, lack of self-adaptive ability, affecting focusing speed, etc., to improve real-time and accuracy, high accuracy, and reduce the effect of interference

Active Publication Date: 2020-07-14
UNIV OF SHANGHAI FOR SCI & TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Focusing mainly includes three basic parts, namely focusing area selection, image definition evaluation, and search algorithm. Traditional image focusing techniques include ranging method, focus detection method, and phase focusing method. Commonly used focusing area selection algorithms include center windowing. , multi-point windowing, non-uniform sampling windowing, pupil tracking method and skin detection method, center windowing does not have the ability to adapt to the imaging position of the main target; multi-point windowing introduces more background, and the calculation amount is larger , the focusing speed slows down; non-uniform sampling windowing also does not have adaptive capabilities, and a large number of floating-point operations affect the focusing speed; the pupil tracking rule requires that the pupil information of the photographer must be obtained, and the scope of use of skin detection is even smaller.

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
  • A Focusing Method Based on Quantum Particle Swarm Optimization Algorithm
  • A Focusing Method Based on Quantum Particle Swarm Optimization Algorithm
  • A Focusing Method Based on Quantum Particle Swarm Optimization Algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] figure 1 It is a schematic diagram of the focusing process of the focusing method based on the quantum particle swarm optimization algorithm in the embodiment of the present invention.

[0035] Such as figure 1 As shown, the focusing method based on quantum particle swarm optimization algorithm includes the following steps:

[0036] Step 1, using a plurality of particles located in three-dimensional space to respectively represent the gray value of pixels in the image, and randomly setting the gray value represented by each particle;

[0037] Step 2, the initial positions of the particles in the quantum particle swarm are evenly distributed according to the position formula, and the particles after position initialization are obtained;

[0038] The position formula is:

[0039]

[0040] I max Indicates the maximum gray value in the image, I min Represents the minimum gray value in the image, N represents the size of the quantum particle swarm, and i represents 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

A focusing method based on quantum particle swarm optimization algorithm, which is used to focus on images when taking images, is characterized in that it comprises the following steps: Step 1, using a plurality of particles in three-dimensional space to represent the pixel points in the image respectively Gray value, the gray value represented by the particle is randomly set; step 2, the initial position of the particle in the quantum particle swarm is evenly distributed according to the position formula; step 3, the average gray value of the foreground image and the background image of the image is used The value variance function calculates the fitness value of the particle, and uses the quantum particle swarm optimization algorithm combined with the domain search method to obtain the optimal segmentation threshold; step 4, divides the image into foreground and background images according to the optimal segmentation threshold; step 5, according to The center of gravity of the gray value of the foreground image selects the focus area; step 6, use the gray difference method as the image sharpness evaluation function, and determine the position of the lens according to the function value calculated by the image sharpness evaluation function to complete the focusing.

Description

technical field [0001] The invention relates to the technical field of image focusing, in particular to a focusing method based on a quantum particle swarm optimization algorithm. Background technique [0002] Focusing mainly includes three basic parts, namely focusing area selection, image definition evaluation, and search algorithm. Traditional image focusing techniques include ranging method, focus detection method, and phase focusing method. Commonly used focusing area selection algorithms include center windowing. , multi-point windowing, non-uniform sampling windowing, pupil tracking method and skin detection method, the central windowing does not have the ability to adapt to the imaging position of the main target; multi-point windowing introduces more background, and the calculation amount is larger , the focusing speed slows down; non-uniform sampling windowing also does not have the ability to adapt, and a large number of floating-point calculations affect the focu...

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 Patents(China)
IPC IPC(8): H04N5/232
CPCH04N23/67
Inventor 江旻珊徐晓立张学典
Owner UNIV OF SHANGHAI FOR SCI & TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More