-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Labels
category: photoincompleteneeds reproducerProvide complete minimal reproducer with input dataProvide complete minimal reproducer with input data
Description
Detailed description
In inpaint.cpp, from line 649 to line 656 in icvNSInpaintFMM, I think all of the "lm"s may be "l - 1", because when calculating gradient in vertical direction, it doesn't matter whether it is the first column in the source image. When l = 1, lm = 1, the positions of mask CV_MAT_ELEM(*f,uchar,k+1,l) (line 647) and CV_MAT_ELEM(*f,uchar,k-1,l) (line 648) are not correspond to CV_MAT_ELEM(*out,data_type,kp+1,lm) (line 649) and
CV_MAT_ELEM(*out,data_type,km-1,lm) (line 650).
From line 663 to line 670, all of the "km"s may be "k - 1" and so on.
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category: photoincompleteneeds reproducerProvide complete minimal reproducer with input dataProvide complete minimal reproducer with input data