Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mask dilation #25

Open
vadimkantorov opened this issue Sep 13, 2023 · 0 comments
Open

Mask dilation #25

vadimkantorov opened this issue Sep 13, 2023 · 0 comments

Comments

@vadimkantorov
Copy link

vadimkantorov commented Sep 13, 2023

Hi!

In https://github.com/MarcoForte/closed-form-matting/blob/master/closed_form_matting/closed_form_matting.py#L82 cv2.dilate is applied to the mask, while in matting.tar.gz is applied imerode

If I understand correctlu, imerode is the opposite of imdilate (https://docs.opencv.org/3.4/db/df6/tutorial_erosion_dilatation.html). Any hints on why this preproc op was reversed in your repro?

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant