MarcoForte / closed-form-matting

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
MIT License
435 stars 107 forks source link

If the function "compute_laplacian()" equals to cv2.Laplacian()? #23

Closed Cassieyy closed 3 years ago

Cassieyy commented 3 years ago

Thanks for your brilliant work!!! I wanna know the function compute_laplacian equals to cv2.Laplacian() in OpenCV? Looking forward to your reply!!!

MarcoForte commented 3 years ago

Thank you for your kind words.

The cv2.laplacian computes a different function, a kind of edge detector. https://docs.opencv.org/3.4/d5/db5/tutorial_laplace_operator.html