Skip to content

Commit

Permalink
docs: add 8 connected to periodic boundary support
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Apr 9, 2024
1 parent 5b84be8 commit f4776e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ labels_out = cc3d.connected_components(labels_in) # 26-connected
connectivity = 6 # only 4,8 (2D) and 26, 18, and 6 (3D) are allowed
labels_out = cc3d.connected_components(labels_in, connectivity=connectivity)

# If you need the borders to wrap around (useful for simulations)
# If you need the borders to wrap around (e.g. for simulations, world maps)
# specify periodic_boundary=True, currently only supported for
# 4 (2d) and 6 (3d) connectivities.
# 4 and 8 (2d) and 6 (3d) connectivities.
labels_out = cc3d.connected_components(
labels_in, connectivity=connectivity, periodic_boundary=True
)
Expand Down

0 comments on commit f4776e2

Please sign in to comment.