International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Vol XXXV, Part B-YF. Istanbul 2004
3.5 Positive-negative recognition
During the localization stage, algorithm recognizes if the
extracted patch is positive or negative. In case of negative, the
patch converts to positive. The values of grey value correlation
matrix help us to determine if mask is positive and image is
negative so the values of grey value correlation matrix become
negative. In the case that mask and patch are positive, the
matrix of grey value correlation has positive values.
3.6 Estimation of the transformation parameters
Now the accurate positions of fiducial marks in pixel system are
known and their position in photo coordinate system are
available through camera calibration file also. To establish a
geometric relationship between pixel and photo coordinate
system, projective transformation is used to achieve this goal.
At least exact position of four out of eight fiducial marks should
be known (Eq.1)
AX t byte, i
ax +h y+]
ta boy c,
Va ee
a xb yt
where:
[a, b, c] — Transformation parameters
[x ;V | — Photo coordinates of fiducial marks
[x,] = Pixel coordinates of fiducial marks
3.7 Localization
From various methods used to localize the fiducial mark, we
chose two methods which help us to obtain a better accuracy as
follow:
3.7.1 Cross Correlation Function (CCF)
In this method, a small patch with a search area of 512 by 512
pixels is read from the original image called (f). Template of
fiducial mark (w) is conducted to search over the top level of
pyramid of extracted patches until the best match between the
template and a certain patch is found. Template(w) moves over
the search window one by one pixel forward systematically and
in every step normalized correlation coefficient is calculated
which indicated the best match between (w) and (f) when value
of (r) is maximum as shown in Eq.2.
206
f(x,y) X
—m——— =
A
Q
M
W(x ,y)
y
Y
N
Figure 6. Arrangement for the obtaining of f(x, y) and w(x, y) at
a given point
XX f(x,y) -À pi —my—n) —w) (2)
Hmn) = E =
Y Az, >| 5] Mx—m yn]
xy xy
Where:
W = the average value of the pixels in w(x, y).
f= the average value of f(x, y) in the region coincident with
the current location of w
r(m, n) = normalized correlation coefficient at a given point
of (m, n)
The summations are taken over the coordinates common to both
f and w. The correlation coefficients are scaled in the range
of -1 to 1. In case of the best matching, the number would be 1.
3.8 Precise measurement
In this Paper we used two more accurate methods as follow:
3.8.1 Interpolation and surface fitting (ISF)
In this method, we fit a bilinear surface (Eq.3) on the
approximate pixel position obtained from previous stage and its
surrounding.
The precise position with sub-pixel accuracy will be gain by
derivation of the bilinear surface as shown in Fig. 7.