-
Notifications
You must be signed in to change notification settings - Fork 106
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 inmatting.tar.gz
is appliedimerode
If I understand correctlu,
imerode
is the opposite ofimdilate
(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 :)
The text was updated successfully, but these errors were encountered: