Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
Closed
Labels
Milestone
Description
In this source code/modules/imgproc/src/phasecorr.cpp,
I think std::sqrt should be applied to the below lines.
heredataDst[0] = dataSrc[0]*dataSrc[0];
heredataDst[(rows-1)*stepDst] = dataSrc[(rows-1)*stepSrc]*dataSrc[(rows-1)*stepSrc];
heredataDst[0] = dataSrc[0]*dataSrc[0];
heredataDst[j1] = dataSrc[j1]*dataSrc[j1];
heredataDst[0] = dataSrc[0]*dataSrc[0];
heredataDst[(rows-1)*stepDst] = dataSrc[(rows-1)*stepSrc]*dataSrc[(rows-1)*stepSrc];
heredataDst[0] = dataSrc[0]*dataSrc[0];
heredataDst[j1] = dataSrc[j1]*dataSrc[j1];