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 :)
Hi!
In https://github.com/MarcoForte/closed-form-matting/blob/master/closed_form_matting/closed_form_matting.py#L82
cv2.dilateis applied to the mask, while inmatting.tar.gzis appliedimerodeIf I understand correctlu,
imerodeis 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 :)