closed-form-matting icon indicating copy to clipboard operation
closed-form-matting copied to clipboard

Python implementation of A. Levin D. Lischinski and Y. Weiss. A Closed Form Solution to Natural Image Matting. IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), June 2006, New York

Results 2 closed-form-matting issues
Sort by recently updated
recently updated
newest added

Hi! In https://github.com/MarcoForte/closed-form-matting/blob/master/closed_form_matting/closed_form_matting.py#L82 `cv2.dilate` is applied to the mask, while in `matting.tar.gz` is applied `imerode` If I understand correctlu, `imerode` is the opposite of `imdilate` (https://docs.opencv.org/3.4/db/df6/tutorial_erosion_dilatation.html). Any hints on why...

Hi Marco! Really interesting repo, would like to try it using trimaps. Unfortunately, when following your instructions I get an unclear error on your basic test: > INFO:root:Computing Matting Laplacian....