8000 Point graphic gives strange masks · Issue #1558 · nion-software/nionswift · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Point graphic gives strange masks #1558
Open
@KRLango

Description

@KRLango

When the point graphic is used the masks can often have several adjacent pixels included seemingly at random. Looking at the code, this is due to it using an elliptical mask with diameter 1.2 pixels centered on the point.

Would a 1 pixel x 1 pixel rectangle mask be a better choice? In most cases it would only include the pixel that the point is directly over, when the point is directly over the boundary between 2 pixels, both would be selected, and when directly over the vertex between 4 pixels, all 4 would be selected. This seems like more intuitive behaviour than what happens with the ellipse.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0