Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
shenqq377 authored Aug 24, 2022
1 parent 7383621 commit a958b81
Show file tree
Hide file tree
Showing 11 changed files with 25,190 additions and 0 deletions.
12,246 changes: 12,246 additions & 0 deletions data/supervoxels/_ccomp.c

Large diffs are not rendered by default.

Binary file not shown.
8 changes: 8 additions & 0 deletions data/supervoxels/_ccomp.pxd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""Export fast union find in Cython"""
cimport numpy as cnp

ctypedef cnp.intp_t DTYPE_t

cdef DTYPE_t find_root(DTYPE_t *forest, DTYPE_t n) nogil
cdef void set_root(DTYPE_t *forest, DTYPE_t n, DTYPE_t root) nogil
cdef void join_trees(DTYPE_t *forest, DTYPE_t n, DTYPE_t m) nogil
Loading

0 comments on commit a958b81

Please sign in to comment.