phi-max / skeleton3d-matlab

MATLAB code to calculate the 3D skeleton of a binary volume using parallel medial axis thinning
BSD 2-Clause "Simplified" License
43 stars 17 forks source link

No Skeletonization for a Cube #4

Closed Foxelmanian closed 5 years ago

Foxelmanian commented 5 years ago

No Skeletonization for a Cube

1. Input: Cube of 4x4x4, 6x6x6, 8x8x8 ....

The cube was voxelized and padded with 1 empty voxel around them.

2. Experiment

Applying the Voxel Model to the skeletonization algorithm.

a) 5x5x5 Cube --> Result is a skeleton

b) 1x10x10 Plate --> Result is no skeleton (Wrong topology)

c) odd voxel length of the cube --> Result is no skeleton (Wrong topology)

3. Suggestion of handling of the bug:

Current algorithm:

Checks only the simple point condition (connectivity) during the sequential check.

Suggestion:

Check the euler characeristic during the sequential check aswell.

phi-max commented 5 years ago

Thank you!