Save the date! Google I/O returns May 18-20 Register now

Module: tfg.image.matting

This module implements image matting functionalities.


build_matrices(...): Generates the closed form matting Laplacian.

linear_coefficients(...): Computes the matting linear coefficients.

loss(...): Computes the matting loss function based on the matting Laplacian.

reconstruct(...): Reconstruct the matte from the image using the linear coefficients.