Skip to content

Commit 224931f

Browse files
authored
Merge pull request #5 from alexandrainst/4-implement-the-3d-version
4 implement the 3d version
2 parents 7e16927 + 2d790f0 commit 224931f

File tree

8 files changed

+1376
-324
lines changed

8 files changed

+1376
-324
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SN-Graph: a graph skeletonisation algorithm.
22

3-
A Python implementation of an SN-Graph skeletonisation algorithm. Based on the article *SN-Graph: a Minimalist 3D Object Representation for Classification* [arXiv:2105.14784](https://arxiv.org/abs/2105.14784). Currently works only for 2D images.
3+
A Python implementation of an SN-Graph skeletonisation algorithm. Based on the article *SN-Graph: a Minimalist 3D Object Representation for Classification* [arXiv:2105.14784](https://arxiv.org/abs/2105.14784).
44

55

66
![Example of a binary image and the skeletal graph](/assets/horse_graph.png "SN-graph generated out of an scikit-image's horse image.")
@@ -25,7 +25,7 @@ img = np.zeros((100, 100))
2525
img[40:60, 40:60] = 1 # Create a square region
2626

2727
# Generate the SN graph
28-
centers, edges = sn.create_SN_graph(
28+
centers, edges = sn.create_sn_graph(
2929
img,
3030
max_num_vertices=10,
3131
edge_threshold=1.0

0 commit comments

Comments
 (0)