Analysis of Feature Detection Method in Image Registration
Analysis of Feature Detection Method in Image Registration
Analysis of Feature Detection Method in Image Registration
=
Multi-scale Harris corner detection operator is put
forward, which transforms image into different scale
space, with the advantage of integrating small scale
precision positioning points with large-scale eliminating
the false points and retaining the true points. Specific
steps of multi scale Harris corner detection are as follows
(a) The scale space expression of Harris operator. The
corner measurement of different scales and scale change
are in accordance with the standard deviation o
i
= 0.5 : 5
of the Gaussian window, step length is 0.5, namely i =
1:10 , the calculation of the following formula forms the
matrix M of different scales
2 2
( ) ( ) ( )
x i i
I
I G
x
= -------------- (1)
2 2
( ) ( ) ( )
y i i
I
I G
y
= ---------------- (2)
2
( ) ( ) ( . )
xy i i
I I
I G
x y
= ------------- (3)
2
2
( ) ( )
( )
( ) ( )
x i xy i
i
xy i y i
I I
M
I I
| |
=
|
|
\ .
------------ (4)
Where, is the first derivative in the x direction, is
the first order derivative in the y direction, G(o) is
Gaussian function, M(o
i
) is matrix M in the scale o
i.
Corner response function is calculated in the scale
2
: ( ) det( ( )) 0.04*( ( ( )))
i i i i
R M trace M = -
---------- (5)
(b) For each scale, the response points of local maximum
are obtained by using non-maxima suppression method in
the same window of Gaussian kernel size. The former
C
num
is selected as candidate corner according to
descending order same window of Gaussian kernel size. If
the minimum scale point is only included in the window,
I nt ernat i onal Journal of E mergi ng Trends & Technol ogy i n Comput er Sci ence (I JE TTCS)
Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com
Volume 1, Issue 4, November December 2012 ISSN 2278-6856
Vol ume 1 , I ssue 4 November - December 2 0 1 2 Page 9 9
the point is deleted. Thus the point can be ensured to
achieve in the scale as small as possible, the positioning
accuracy is further improved, the information point in
large scale is still retained, meanwhile, deleting false
corner in small scale [1].
c) Sub-pixel accurate positioning of point. The process
can be accomplished by Taylor expansion of space scale
function D(x, y,o) in the local extreme point (x
0
, y
0
,o).
The multi-scale Harris corner detection method can
acquire corner information in a number of scales, corner
quantity is reasonable, the threshold in each scale neednt
be manually set, thus, reducing the threshold constraints
on the corner detection, realizing corner accurate
positioning in the small scale and ensuring the false
corner eliminated and the true corner retained in the large
scale[9].
Set
1
and
2
as the two eigen values of M.
1
and
2
are
the rotation invariants of M, and proportional to the
principal curvatures of the local autocorrelation function.
At this point, the flat areas, corners and edges can be
judged by the value feature of
1
and
2,
' there are three
conditions:
(1) Both of two curvatures are small, there implies a flat
area;
(2) One is large, the other is small. It suggests that the
partial autocorrelation function is ridge-like, the change
along the ridge is little, while the change perpendicular to
the ridge is great, there implies an edge.
(3) Both of the curvatures are large. There implies a peak,
and the change along any direction is very intense,
indicates the current point is a corner.
Modified Harris corner detection include following steps:
Step I: Operate each pixel on an image, find out the new
calculated value of the matrix M, and estimate the comer
score of the corresponding pixel.
Step 2: Partition the image into a fixed-number of blocks,
detect the comers for each image block, then store and
sort the detected comer score in the array Max[S] (S is the
number of comer points).
Step 3: Select the top-n comer points in Max[S] as the
candidate comer points. In order to ensure that all sub-
blocks have reserved comers, here a special policy is used
to control the iteration. First, an initial value of k is
selected from range[0, I]. Then, using k=k+s (s is a step
length) to iterate until k=l, and determine whether every
image block has comer points or not. Finally, remove the
adjacent comers for the entire image.
3.2 Affine transformation parameter estimation
After determining the registration points, it needs to fit
the six best parameters of affine transformation using
least square method. Assuming the selected control points
sequence in reference image is (x
1
, y
1
), (x
2
, y
2
), (x
n
, y
n
),
(x
1
,y
1
) , (X
2
, y
2
,) ,., (x
n
, y
n
) is the sequence that of the
unregistered image. If is used to represent the matrix, the
least squares solution of six parameter of affine
transformation is described as follows,
00 10
01 11
[ 1, 2,.... ] , [ 1, 2,..... ]
T T
x t
a a
a P x x xn a P y y yn
a t
+ +
| | | |
| |
= =
| |
| |
\ . \ .
Where, the P
+
is the generalized inverse matrix of the P
[1].
3.3 Resampling
After determining the transformation parameters, the
registration image needs to be re-sampled. There are two
models for re-sampling, one is the direct sampling, and
the other is the indirect sampling.
Figure 2 Direct and indirect re-sampling diagram
As the computer raster image is discrete, if using the
direct re-sampling model, there is no way to guarantee
that the pixels of original image can just be mapped to the
matching pixels of the registered image, therefore we
exploit the indirect re-sampling model. In other words, it
starts from the registered image to find a corresponding
position on the original image, and then estimates the
gray value of current position by interpolating the gray
value of the current neighborhood, and finally reassigns
the obtained gray value to the position locates in the
registered image[1].
4. ALLORITHM USED
Step I: Images are taken for demonstration.
StepII: Feature detection algorithm is applied on images
[1]. There are various feature detection algorithms but in
this work of image registration, Harris Corner Detection
method has been used. This method has following
characteristics:
(a) Harris Operator has been proved to be one of the best
corner detection algorithms [2].
(b)The method extracts point features by the first order
image gradient.
(c) It calculates square matrix of the average gradient of
each pixel.
(d)Then the feature points are extracted by analyzing the
values.
Step III: Calculation of transformation parameters is done
in this step: Various affine transformation parameters can
be calculated by the coordinates of control points.
StepIV: Affine Transformation is applied: In this step,
affine transformation is applied to the part of the image.
Step V: Resampling- After determining the
transformation parameters, the registration image needs
to be re- sampled [2].
Step VI: Output the final registered image.
I nt ernat i onal Journal of E mergi ng Trends & Technol ogy i n Comput er Sci ence (I JE TTCS)
Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com
Volume 1, Issue 4, November December 2012 ISSN 2278-6856
Vol ume 1 , I ssue 4 November - December 2 0 1 2 Page 1 0 0
5. RESULT
Figure 3 Input image
Figure 4 Reference image
Figure 5 Registered image
Table1: Index Values of above registration experiment
INDE
X
RMSE ENTROP
Y
SD QUALI
TY
Aeria
l
Image
0.2577
2
15.4289 54.798
1
1.0854
6. CONCLUSION
On this basis, to solve the research problems, comer
detection method based on Harris model is proposed and
applied for automatic Image registration. This method
effectively eliminate features points that have false
correspondence, thus the comer points detected distribute
more reasonably, and the image registration become
faster. The experiments also showed the effect of image
registration is Satisfactory.
The results show that aerial images and satellite images
achieve a very good automatic registration by adopting
affine transformation. Compared with the traditional
image registration methods, it is simple, low
computational complexity, no manual operation under
optimal parameters conditions, stable and reliable.
In future modified methods of feature detection will be
implemented.
REFERENCES
[1] Yijian Pei, Hao Wu, Jiang Yu, and Guanghui Cai,
Effective image registration based on improved
harris corner detection, IEEE International
Conference on Information, Networking and
Automation (ICINA) ,Volume.1, pp. V1-93 - V1-96,
2010.
[2] J.B. Ryu, C.-G. Lee and H.-H. Park, Formula for
Harris corner detector, IEEE electronic letters,
Volume.47, No. 3, 3rd February 2011.
[3] J.B. Ryu, H.-H. Park and J. Park, Corner
classification using Harris algorithm, IEEE
electronic letters, Volume.47, No. 9 , 28th April
2011.
[4] Hui Lin, Peijun Du, Weichang Zhao, Lianpeng
Zhang and Huasheng Sun, Image registration based
on corner detection and affine transformation, IEEE
International Congress on Image and Signal
Processing , Volume.5, pp. 2184 - 2188 ,2010.
[5] J. Salvi, e. Matabosch, D. Fofi, and J. Forest, "A
review of recent range image registration methods
with accuracy evaluation," Image and Vision
Computing, Vo1ume.25, No.5, 2007, pp.578-596,
doi: 10. 1 016/j.imavis.2006.05.012.
[6]Barbara Zitova and Jan Flusser, Image registration
methods: a survey, International Journals of Image
and Vision Computing, pp. 9771000, 2003.
[7]F. Bellavia D. Tegolo C. Valenti, Improving Harris
corner selection strategy, IET Comput. Vis., 2011,
Volume.5, Issue. 2, pp. 8796.
[8]Edward Rosten, Reid Porter, and Tom Drummond,
Faster and Better: A Machine Learning Approach to
Corner Detection, IEEE transactions on pattern
analysis and machine intelligence, Volume. 32, No.
1, January 2010.
[9]Medha V. Wyawahare, Dr. Pradeep M. Patil,
Hemant and K. Abhyankar, Image Registration
Techniques: An overview, International Journal of
Signal Processing, Image Processing and Pattern
Recognition, Volume. 2, No.3, September 2009.
[10]Pratt, W.K. Correlation Techniques of Image
Registration, IEEE Journals & Magazines,
Volume:AES-10, Issue.3 , pp. 353 358,1974.
Rajvinder Kaur, born in 1986, received
her B.Eng. honours degree in Computer
Science in 2004 from Kurkshetra
University, and pursuing M.Tech degree
from NITTTR Chandigarh. Currently she
is working as Assistant Professor in CSE
department at SPGC Lalru.