Skip to content

Object links the object touched the image border will also be cleaned#1

Open
YichiWang wants to merge 1 commit into
masterfrom
YichiWang-patch-1
Open

Object links the object touched the image border will also be cleaned#1
YichiWang wants to merge 1 commit into
masterfrom
YichiWang-patch-1

Conversation

@YichiWang

Copy link
Copy Markdown
Owner

Objects touch the objects connected to the image border will also be cleared.
a = np.array([[0, 0, 0, 1, 0, 0],
[0, 2, 2, 0, 3, 0],
[0, 0, 0, 0, 0, 0],
[4, 5, 5, 0, 0, 0],
[0, 0, 0, 6, 6, 0],
[0, 0, 0, 7, 0, 0]])
5 and 6 will be merged with 4 and 7, respectively, after re-label. And will be treated as border-touched objects and cleared.

Add Line 63 and fixed line 64.

…leared

Objects touch the objects connected to the image border will also be cleared. 
a = np.array([[0, 0, 0, 1, 0, 0],
                      [0, 2, 2, 0, 3, 0],
                      [0, 0, 0, 0, 0, 0],
                      [4, 5, 5, 0, 0, 0],
                      [0, 0, 0, 6, 6, 0],
                      [0, 0, 0, 7, 0, 0]])
 5 and 6 will be merged with 4 and 7, respectively, after re-label. And will be treated as border-touched objects and cleared. 

Add Line 63 and fixed line 64.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant