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, and affecting focusing speed, etc., to achieve improved real-time performance, high accuracy, and reduced interference effect

Active Publication Date: 2018-11-13
UNIV OF SHANGHAI FOR SCI & TECH
View PDF7 Cites 5 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 abilit...

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
  • Focusing method based on quantum particle swarm optimization algorithm
  • Focusing method based on quantum particle swarm optimization algorithm
  • 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

The invention provides a focusing method based on a quantum particle swarm optimization algorithm for focusing an image during image shooting. The method comprises the following steps: step 1: using aplurality of particles located in a three-dimensional space to respectively represent gray values of pixel points in the image, and randomly setting the gray values represented by the particles; step2, performing average distribution on the initial positions of the particles in a quantum particle swarm according to a position formula; step 3, calculating fitness values of the particles by usingan average gray value variance function of a foreground image and a background image of the image, and obtaining an optimal segmentation threshold by using the quantum particle swarm optimization algorithm in combination with a domain search method; step 4, segmenting the image into the foreground image and the background image according to the optimal segmentation threshold; step 5, selecting a focusing area according to the center of gravity of the gray value of the foreground image; and step 6, using a gray level difference method as an image definition evaluation function, and determiningthe position of a lens according to a function value calculated by the image definition evaluation function so as 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
IPC IPC(8): H04N5/232
CPCH04N23/67
Inventor 江旻珊徐晓立张学典
Owner UNIV OF SHANGHAI FOR SCI & 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