Skip to content

Commit

Permalink
feat: expose connectivity parameter in
Browse files Browse the repository at this point in the history
roll_invalidation_ball_inside_component
  • Loading branch information
william-silversmith committed May 22, 2024
1 parent ace2a39 commit 4430633
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ext/skeletontricks/skeletontricks.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ def roll_invalidation_ball_inside_component(
anisotropy,
path,
voxel_connectivity_graph = None,
connectivity = 26,
):
cdef int64_t sx, sy, sz
sx = labels.shape[0]
Expand All @@ -395,9 +396,7 @@ def roll_invalidation_ball_inside_component(
path = [
coord[0] + sx * coord[1] + sxy * coord[2]
for coord in path if tuple(coord)
]

connectivity = 26
]

cdef uint32_t* vcg = NULL
cdef cnp.ndarray[uint32_t, ndim=3] vcg_arr
Expand Down

0 comments on commit 4430633

Please sign in to comment.