Skip to content

Commit ab48ffd

Browse files
Warning fixed
1 parent 204e98e commit ab48ffd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/ximgproc/src/structured_edge_detection.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ static void gradientHist(const cv::Mat &src, cv::Mat &magnitude, cv::Mat &histog
235235
magnitude /= imsmooth( magnitude, gnrmRad )
236236
+ 0.01*cv::Mat::ones( magnitude.size(), magnitude.type() );
237237

238-
int pHistSize = histogram.cols*histogram.channels() - 1;
239238
for (int i = 0; i < phase.rows; ++i)
240239
{
241240
const float *pPhase = phase.ptr<float>(i);

0 commit comments

Comments
 (0)