Typo fix: CV.rabCutClasses to CV.grabCutClasses

pull/18310/head
Shubham Dhumal 4 years ago committed by GitHub
parent 1604ea3b27
commit f787c73841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      doc/js_tutorials/js_imgproc/js_grabcut/js_grabcut.markdown

@ -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…
Cancel
Save