OpenCV Grabcut Border Matting

Source: Internet
Author: User


Use Openc grabcut effect and paper effect difference is very big, actually OPENCV grabcut effect and graph cut effect is the same. The reason is that border mattting post-processing is not implemented in OPENCV

The complete grabcut should be:

Grabcut Count

The method first obtains a basic "hard Partition" by Interactive segmentation and then

A method for using Border matting on strips around a hard dividing boundary

Calculates the continuous value, obtains the ideal segmentation effect.


The reason why OpenCV did not achieve in border matting, the possible cause is the patent issue. See

http://www.google.com/patents/US7430339


Now it's time to find the method of using border matting to smooth the boundary of the segmentation and so on later processing

Found an implementation algorithm on the Internet robust matting, see http://www.juew.org/publication/mattingSurvey.pdf

It has an implementation on its home page, with the following effect






Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.