Skip to content

"Find Blobs" doesn't expose convexity or inertia parameters #880

Open
@fixermark

Description

@fixermark

The "Find Blobs" operation lacks attachment for convexity or inertia parameters, and therefore uses the defaults from OpenCV (filterByInertia=true, minInertiaRatio=0.1f, maxInertiaRatio = MAX_FLOAT ; filterByConvexity = true; minConvexity = 0.95f; maxConvexity= MAX_FLOAT). As a result, the blob detector is biased for very smooth, closed blobs, making shapes like the attached very difficult to detect.

Exposing these options would make it easier to tune for oddly-shaped shapes.

nocontour

Activity

JLLeitschuh

JLLeitschuh commented on Jan 23, 2018

@JLLeitschuh
Member

Would you be willing to open a PR with this change. I think you can add it to the bottom of the list of parameters without breaking the backwards compatibility of the save files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @fixermark@JLLeitschuh

      Issue actions

        "Find Blobs" doesn't expose convexity or inertia parameters · Issue #880 · WPIRoboticsProjects/GRIP