Unverified Commit 88c4ed01 authored by sunitanyk's avatar sunitanyk Committed by GitHub
Browse files

Computer Vision based Alpha Matting (#2306)

* Computer Vision based Alpha Matting Code

alpha matting code

This is a combination of 3 commits.

removed whitespaces

addressed issues raised in the PR

removed whitespaces

* removed global variable

* incorporated changes suggested by second round of review

* updated build instructions

* changed to OutputArray

* removed whitespaces

* alphamat: fix bugs triggered by assertions of Debug builds

* alphamat: fix documentation

* alphamat: coding style fixes

- get rid of std::cout
- remove clock_t
- drop unnecessary cast: float pix = tmap.at<uchar>(i, j);
- global 'dim' => 'ALPHAMAT_DIM'
- fix sample command line handling

* alphamat: apply clang-format

* clang-format fixups
parent bf0075a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment