Open vadimkantorov opened 11 months ago
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
cv2.dilate
matting.tar.gz
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?
imdilate
Thanks :)
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 :)