Skip to content

why GetNeighboringLabels find far neighbor #1

@tbscer

Description

@tbscer

hi

in the function IEnumerable GetNeighboringLabels(Pixel pix)

for (int i = pix.Position.Y - 1; i <= pix.Position.Y + 2 && i < _height - 1; i++)

I am not sure why you used this 2 instead of 1, can you pls explain, and I tried with 1, it works too

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