Skip to content

Commit a385fff

Browse files
committed
imgproc: clarify usage of the mask in floodfill
1 parent 21c8e6d commit a385fff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/imgproc/include/opencv2/imgproc.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3571,7 +3571,8 @@ taller than image. Since this is both an input and output parameter, you must ta
35713571
of initializing it. Flood-filling cannot go across non-zero pixels in the input mask. For example,
35723572
an edge detector output can be used as a mask to stop filling at edges. On output, pixels in the
35733573
mask corresponding to filled pixels in the image are set to 1 or to the a value specified in flags
3574-
as described below. It is therefore possible to use the same mask in multiple calls to the function
3574+
as described below. Additionally, the function fills the border of the mask with ones to simplify
3575+
internal processing. It is therefore possible to use the same mask in multiple calls to the function
35753576
to make sure the filled areas do not overlap.
35763577
@param seedPoint Starting point.
35773578
@param newVal New value of the repainted domain pixels.

0 commit comments

Comments
 (0)