Ask Your Question
0

drawmatches

asked 2014-01-24 13:05:04 -0600

batman gravatar image

atches function how to avoid that lines

how to avoid that lines between matches in surf...i just want rectangle on matched area of image with another not all lines i mean in drawMatches function how to avoid lines

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-01-24 18:40:39 -0600

unxnut gravatar image

Just do not use the drawmatches function. Comment it out and you will not have it. One way to draw the rectangle will be to take the maximum and minimum x and y values of all the matched points and use those to drawn a rectangle. You could also take the centroid of all the matched points and draw a rectangle around that, just to show where the object was found.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-01-24 13:05:04 -0600

Seen: 189 times

Last updated: Jan 24 '14