mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 19:59:08 +08:00
Merge pull request #18310 from ShadyD45:patch-1
This commit is contained in:
commit
7d832337ae
@ -59,7 +59,7 @@ Demo
|
||||
We use the function: **cv.grabCut (image, mask, rect, bgdModel, fgdModel, iterCount, mode = cv.GC_EVAL)**
|
||||
|
||||
@param image input 8-bit 3-channel image.
|
||||
@param mask input/output 8-bit single-channel mask. The mask is initialized by the function when mode is set to GC_INIT_WITH_RECT. Its elements may have one of the cv.rabCutClasses.
|
||||
@param mask input/output 8-bit single-channel mask. The mask is initialized by the function when mode is set to GC_INIT_WITH_RECT. Its elements may have one of the cv.grabCutClasses.
|
||||
@param rect ROI containing a segmented object. The pixels outside of the ROI are marked as "obvious background". The parameter is only used when mode==GC_INIT_WITH_RECT.
|
||||
@param bgdModel temporary array for the background model. Do not modify it while you are processing the same image.
|
||||
@param fgdModel temporary arrays for the foreground model. Do not modify it while you are processing the same image.
|
||||
@ -73,4 +73,4 @@ Try it
|
||||
<iframe src="../../js_grabcut_grabCut.html" width="100%"
|
||||
onload="this.style.height=this.contentDocument.body.scrollHeight +'px';">
|
||||
</iframe>
|
||||
\endhtmlonly
|
||||
\endhtmlonly
|
||||
|
Loading…
Reference in New Issue
Block a user