Skip to content

Commit 889e9c9

Browse files
committed
Update edge_drawing.cpp
1 parent 1192d7e commit 889e9c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: modules/ximgproc/src/edge_drawing.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -5955,6 +5955,7 @@ void EdgeDrawingImpl::MyRGB2LabFast()
59555955

59565956
void EdgeDrawingImpl::ComputeGradientMapByDiZenzo()
59575957
{
5958+
memset(gradImg, 0, sizeof(ushort) * width * height);
59585959
int max = 0;
59595960

59605961
for (int i = 1; i < height - 1; i++) {

0 commit comments

Comments
 (0)