Skip to content

Commit cc021e5

Browse files
committed
Merge pull request opencv#8982 from catree:morphologyEx_iterations_doc
2 parents 51e16bb + a084501 commit cc021e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/imgproc/include/opencv2/imgproc.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2181,6 +2181,9 @@ kernel center.
21812181
@param borderValue Border value in case of a constant border. The default value has a special
21822182
meaning.
21832183
@sa dilate, erode, getStructuringElement
2184+
@note The number of iterations is the number of times erosion or dilatation operation will be applied.
2185+
For instance, an opening operation (#MORPH_OPEN) with two iterations is equivalent to apply
2186+
successively: erode -> erode -> dilate -> dilate (and not erode -> dilate -> erode -> dilate).
21842187
*/
21852188
CV_EXPORTS_W void morphologyEx( InputArray src, OutputArray dst,
21862189
int op, InputArray kernel,

0 commit comments

Comments
 (0)