Module: tfg.image.matting
Stay organized with collections
Save and categorize content based on your preferences.
This module implements image matting functionalities.
Functions
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.