Thanks for tuning in to Google I/O. View all sessions on demandWatch on demand

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.