A fast and reliable optical setup is here presented for in-focus imaging of objects in the macro range. The setup uses a camera equipped with an objective embedding a liquid lens, whose focal length is voltage-controlled. The defocus condition of the image is controlled by means of two indexes, both suitable for coarse and for fine adjustments. A purposely designed algorithm makes use of the two indexes, switching from one to the other to position the image in focus by adequately controlling the liquid lens focal length. The setup has been calibrated by means of target planes of known contrasts, and applied to process biomedical images such as fingerprints.

1.
J.
Fuentez-Fernandez
,
S.
Cuevas
,
L. C.
Alvarez-Nunez
, and
A.
Watson
, “
Tests and evaluation of a variable focus liquid lens for curvature wavefront sensors in astronomy
”, in
App Opt
, vol.
52
, no.
30
, pp.
7256
7264
, Oct.
2013
.
2.
B.
Berge
, and
J.
Peseux
, “
Variable focal lens controlled by an external voltage: an application of electrowetting
”, in
Eur Phys J E
, vol.
2
, no.
2
, pp.
159
163
, Oct
2000
.
3.
F. C. A.
Groen
,
I. T.
Young
, and
G.
Ligthart
, “
A comparison of different focus functions for use in autofocus algorithm
”, in
Cytom
, vol.
6
, no.
2
, pp.
81
91
, Mar.
1985
.
4.
L.
Shih
, “
Autofocus survey: a comparison of algorithm
”, in
Proc of SPIE
, vol.
6502
, no.
6502B
,
2007
.
5.
Karlsruhe GMBH Kernforschungszentrum
:
Verfahren und Einrichtung zur automatischen Scharfeinstellung eines jeden Bild-punktes eines Bildes
. Patent specification PLA7907 
Karlsruhe
,
1979
.
6.
E. T.
Johnson
, and
L. J.
Goforth
, “
Metaphase spread detection and focus using closed circuit television
”, in
J Histoch Cytochem
, vol.
22
, no.
7
, pp.
536
545
,
1974
.
7.
H.
Linge
,
H. G.
Zimmer
, and
V.
Neuhoff
, “Focus adjustment in linear systems”, in
Proc of ISMII
,
Berlin
, pp.
40
45
, Oct.
1982
.
8.
R. A.
Jarvis
, “
Focus optimization criteria for computer image processing
”, in
Micros
, vol.
24
, no.
2
, pp.
163
180
,
1976
.
9.
R. A.
Muller
, and
A.
Buffington
, “
Real-time correction of atmospherically degraded telescope images through image sharpening
”, in
J Opt Soc A
, vol.
64
, no.
9
, pp.
1200
1210
,
1974
.
10.
M. F.
Ismail
,
T. R.
Jaafar
,
N. C.
Pin
, and
N. H.
Zaini
, “
Sobel operator for edges detection in surface texture analysis
”, in
J Tekn
, vol.
76
, no.
10
, pp.
71
74
, Oct.
2015
.
This content is only available via PDF.
You do not currently have access to this content.