Unlock instant, AI-driven research and patent intelligence for your innovation.

Automatic focusing algorithm

An autofocus and algorithm technology, applied in the field of image analysis, to achieve the effect of increasing search speed, improving focus accuracy and stability

Active Publication Date: 2019-02-19
URIT MEDICAL ELECTRONICS CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the present invention is to provide a kind of algorithm of automatic focus, for the urine formed component analyzer focusing on the existing grid (the grid-shaped inter

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 algorithm
  • Automatic focusing algorithm
  • Automatic focusing algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be described in detail below in conjunction with accompanying drawing and specific embodiment:

[0045] Such as image 3 As shown, a kind of automatic focusing algorithm of the present invention is characterized in that, comprises the following steps:

[0046] L1: The focus motor of the camera moves down 80 steps, and executes step L2;

[0047] L2: determine whether the traversal is completed, if the traversal is not completed, then execute step L3; if the traversal is completed, then execute step L4;

[0048] L3: Calculate the sharpness of the image, and judge the sharpness and the set threshold. If the sharpness is less than or equal to 1 / 2 of the set threshold, the focus motor will move up 12 steps. If the sharpness is less than or equal to 2 of the set threshold / 3 and greater than 1 / 2 of the set threshold, the focus motor moves up 8 steps, if the sharpness is greater than 2 / 3 of the set threshold, the focus motor moves up 4 steps; and e...

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 algorithm. The algorithm comprises the steps of moving a focusing motor of a camera downwards for 80 steps; judging whether traversal is completed; if thetraversal is not completed, computing the definition of an image; judging the sizes of the definition and a set threshold; if the definition is less than or equal to 1/2 of the set threshold; movingfocusing motor upwards for 12 steps; if the definition is less than or equal to 2/3 of the set threshold and more than 1/2 of the set threshold, moving the focusing motor upwards for 8 steps; if the definition is more than 2/3 of the set threshold, moving the focusing motor upwards for 4 steps; and rejudging whether the traversal is completed, after the traversal is completed, completing rough focusing, and then focusing finely. According to the algorithm provided by the invention, the different thresholds can be set aiming at the difference of each sample individual, the dynamic sampling steplength is achieved, the quick focusing speed is achieved, and the best focal length is also ensured.

Description

technical field [0001] The invention relates to the technical field of image analysis, in particular to an automatic focusing algorithm. Background technique [0002] Urine examination has become a widely used clinical examination method because of its simplicity, quickness, and easy access to specimens, and it is one of the current routine clinical examination items in hospitals. [0003] At present, there are mainly two types of technologies for urine sediment detectors that have been applied clinically: one uses flow cytometry and electrical impedance measurement. Its working principle is mainly to put the cells to be tested into the sample tube after being stained with specific fluorescent dyes, and enter the flow chamber filled with sheath fluid under the pressure of the gas. Under the confinement of the sheath fluid, the cells are arranged in a single row and ejected from the nozzle of the flow chamber to form a cell column, which intersects the incident laser beam pe...

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 URIT MEDICAL ELECTRONICS CO LTD