CN106023190B - A kind of evaluation method of the quasi- burnt degree of auto-focusing image - Google Patents
A kind of evaluation method of the quasi- burnt degree of auto-focusing image Download PDFInfo
- Publication number
- CN106023190B CN106023190B CN201610325972.7A CN201610325972A CN106023190B CN 106023190 B CN106023190 B CN 106023190B CN 201610325972 A CN201610325972 A CN 201610325972A CN 106023190 B CN106023190 B CN 106023190B
- Authority
- CN
- China
- Prior art keywords
- focusing
- image
- phase
- auto
- quasi
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000011156 evaluation Methods 0.000 title claims abstract description 31
- 238000000034 method Methods 0.000 claims abstract description 30
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000035945 sensitivity Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000003384 imaging method Methods 0.000 description 2
- 238000012634 optical imaging Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30168—Image quality inspection
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses a kind of evaluation methods of the quasi- burnt degree of auto-focusing image, the method that this method uses phase equalization map to combine with gradient map, solve the problems, such as that there are peak values to collapse as focusing evaluation function using phase equalization method, no matter the scene that or brightness relatively low for normal scene or noise changes all has good performance capabilities, practical value is higher, has good unbiasedness, unimodality, sensitivity, stability.
Description
Technical field
The present invention relates to a kind of evaluation sides of the quasi- burnt degree of image quality evaluating method more particularly to auto-focusing image
Method.
Background technique
With the fast development of digital picture and multimedia technology, various types of optical imaging systems are also more and more,
Autofocus Technology plays a crucial role in optical imaging systems.There are mainly two types of Autofocus Technologies, respectively
Active focusing and passive type focusing.Actively focusing needs that additional range-measurement system is added in systems, increase system at
The complexity of this and system, simultaneously for having glass or having the scene of shelter, ranging will appear problem, therefore, active
Focusing technology is at leisure replaced self-action focusing technology.
Passive focusing is to judge defocus degree by the fog-level of image obtained in analysis focus process, to refer to
Lead focus process.This Atomatic focusing method is to obtain image definition characteristic value using certain Digital Image Processing algorithm,
And motor is controlled according to this characteristic value, to drive eyeglass or imaging sensor to change position, corresponding adjustment is done, until this
Until one characteristic value meets a certain condition made an appointment.Therefore, the auto focus evaluation function of superperformance is selected to judge
The fog-level of image is the key that problem to guide autofocus system accurately to focus.Due to the weight of focusing evaluation function
The evaluation of the property wanted, image definition has become a popular research field.Ideal focusing evaluation function should have unbiased
Property, unimodality, sensitivity, stability, in some special cases should also to scene light and shade change and noise have preferably
Robustness.Existing auto focus evaluation function is very sensitive to the brightness and contrast of scene, because its principle is to utilize figure
The intensity of picture judges defocus degree.And with imaging system in people's lives universal, people like in various environment
Lower to use focusing system, the case where focusing system is used in the case where brightness is inconsistent or the lower scene of signal-to-noise ratio, is also more and more.
In consideration of it, still thering is the evaluation function of good behaviour performance to become the urgent need of people in such scene.
Summary of the invention
It is an object of the invention to collapse as focusing evaluation function there are peak value for using phase equalization method
Problem proposes a kind of evaluation method of quasi- burnt degree of auto-focusing image.
The purpose of the present invention is what is be achieved through the following technical solutions: a kind of evaluation side of the quasi- burnt degree of auto-focusing image
Method, method includes the following steps:
(1) image I is obtained;
(2) focusing window region I is chosen from image Ic;
(3) focusing window region I is calculated using log-Gabor small echocPhase equalization map PC, each pixel
Phase equalization is defined as:
Wherein, m and n respectively indicates the direction scale number of Log-Gabor wavelet filter, Aji(x, y) and φji(x,y)
The amplitude and local phase deviation being illustrated respectively in the logarithmic scale of j-th of i-th of direction.TiIt is estimating on i-th of direction
Count noise, Wi(x, y) is the weighting function on i-th of direction, fp(u)=(u > 0) u.
Δ φ (x, y)=cos [φr(x,y)-φ(x,y)]-|sin[φr(x,y)-φ(x,y)]| (2)
φ (x, y) is the local phase weighted mean at the position (x, y), φr(x, y) represents local phase at (x, y)
R grade Fourier expansion series component at position;
(4) G is composed using the gradient magnitude that gradient calculation method obtains phase equalization map PC:
(5) it sums to all gradient magnitudes in G, as final focusing function evaluation of estimate, gradient magnitude summation is higher,
Current image location is closer to focus position.
The beneficial effects of the present invention are: 1. solve scene there are brightness change by phase equalization map PC and make an uproar
The problem of in terms of sound, in quasi- burnt position when overcoming phase equalization method as evaluation function further combined with gradient calculation method
Setting curve nearby there are problems that collapsing, and finally obtained evaluation function curve has good unbiasedness, unimodality, sensitivity
And stability, it is various including the situations such as practical value is higher, can be widely used in including brightness change, and signal-to-noise ratio is low
Actual photographed scene.
Detailed description of the invention
Fig. 1 is the flow diagram of inventive method.
Fig. 2 is the schematic diagram of optional 5 width in one group of emulation defocus sequence chart.
Burnt image subject to Fig. 3.
Fig. 4 is the focusing window image chosen.
Fig. 5 is the phase equalization map of focusing window area image.
The gradient magnitude that Fig. 6 is phase equalization map PC composes G.
Fig. 7 is the evaluation function curve obtained using phase equalization method.
Fig. 8 is the evaluation function curve that method obtains in conjunction with gradient using phase equalization.
Fig. 9 is the evaluation function curve obtained using existing method.
Specific embodiment
A kind of evaluation method of the quasi- burnt degree of auto-focusing image of the present invention, this method is using phase equalization map and ladder
The method that degree map combines, there are what peak value collapsed to ask when solving using phase equalization method as focusing evaluation function
Topic, no matter the scene that or brightness relatively low for normal scene or noise changes all has good performance capabilities, practical valence
Value is higher, and application range is wider, has good unbiasedness, unimodality, sensitivity, stability.
It is described in detail with reference to the accompanying drawing with example:
Fig. 1 is the simple process block diagram of the method for the present invention.Below with reference to embodiment, the invention will be further described.
For the present embodiment by taking one group of emulation defocus sequence chart as an example, Fig. 2 is that 5 width figures are arbitrarily chosen in one group of defocus sequence chart
As schematic diagram, wherein (a)-(e) is respectively the 1st width, the 9th width, the 17th width, the 25th width, the 33rd width defocus sequence analogous diagram, wherein
Burnt figure subject to 17th width.Wherein, it is gradually become smaller from the 1st width~the 17th width defocusing amount, gradually from the 17th width~the 33rd width defocusing amount
Become larger.
The present embodiment carries out defocusing amount evaluation to 33 width figures using existing method first, existing since brightness is inconsistent
Method can not really reflect the defocusing amount of each figure, as shown in Figure 9.
The present embodiment further uses merely using phase equalization method and method of the invention to above-mentioned 33 width
Image carries out evaluating following (by taking the 17th width image as an example):
(1) it is as shown in Figure 3 to obtain image I;
(2) the focusing window region I of 200 × 200 pixel as shown in Figure 4 is chosen from image Ic;
(3) focusing window area image I is calculated using log-Gabor small echocPhase equalization map PC, 2D scheme
As in, the phase equalization of each pixel is defined as:
Wherein, m and n respectively indicates the direction scale number of Log-Gabor wavelet filter, Aji(x, y) and φji(x,y)
The amplitude and local phase deviation being illustrated respectively in the logarithmic scale of j-th of i-th of direction.TiIt is estimating on i-th of direction
Count noise, Wi(x, y) is the weighting function on i-th of direction, fp(u)=(u > 0) u.
Δ φ (x, y)=cos [φr(x,y)-φ(x,y)]-|sin[φr(x,y)-φ(x,y)]| (2)
φ (x, y) is the local phase weighted mean at the position (x, y), φr(x, y) represents local phase at (x, y)
R grade Fourier expansion series component at position, phase equalization map PC are as shown in Figure 5;
(4) G is composed using the gradient magnitude that gradient calculation method obtains phase equalization map PC, as shown in fig. 6,
Wherein, GxWith GyRespectively indicate the partial derivative of phase equalization map PC in the horizontal and vertical directions;
(5) it sums to all gradient magnitudes in G, as final focusing function evaluation of estimate.
It repeats the above steps and the calculating of clarity evaluation of estimate is carried out to 33 width defocus sequence analogous diagrams of acquisition, and obtain the group
The evaluation function curve of defocus sequence focusing window, as shown in Figure 8.It preferably solves as shown in Figure 7 simple using phase
Coherence method has that peak value collapses as focusing evaluation function.
The auto focus evaluation function calculation method that the invention proposes a kind of phase equalizations in conjunction with gradient, this method
Solve the problems, such as using phase equalization method as focusing evaluation function there are peak values to collapse, no matter for normal scene also
It is that the scene that noise is relatively low or brightness changes all has good performance capabilities, practical value is higher, and application range is wider, tool
There are good unbiasedness, unimodality, sensitivity, stability.
Claims (1)
1. a kind of evaluation method of the quasi- burnt degree of auto-focusing image, which is characterized in that method includes the following steps:
(1) image I is obtained;
(2) focusing window region I is chosen from image Ic;
(3) focusing window region I is calculated using log-Gabor small echocPhase equalization map PC, the phase of each pixel
Conformance definition are as follows:
Wherein, m and n respectively indicates the direction scale number of Log-Gabor wavelet filter, Aji(x, y) and φji(x, y) difference
Indicate amplitude and local phase deviation in i-th of j-th of direction logarithmic scale;TiIt is that estimation on i-th of direction is made an uproar
Sound, Wi(x, y) is the weighting function on i-th of direction, fp(u)=u, u > 0;
Δ φ (x, y)=cos [φr(x,y)-φ(x,y)]-|sin[φr(x,y)-φ(x,y)]| (2)
φ (x, y) is the local phase weighted mean at the position (x, y), φr(x, y) represents local phase at the position (x, y)
R grade Fourier expansion series component;
(4) G is composed using the gradient magnitude that gradient calculation method obtains phase equalization map PC:
(5) it sums to all gradient magnitudes in G, as final focusing function evaluation of estimate, gradient magnitude summation is higher, currently
Picture position is closer to focus position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610325972.7A CN106023190B (en) | 2016-05-16 | 2016-05-16 | A kind of evaluation method of the quasi- burnt degree of auto-focusing image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610325972.7A CN106023190B (en) | 2016-05-16 | 2016-05-16 | A kind of evaluation method of the quasi- burnt degree of auto-focusing image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106023190A CN106023190A (en) | 2016-10-12 |
CN106023190B true CN106023190B (en) | 2019-05-07 |
Family
ID=57097213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610325972.7A Expired - Fee Related CN106023190B (en) | 2016-05-16 | 2016-05-16 | A kind of evaluation method of the quasi- burnt degree of auto-focusing image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106023190B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108513115B (en) * | 2018-03-14 | 2020-08-18 | 深圳市点睛创视技术有限公司 | Dynamic focusing window selection method and device in projection system |
CN109801289A (en) * | 2019-01-25 | 2019-05-24 | 淮阴师范学院 | A kind of image Focus field emission array implementation method based on Gabor transformation |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104680541A (en) * | 2015-03-15 | 2015-06-03 | 西安电子科技大学 | Remote sensing image quality evaluation method based on phase congruency |
CN105243660A (en) * | 2015-09-16 | 2016-01-13 | 浙江大学 | Quality evaluation method of light source scene-containing automatic focusing image |
CN105354835A (en) * | 2015-10-16 | 2016-02-24 | 浙江工业大学 | Method for evaluating medical image quality in combination with phase consistency, gradient magnitude and structural prominence |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6009538B2 (en) * | 2011-04-28 | 2016-10-19 | コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. | Apparatus and method for encoding and decoding HDR images |
-
2016
- 2016-05-16 CN CN201610325972.7A patent/CN106023190B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104680541A (en) * | 2015-03-15 | 2015-06-03 | 西安电子科技大学 | Remote sensing image quality evaluation method based on phase congruency |
CN105243660A (en) * | 2015-09-16 | 2016-01-13 | 浙江大学 | Quality evaluation method of light source scene-containing automatic focusing image |
CN105354835A (en) * | 2015-10-16 | 2016-02-24 | 浙江工业大学 | Method for evaluating medical image quality in combination with phase consistency, gradient magnitude and structural prominence |
Also Published As
Publication number | Publication date |
---|---|
CN106023190A (en) | 2016-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109451244B (en) | Automatic focusing method and system based on liquid lens | |
CN109521547B (en) | Variable-step-length automatic focusing method and system | |
JP5869883B2 (en) | Image processing device | |
CN103217855B (en) | Automatic focusing method of camera | |
US7881551B2 (en) | Method and apparatus for multifocus digital image restoration using image integration technology | |
CN110455258B (en) | Monocular vision-based unmanned aerial vehicle ground clearance measuring method | |
US20070189750A1 (en) | Method of and apparatus for simultaneously capturing and generating multiple blurred images | |
CN106249325A (en) | A kind of bionical quick focus adjustment method of vision based on liquid lens | |
CN108062769B (en) | Rapid depth recovery method for three-dimensional reconstruction | |
US20150264245A1 (en) | Adaptive Image Acquisition for Multiframe Reconstruction | |
CN102131052B (en) | Method and apparatus for auto-focus control of digital camera | |
CN110166692A (en) | A kind of method and device improving camera automatic focusing accuracy rate and speed | |
CN110519514B (en) | Automatic focusing algorithm for astronomical telescope | |
CN105023249A (en) | Highlight image restoration method and device based on optical field | |
CN108519654B (en) | Automatic focusing method based on electro-hydraulic adjustable-focus lens | |
JP2008052123A (en) | Imaging apparatus | |
CN104299202B (en) | A kind of defocus blur image blind restoration method based on intermediate frequency | |
CN106341596A (en) | Focusing method and focusing device | |
CN106023190B (en) | A kind of evaluation method of the quasi- burnt degree of auto-focusing image | |
CN102932583B (en) | Refraction-reflection whole-focusing imaging method | |
CN109767441A (en) | A kind of automatic detection blind element labeling method | |
CN102520503A (en) | Method for quickly focusing high-definition image acquisition equipment | |
CN102883103B (en) | Auto-focusing method and photographic device | |
CN106556958A (en) | The auto focusing method of Range-gated Imager | |
Chumerin et al. | Ground plane estimation based on dense stereo disparity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190507 |