|
|
@ -235,7 +235,6 @@ static void gradientHist(const cv::Mat &src, cv::Mat &magnitude, cv::Mat &histog |
|
|
|
magnitude /= imsmooth( magnitude, gnrmRad ) |
|
|
|
magnitude /= imsmooth( magnitude, gnrmRad ) |
|
|
|
+ 0.01*cv::Mat::ones( magnitude.size(), magnitude.type() ); |
|
|
|
+ 0.01*cv::Mat::ones( magnitude.size(), magnitude.type() ); |
|
|
|
|
|
|
|
|
|
|
|
int pHistSize = histogram.cols*histogram.channels() - 1; |
|
|
|
|
|
|
|
for (int i = 0; i < phase.rows; ++i) |
|
|
|
for (int i = 0; i < phase.rows; ++i) |
|
|
|
{ |
|
|
|
{ |
|
|
|
const float *pPhase = phase.ptr<float>(i); |
|
|
|
const float *pPhase = phase.ptr<float>(i); |
|
|
|