STEREO IMAGE MATCHING WITH SUB-PIXEL RESOLUTION

advertisement
Borislav Marinov
STEREO IMAGE MATCHING WITH SUB-PIXEL RESOLUTION
Borislav MARINOV
University of Architecture, Civil Engineering and Geodesy,
Faculty of Geodesy, Sofia, Bulgaria
MarinovB_fgs@uacg.acad.bg
Working Group III/2
KEY WORDS: Image matching, Orientation, High-resolution data/images, Edge extraction, Accuracy.
ABSTRACT
The automation of processes of the in terior, relativ e an d ab solute o rientation o f stereo im ages req uires so lving th e
problem of image matching. A model f or i mage m atching i s propos ed t hat i s bas ed on t he proj ective g eometric
transformation and the bi-linear grey level approximation. The enhancement of the correlation maximum is obtained by
using of structural information about the contours in the matching windows. For th at purpose a procedure for contour
finding is ap plied. The contour information is used for generating the pattern image and weight matrix for the pixels in
the m atching w indow. T he L east Sq uares Meth od is ap plied at th e f inal stag e o f th e processing to determine the
parameters of matching at th e sub-pixel level. The advantage of such approach is th e possibility to determine not only
the values of the parameters but also to estimate the accuracy of the results. It is provided the experimental comparison
for combination of original images, contour image and weight matrix at the stages of correlation matching and Least
Squares Matching. The procedure is adapted to the specific requirements for the steps of interior, relative and exterior
orientation of the digital stereo images.
1
INTRODUCTION
The automation of processes of the interior, relative and absolute orientation in digital photogrammetry is impossible to
be done w ithout s olving th e problem s of dig ital im age m atching. Dif ferent reas ons prev ent achieving accurate and
reliable results. The influence of the image noise, the orientation parameters, the slope of the terrain and the sharp rise of
the h eights of s ome obj ects lik e bu ildings, produ ce a dis turbance of the matching process. For these reasons a more
sophisticated procedu re f or m atching of corres ponding areas in dig ital im ages is n ecessary to be used. The standard
procedure f or dev eloping th at proces s is application of dig ital correlation . T here are k nown dif ferent methods for
estimation o f b est co rrelation. B y that reaso n there are a lo t o f investigations co ncerning the solving of that problem.
The f ollowing m ain task s h ave to b e so ld to ach ieve f inal resu lts. The choice of fast and reliable method for initial
position finding. The mathematical model for geometric transformation of two images. In that direction the orthogonal
or affine transformations are most commonly applied (Kraus K., 1997). Different types of matching criteria are applied absolute di fference, correl ation, l east s quares adj ustment (H eipke Chr., 1996). The application of edge detection
techniques is investigated from different authors (A lwan R.H., 1996). T he m aximum accu racy of relativ e pos ition
orientation o f tw o im ages is g oal o f m ethods. In th at d irection th e su b-pixel reso lution o f position determination is
preferable.
2
MATHEMATICAL MODEL OF TRANSFORMATION
The degrees of freedom of mathematical model depend on stage of processing and used procedures. It is well known
that th e larg e n umber of param eters allow to en sure m ore accu rate res ults. From the other side the increasing of the
parameter number tends to worst stability of parameter determination. By that reason the control of used parameters is
necessary to be applied.
2.1
The Model for geometric transformation
The geometric transformation is based on projective transformation: The procedure for transformation the target
coordinates in coordinate system of pattern is applied. So the reverse transformation is used to obtain the coordinates of
target pixels in coordinate system of pattern image. The equations describing that transformation are:
International Archives of Photogrammetry and Remote Sensing. Vol. XXXIII, Part B2. Amsterdam 2000.
371
Borislav Marinov
a rx x ei + b rx y ei + c x
x it
=
d r x ie + e r y ei + 1
y it =
,
a ry x ei + b ry y ei + c y
(1)
d r x ei + e r y ei + 1
where x ei and yei are coordinates of the pixel in the pattern image and
#
!
$
"
x it and yit are coordinates of the corresponding pixel position in the target coordinate space.
%
!
%
$
After determining the parameters of reverse transformation the parameters of forward transformation could be
processed. T his tran sformation will n ot b e n ecessary to b e d one if th e p ixels o f p attern image are transformed to the
coordinate system of the target image. Such solution is n ot convenient because in that situation the position in pattern
mage will change from iteration to iteration that will tend to instability of the process. Another consideration is that in
case of determination the position of fiducial marks it is p referable to use the standard pattern of mark model at fixed
position.
2.2
&
Radiometric transformation of image mask
Another problem to be s olved is th e ty pe of g rey-level m odel. T he u sage of the nearest neighbour method is not
appropriate d ue to the go al f or r eaching the sub -pixel r esolution. T he suggested model is based on bi-linear
approximation between square of pixels in th e targ et im age. T he m odel as sumes dif ferent m ean v alue, con trast an d
possible linear change of mean grey level in the square of pixels. Taking into account such types of dependency the final
'
formula for grey level of target image corresponding to pattern pixel at position ( x ie , y ei ) has the form:
#
#
(
!
$
)
g(x ei , y ei ) = g 0 + h x x ei + h y y ei
5
5
5
*
,
,
+
2
+
2
7
2
6
4
+ h g [g t (j, k)(x it - j)(y it - k) + g t (j + 1, k)(j + 1 - x it )(y it - k)
3
1
0
3
.
3
-
3
.
.
0
.
*
0
(2)
0
,
/
+ g t (j, k + 1)(x it - j)(k + 1 - y it ) + g t (j + 1, k + 1)(j + 1 - x it )(k + 1 - y it )]
3
3
-
*
,
*
*
,
+
+
2
8
2
2
t
where g (j,k) is grey-level value of the target pixel at (j,k) position in the pattern space.
9
The term g 0 corresponds to the mean value. The hx and hy take into account the coordinate dependent mean value. The
4
parameter h g corresponds to the contrast ratio between pattern and target images. After expanding the expression for
g( x ie ,y ei ) and routing to the linear terms the linearized equations of measurement are formed that are used to form the
#
*
,
+
"
)
normal system of least squares method. The formal presentation of residual equation is presented in the following form:
v i = c1i δg 0 + c 2i δh x + c 3i δh y + c 4i δh g + c 5i δa rx + c 6i δb rx + c 7i δC rx
L
L
O
L
I
O
F
M
F
D
;
F
C
O
K
F
;
H
O
K
N
F
;
B
J
@
;
F
F
;
>
A
?
;
?
(3)
+ c8i δa ry + c 9i δb ry + c10i δC ry + c11i δd r + c12i δe r + f i
:
:
:
I
F
J
H
F
F
F
;
<
:
G
F
=
E
;
;
<
The expressions for the first three coefficients have the form:
F
c 2i = x ei
c1i = 1
c 3i = y ei
(4)
If it h as been applied prelim inary con trast equ alization th e abov e param eters cou ld n ot be tak en in to account. The
P
expression for c4j depends on the interpolated grey-level value in point ( x it ,y it ) .
%
R
T
S
Q
)
c 4i = g t (j, k)(x it - j)(y it - k) + g t (j + 1, k)(j + 1 - x it )(y it - k)
]
]
[
\
]
U
Z
Z
^
^
(5)
+ g t (j, k + 1)(x it - j)(k + 1 - y it ) + g t (j + 1, k + 1)(j + 1 - x it )(k + 1 - y it )
]
]
Y
W
[
]
Y
U
W
W
Z
W
V
W
Z
U
W
W
U
W
X
V
The expressions for coefficients from c5j to c12j are separated in three groups. The coefficients c5j, c6j and c7j depend
Q
Q
@
Q
`
>
_
only from derivatives of x tj :
a
372
International Archives of Photogrammetry and Remote Sensing. Vol. XXXIII, Part B2. Amsterdam 2000.
Borislav Marinov
c 5i = h g {[g t (j, k) - g t (j + 1, k)](y it - k)
o
k
o
g
g
g
f
l
h
s
r
∂x it
o
t
where
c
=
∂a rx
m
t
t
∂x it
m
p
u
i
c
e
q
n
(6)
d r .x ei + e r .y ei + 1
p
j
u
b
o
x ie
p
c
q
v
v
c
t
o
(j + 1, k + 1)](k + 1 - y it )
t
+ [g (j, k + 1) - g
f
g
f
h
o
g
d
f
f
f
e
}
∂a rx
m
t
b
n
The expressions for coefficients from c8j to c10j has the form:
w
t
∂y it
e
o
t
c 8i = h g {[g (j, k) - g
l
w
h
(j, k + 1)](x it
t
o
- j)
x
∂a ry
m
t
b
y
t
∂y it
e
c
q
where
i
t
∂a ry
=
t
∂y it
(7)
d r .x ei + e r .y ei + 1
b
o
x ei
p
j
p
i
e
q
q
z
z
e
+ [g t (j + 1, k) - g t (j + 1, k + 1)](j + 1 - x it )
o
o
g
f
g
f
d
f
f
f
h
c
t
}
∂a ry
b
y
The expressions for coefficients c11j and c12j depend on derivatives of x it and y it .
]
]
e
Q
Q
^
^
∂x t
c11i = h g {[[g t (j, k) - g t (j + 1, k)](y it - k) + [g t (j, k + 1) - g t (j + 1, k + 1)](k + 1 - y it )] i
∂d r
]
†
~
]
]
ƒ
€
]
€
„
]
€
€

€




}



|
†
{
,
∂y t
(j + 1, k + 1)](j + 1 - x it )] i }
r
]
(8)
†
|
t
]

]
+ [[g (j, k) - g
€

∂x it
]
†
†
=
t
€


]
€
}



~
†
∂d
…
{
(a rx .x ei + b rx .y ie + c rx ).x ie
‡
‡
}
„
|
^
^
‰
Ž
^
Ž
(d r .x ei + e r .y ei + 1) 2
{
}


Š
~
|
Ž
∂y it
r
t
- j) + [g (j + 1, k) - g

‹
Ž
(9)
(a ry .x ei + b ry .y ei + c ry ).x ei
‡
…
‹
}

Œ

~
„
|
^
|
=
^
†
]
‚

‡
{
where
]
€
Œ
∂d r
†
(j, k + 1)](x it
t
∂d
{
ˆ
ˆ
Ž
ˆ
Ž
(d r .x ie + e r .y ie + 1) 2
‡
‡
{
}
Š
|
^
^
Ž
Ž
The usage of the expressions from (5) to (9) allow s to f orm a res idual equations and finally to f ind the parameters by
Least-Squares method. This approach has advantages to determ ine m ore precis ely th e v alue of param eters. From
practical point of view there are several problems that have to be solved. First of all increasing the number of unknowns
tends to lower stability of solution. The large number of parameters decreases the speed of processing.

2.3
The Relief Disturbance
The estimation of relief influence could be done based on traditional projective relations. The exact matching takes part
only for the centre of matching window. For pixels n ear th e w indow bou ndaries appears error du e to th e h eight
differences. T he co llinearity eq uations co uld b e u sed to estimate th e v alue o f th at d ifference. T he h orizontal parallax

difference between two points Pi = ( X i ,Yi ,Z i ) t and Pj = ( X j ,Y j ,Z j ) t in matching window in case of the relative
orientation model with basic left photo has the form:
]
•

’
o
}
‘
—
“
’
–
”
}
‘
–
–
”
–
”
”
(2)
(2)
a11
(X i - X B - ) + a (2)
21 (Yi - YB ) + a 31 (Z i - Z B )
™
™
ž
œ
ž
¡
¥
¥
¥
∆p = p i − p j = x (1)i − x (2)i - ( x (1)j − x (2)j ) = c
£
£
¢
¢
˜

¢
¢
™
™
œ
Ÿ
Ÿ
š
ž
£
ž
›
Ÿ
¥
™
(2)
(2)
a13
(X i - X B ) + a (2)
23 (Yi - YB ) + a 33 (Z i - Z B )
™
ž
œ
ž
¡
Ÿ
›
ž
−c
Ÿ
Ÿ

Xi
Zi
›
,
(2)
(2)
a11
(X j - X B ) + a (2)
21 (Y j - YB ) + a 31 (Z j - Z B )
™
ž
¡
ž
›
œ
Ÿ
Ÿ
˜
˜
˜

(2)
(2)
a13
(X j - X B ) + a (2)
23 (Y j - YB ) + a 33 (Z j - Z B )
™
œ
™
ž
¡
Ÿ
˜
ž
›
Ÿ
Ÿ
˜
˜
š
ž
Xj
˜
š
-c
(10)
™
ž
œ
Ÿ
¤
+c

›
Zj
˜
International Archives of Photogrammetry and Remote Sensing. Vol. XXXIII, Part B2. Amsterdam 2000.
373
Borislav Marinov
(2)
where c is the camera constant, a ij are the coefficients of the rotation matrix for the right photo.
¦
Q
§
In cases of absolute orientation, after the tran sformation o f rig ht im age to en sure w orking in ep ipolar lin es, th e
expression for parallax difference takes the following simplified form
P
X j − XB
Xj
X − XB
X
=
+c
∆p = p i − p j = c i
−c i -c
Zi − Z B
Zi
Z j − ZB
Zj
(X + S x ).Z i − X i ( Z i + S x tan γ )
(X - X B )( Z i + S x tan γ - Z B ) - (X i + S x - X B )(Z i - Z B )
=
=c i
+c i
Z i ( Z i + S x tan γ )
(Z i − Z B )( Z i + S x tan γ - Z B )
S .Z − X iS x tan γ
(X - X B )S x tan γ - S x (Z i - Z B )
=c x i
+c i
2
Z i + Z i .S x tan γ
(Z i − Z B ) 2 + ( Z i − Z B )S x tan γ
±
±
±
±
±
±
¬
§
³
³
³
³
¬
ª
¤
²
²
²
°
°
°
°
¬
®
®
®
®
®
®
¬
­
®
±
¬
­
®
¤
­
±
®
­
®
©
¤
±
­
®
­
©
¤
¨
¨
°
¯
°
®
­
®
­
®
®
®
©
¤
(11)
¨
­
­
©
©
¨
§
­
©
¤
¨
¨
§
ª
«
«
Ž
°
°
®
®
­
®
®
­
®
©
©
¯
¨
¯
¨
Ž
To analyse the errors due to th e relief, the four typical points, lying at the corners of matching window are examined.
For points that differ in X direction the expression has the form:
S x .Z i − X iS x tan γ
(X - X B )S x tan γ - S x (Z i - Z B )
∆p = c 2
+c i
,
Z i + Z i .S x tan γ
(Z i − Z B ) 2 + ( Z i − Z B )S x tan γ
¸
º
·
º
·
¸
µ
µ
´
´
¶
½
½
¼
»
¸
»
·
¸
¸
(12)
·
¸
¸
µ
µ
¹
´
¹
´
¶
where SX is distance between points in X direction and γ is the angle of slope of terrain in X direction.
¿
À
¾
The simplification of expression could be made if the assumption that there is n ot difference between Z coordinates of
the projection centres of photos. In that case the expression takes form:
Z BS x − X BS x tan γ
µ
´
½
∆p = p i − p j = c
½
¼
(13)
Z i2 + Z i .S x tan γ
´
Á
¶
In case of points that has the same X coordinates and differ in Y coordinates the expression is:
− X iS Y tan β
(X i - X B )S Y tan β
·
µ
½
∆p =
½
¼
µ
Â
+c
»
Z 2i + Z i .S Y tan β
Å
(Z i − Z B ) 2 + ( Z i − Z B )S Y tan β
Å
·
µ
Á
,
(14)
·
µ
Á
Ä
¶
Ä
Ã
where SY is the distance in Y direction and β is the angle of the terrain slope in Y direction.
Æ
The simplified expression for such points in case of Z B = 0 takes the form:
Ç
È
− X BSY tan β
Ê
µ
½
½
∆p = p i − p j = c
É
§
È
(15)
Z i2 + Z i .SY tan β
Ë
¶
The analyses of expressions for X and Y directions shows that the difference of p differ that can be modelled by usage
of dif ferent s cale f or tw o direction s. T o an alyse th e in fluence m ore precis ely th e dif ferentiating of f inal ex pressions
could be made. For example for X direction the first derivative has the form:
Ì
Z − X B tan γ
∂∆p
=c B
∂S x
(Z i + S X tan γ ) 2
½
½
È
µ
Í
É
(16)
Î
Ï
Ì
µ
Ë
Í
The expression (16) for first derivative is non-linear and could not be modelled by different scales but error is too small.
For image with resolution 1200dpi, size of matching window 128x128 pixels, camera with view angle β=60° and photo
size 23x23cm, and slope of the terrain γ=45° the ratio Sx * tgγ / Z1 = 0.0408 . That result allows to neglect the nonlinearity of expression (13). The similar estimation could be made for expression in Y direction. As conclusion the
terrain in fluence w hen th e tran sformation by epipolar lin es is don e cou ld be es timate by affine transformation. The
situation when the terrain has different slope in m atching w indow o r th ere is a h eight j ump in th e w indow is m ore
complicated and need more sophisticated modelling.
Ç
Í
À
374
International Archives of Photogrammetry and Remote Sensing. Vol. XXXIII, Part B2. Amsterdam 2000.
Borislav Marinov
3
Ð
THE MATCHING PROCEDURE
The matching procedure consists of three stages. At the first stage the preprocessing the pattern image and weight matrix
are prepared. The second stage of processing implements th e p rocedure o f f inding th e in itial ap proximate p osition o f
target. The third step of the matching procedure performs the least squares matching.
The Preprocessing stage
3.1
Ð
At the preprocessing stage the edge enhancement procedure is used. Direct application of high pass filter does not give
the satisfactory results. To avoid increasing the noise the regional contour detector of Hueckel type is applied. To ensure
better results for contours with dense change of direction the modification of operator is used which uses small detector
window (Marinov, 1994). The contour information i s u sed t o creat e t he pat tern i mage or w eight m atrix. T he
superposition in different ratio o f o riginal im age an d h alftone v ector im age is g enerated. T he lin e w idth o f co ntour
pattern d epends o n th e p arameters o f lo w p ass f ilter ap plied to th e co ntour image. For pattern images of the fiducial
mark and the artificial ground control points o nly th e co ntour p resentation o f v ector o bjects is u sed. Fo r relativ e
orientation procedure the enhancement of pattern image is applied.
Ñ
3.2
Ð
Ò
Finding the Initial Position
The stage of initial position finding is very important to ensure high speed of processing and to avoid false matching. To
solve th at task th e v ariable reso lution o f im ages is u sed. T he reso lution o f p yramid im ages v aries in power of 2. In
practice only the resolution 2 and 4 from the original image resolution are applied. Secon d specific feature is the used
model for correlation criteria. Here the well known normalised correlation is applied. It is described by the expression:
Ô
J
Õ
Σ
r (m, n) =
K
Σ P(j, k).T(j - m, k - n)
j=1 k =1
J
Σ
j =1
K
2
Σ P ( j,k ) .
Ö
k =1
J
Σ
j =1
K
,
Ó
(17)
2
Σ T (j - m, k - n)
k =1
where P(j,k) are grey-level values of pattern image and T(j,k) - for target image.
At the stage o f initial p osition finding o nly the d isplacement p arameters and ro tation b etween images are d etermined.
For variable steps of the matching window resolution only the displacement is determined. The rotation is determined
only for maximal resolution. The nearest neighbour method is u sed f or g rey lev el ap proximation at th is stag e. Su ch
approach suppose that the scale differences and the relative angles are to small and their influence could be neglected at
that stage of matching procedure.
'
The Least Squares Matching
3.3
Ð
The Least Squares (LSQ) method is applied only at the final stage of parameters estimation. The specific feature is
usage of mask that covers the pixels near the contour model. Mask usage allows to decrease the number of pixels taking
part in equ ation f orming. T he mask is bas ed on con tour pres entation of pattern image. Another specific feature is an
adaptation of the procedu re i n t erms of n umber of param eters. T he n umber of param eters depen ds on t he t ype
processing - interior, relativ e, exterior and the stage of processing. In realisation of procedure the maximal number of
parameters is used only at final iterations of relative orientation and control point identification. As final results of LSQ
matching th e param eters v alues an d co- variance m atrix of param eters are calculated. The coordinates of centres of
pattern and target windows are calculated to obtain h orizontal an d v ertical parallax es in poin ts of in terest. T he covariance matrix values are used for estimation the accuracy of matching.
×
Ñ
4

Ø
THE IMPLEMENTATION OF MATCHING PROCEDURE
The matching procedure could be used at different stages of processing. There are specific characteristics that appear at
different stages. The matching procedure is applied for identification the position of fiducial marks, the relative position
of corresponding points in relative orientation, the corresponding points in absolute orientation and the identification of
position of artificial control points.
International Archives of Photogrammetry and Remote Sensing. Vol. XXXIII, Part B2. Amsterdam 2000.
375
Borislav Marinov
4.1
Ø
The Interior Orientation
The implementation of matching procedure requires the creation of fiducial mark pattern. Many authors like Lue (1977)
discuss suc h p atterns. T he se mi-automated p rocedure fo r p reparing t he p atterns i s sugge sted he re. I t i s b ased on the
generation of contour presentation based on utilisation of the edge detector and contour forming procedure. The pattern
image is prepared f rom high-resolution raster image. When the vector model is used it is rasterized according with the
resolution of processed image. The raster presentation is smoothed by low pass filter so the halftone image is produced.
An example of pattern forming for Wild RC20 camera is shown on fig.1, fig.2 and fig.3. The halftone model generation
from vector pattern is presented on fig.4.

Ù
¿
'
Figure 1. Fiducial mark
grey level image
Figure 2. Contour image
of mark formed from image
Figure 3. Grey level mark Figure 4. Grey level model
model from contour image
from vector pattern
If the fiducial mark is rotationally asymmetric the pattern image have to be rotated accordingly with the actual position
of fiducial mark. The in itial p osition o f targ et m ark is u sed to d etermine th e p arameters o f tran sformation in targ et
image. On that stage of processing only the six parameters of affine transformation are used.
¿
The Relative Orientation
4.2
Ø
The relativ e o rientation req uires d etermination o f at least six p oints in the stereo overlapping zone. After initial
determination o f p oint p osition it is ap plied th e p rocedure f or f inding th e m ost co nvenient p osition. It is selected by
calculation the width of auto-correlation function. The searching area is restricted to the size of matching window. The
second step is finding the initial position at pixel level. The third second step is initialising the parameters of geometric
transformation. The relative orientation procedure is processed in tw o step s. A fter in itial f inding th e co ordinates o f
corresponding points the pass of relative orientation is don e. B efore reach ing th e f inal accu racy th e determ ination of
relative position by LSQ method is applied again.

4.3
Ø
The Exterior Orientation
The finding o f co ntrol p oints p osition has several sp ecific features. The matching procedure is similar to those at the
stage of rel ative ori entation. T he f inding of con trol poi nts depen ds on t he t ype of con trol poi nt. T he poi nt could be
natural object. In that situation the automatic d etermination co uld n ot b e m ade. So me ty pes o f th e sig nalized co ntrol
points are discussed by Hahn (1996). In some cases the signalized point consists not only of circular element but contain
linear objects. The procession of such type of signalized point is shown on the following figures.
Ú
Û
Figure 5. Control points with pointing strips
Ñ
Figure 6. Control point after
applying the contour detector
Figure 7. Grey level model
of control point
The contour model of control point is used to prepare normalised model of control point. The halftone pattern of control
point is generated that is used in procedure for automatic point finding. It could be used as pattern image or as weight
matrix in LSQ method. If the point is marked on terrain there are a lot of distortion due to the projective transformation.
376
International Archives of Photogrammetry and Remote Sensing. Vol. XXXIII, Part B2. Amsterdam 2000.
Borislav Marinov
If the point is marked in one photo there are not distortion due to the terrain. In that situation arises the problem with the
matching. To solve the problem a special type of weigh matrix is used that avoids the usage of pixels in marked area.
P
4.4
Ø
Ü
Experimentation of the method
The analyses of procedures for automatic determination the fiducial mark position and the identification show that the
mainly used types of objects are circles and line strokes. By that reason the accuracy and reliability of suggested method
for such type of objects is very important. To investigate the properties of method for such type of objects are examined
circle objects with 5 pixel diameter and strip objects with the width of 5 pixels. For such types of objects are calculated
normalised correlation function determined by (17), and the error function for least squares condition:

¿
9

ß
Þ
à

¿
Ú
Ñ
Ú
Ú
Ú
Ñ
Ú
Ú
Ý
Ú
Ú
á
Ú
Ú
_
â
n
pvv = Σ p i v i2 ,
ã
(18)
ä
_
i =1
where vi is the grey level residual for the corresponding pixels of pattern and target windows.
¿
à
Û
Û
¿

à
å

¿
¿
Û

Ù
×
Ú
Ú
Ù
æ
¿

Ú
Ù
Ú
The correlation function is calculated for several combinations of target and pattern images. The analyses is done for the
following variants: pattern and target images without any changes, target image and contour model of pattern, contour
models of target and pattern images.
ñ
ì
n
ö
n
1.0
1.0
0.6
0.6
0.2
0.2
ì
-8
í
-4
ì
0
8
4
where
î
î
ï
ð
pix
-8
circle - circle
circle - ring
ring - ring
ò
-4
0
where
ó
ô
Figure 8. Correlation function for circle
8
4
ó
õ
pix
trace - trace
trace - bound
bound - bound
Figure 9. Correlation function for strip
For cases of the correlation function usage the width of maximum is w ider if there is n ot ap plied co ntour image. T he
usage of contour image for target and pattern tends to the false maximums outside of the main one. The most appropriate
combination is usage of the original image f or targ et an d th e con tour im age f or pattern . T he error f unction f or leas t
squares method is calculated with weight function based on th e p attern o bject an d w ithout th e w eight f unction. T he
combinations of target and pattern images are th e same as for the correlation function. T hey are pres ented by the line
ç
types in the same way as in fig. 8 and fig. 9. T he graphical pres entations of res ults are s hown in figures from 10
th
to
th
13 .
n
ë
n
1.0
1.0
0.6
0.6
0.2
0.2
-8
-4
0
4
Figure 10. Error function for circle
without weight matrix
8
è
pix
-8
-4
é
0
4
8
ê
pix
Figure 11. Error function for strip
without weight matrix
International Archives of Photogrammetry and Remote Sensing. Vol. XXXIII, Part B2. Amsterdam 2000.
377
Borislav Marinov
n
n
1.0
1.0
0.6
0.6
0.2
0.2
-4
-8
0
4
ý
8
Figure12. Error function for circle
with weight matrix
pix
ÿ
-8
0
-4
þ
4
8
pix
Figure 13. Error function for strip
with weight matrix
The examination shows that the usage of LSQ method without weight matrix gives very poor res ults even in cas es of
usage the images without any changes. The combination of contour pattern with original target has false minimum in the
case of circle determination.
5
÷
ø
DISCUSSION AND CONCLUSIONS
The application of the model is investigated at the stages of interior, relative and absolute orientation of stereo images.
The con trol of th e u sed param eters is propos ed bas ed on the availability of preliminary information and the
corresponding stage of processing. The projective model is used only at the initial steps of relative orientation when the
parameters o f o rientation are n ot w ell k nown y et. A t th e stag e o f in terior o rientation it is not necessary to apply
projective model but only an affine geometric transformation. Such model is enough to be used at the stage of absolute
orientation if p reliminary im age tran sformation is ap plied to en sure working on epipolar lines. The influence of the
terrain slope does not allow applying a model with lower order. To obtain the initial position of the matching windows
with p ixel reso lution m ore sim ple m ethods f or im age m atching is suitable usage of more simple methods based on
absolute difference and normalised correlation, Direct application of LSQ method does not gives good results due to the
false extremes in o ptimisation function. T he most ap propriate is u sage o f original target and contour pattern at initial
stage of correlation matching. At the stage of least sq uares matching the usage of original images with weight matrix is
preferable.
The propos ed procedu re allow s ach ieving m ore reliable an d accu rate res ults at dif ferent s tages of s tereo im age
processing. T his procedu re is adaptiv e depen ding on th e s tage of proces sing and characteristics of the images in the
matching window. It ensures the sub pixel resolution and allows the error estimation to be used for creation of weight
matrix of measurements at the following steps of analytical processing.
Ñ
REFERENCES
Alwan R.H., 1996, A utomatic S tereo Im age Mat ching U sing Edg e D etection Technique, International Archives of
Photogrammetry and Remote Sensing, Vienna, Austria, Vol.XXXI, Part B3, pp.29-35.
'
ù
Hahn M., 1996, S emi-Automatic Meas urement of S ignalized G round C ontrol Poi nts at D igital Ph otogrammetric
Workstations, International Archives o f P hotogrammetry an d Rem ote Sen sing, Vien na, A ustria, Vo l.XXXI, P art B 3,
pp.291-296.
ú
Heipke Chr., 1996, Automation of Interior, Relative and Absolute Orientation, International Archives of
Photogrammetry and Remote Sensing, Vienna, Austria, Vol.XXXI, Part B3, pp.297-311.
ù
Kraus K., 1997, with contributions by J. Jansa, H. Kager, Photogrammetry, vol.2: Advanced Methods and Applications,
Bonn, “Ferd. Dümler Verlag”, pp.172-193.
û
ü

Lue Y., 1977, One Step to a Higher Level of Automation for Softcopy Photogrammetry Automatic Interior Orientation,
ISPRS, Journal of Photogrammetry & Remote Sensing, vol.53, No 3, pp.103-109.
Marinov B.D., 1994, High Accuracy Estimation of Area Boundaries from Digital Urban Images, Proc. of the
International Conference “Remote Sensing and GIS in Urban Waters”, 12-16 Sep 1994, pp.137-144.
378
International Archives of Photogrammetry and Remote Sensing. Vol. XXXIII, Part B2. Amsterdam 2000.
Download