Skip to content

Mask dilation #25

@vadimkantorov

Description

@vadimkantorov

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions