Smorodov / LogPolarFFTTemplateMatcher

OpenCV Fourier-Mellin algorithm implementation.
MIT License
169 stars 45 forks source link

Why are you canny edge detection before POC? #6

Open bemoregt opened 5 years ago

bemoregt commented 5 years ago

Hi, @Smorodov @proto3

Why are you canny edge detection before POC?

for Speed up? or for binary image?

The POC is possible for gratscale image. and grayscale image have more data for correlation than binary image.

So, I tried removing canny operation in your code for more accurate correlation. But not works. Black result image only shown.

Why this haapen? What's wrong to me?

Thanks. @bemoregt.

Smorodov commented 5 years ago

Hi, it seems works fine for me: https://drive.google.com/open?id=1aTydRL0VC0l7CK1QfQwxhlZaW47otoBg There canny turned off in attached project.

I tested on cat image. With canny it works more robust on my experience. It likes strong edges.

bemoregt commented 5 years ago

HI, @Smorodov @proto3

Thanks a lot. I'll try that, and report.

Best, @bemoregt