Ask Your Question
0

Features and matches on buildings

asked 2013-01-22 06:33:09 -0600

Rakefetmoor gravatar image

Hi, I am using SURF with the default parameter to detect features in two images of urban area. Those images were taken with the same camera in different view angles. I plot the images with the key points and I see that the keypoints are on the ground as well as on the building tops. When I match the features between the two images with brute force matcher that picks the two near neighboars and use the ratio test of 0.7 threshold as well as the symmetry test, all the matches that left are on the ground. I loosed the constrain and I am getting more outliers but still all the matches points are on the ground. Do you have any suggestions why this is happening? I am interested to have matching points on the roof tops of the buildings and I am wondering if the parameter choice prompt the matches to be on a flat area. I'll appretiate any feedback.

edit retag flag offensive close merge delete

Comments

1

Some example images might be helpful.

Ben gravatar imageBen ( 2013-01-22 07:56:06 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-01-24 03:40:42 -0600

Geppertm gravatar image

Surf is looking for eye-catching points. This occurs inter alia by the contrast between the umligenden pixels. I think your buildings have very few of these points.

Here are some Tips:

  • Use Grayscale Images (ore cast them to Grayscale)
  • Sharp them (Sharp Image = Original Image - Gausian(Original Image))

Maybe you can try a Sobel and add it to the sharpened Images. I think that would give you more matching Keypoints at the roof area and on the buildings.

You should also use a dynamic threshold for matching!. Like:

if((matches2[i][0].distance < 0.56*(matches2[i][1].distance)) && ((int) matches2[i].size()<=2 && (int) matches2[i].size()>0))

You could also try a KNN-Matcher instead of a BF-Matcher.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-22 06:33:09 -0600

Seen: 650 times

Last updated: Jan 24 '13