Skip to content

Self-intersection issue when converting polygons to boxes #4

@nightrome

Description

@nightrome

I have been using this tool to annotate images.
Unfortunately the web-based tool differs significantly from the Matlab code in terms of how it converts polygons to pixel maps. The LMobjectmask function makes use of Matlab's poly2mask. This function does not allow self-intersection of objects and removes pixels that are covered twice by the same object. This is not the case for the web tool.

It would be very helpful if you could provide Matlab code that matches what the annotators see in the web tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions