- Allow CuPy input/output for
estimate_foreground_ml_cupy
.
- Fix uninitialized memory in
estimate_foreground_ml
. - Replace deprecated
np.bool8
withnp.bool_
.
- Introduce new tool to build documentation.
- Add Shared Matting.
- Add sanity check for image and trimap.
- Add
kernel
parameter forknn_laplacian
.
- Add
relative_discard_threshold
forichol
preconditioner.
- Switch back to
njit
because ahead-of-time compilation caused too many issues with installation.
- Add optimization for
estimate_alpha_cf
which should reduce computation time if most pixels in the trimap are known. - Allow sloppy trimaps.
- Recompile ahead-of-time-compiled modules if they are out of date.
- Add a gradient weighting term to
estimate_foreground_ml
.
- Compile on first import instead of during build to simplify PyPI upload process.
- Replace just-in-time compilation with ahead-of-time compilation for faster import times.