Smorodov / LogPolarFFTTemplateMatcher

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

Problem when using high resolution. #15

Open TXYUU opened 2 years ago

TXYUU commented 2 years ago

Why it doesn‘t work when using a high resolution picture? It works very well using a 276x276 picture, the estimation of angle is accurate.But it doesn't work using a 6400x5376 picture.

Smorodov commented 2 years ago

As I remember, It uses rather small FFT image resolution. And algorithm works with it. Try to downscale image, do search, then upscale the resulted rotated rectangle. Or try to use larger FFT domain image by increasing angular resolution.