Skip to content

Bug in createOcTreeFromImage? #1

@lruthotto

Description

@lruthotto

try if this works for you!

using JOcTree
n     = [16;16;16];
Img   = zeros(UInt8,tuple(n...));
Img[9:11,8:10,6:12] = 1;
tol   = .001;
S     = createOcTreeFromImage(Img,tol)

for me it does not. there are two issues. first Mesh.sparse3 does not exist. second, getindex does not seem to work with UInt's. For a fix see my forked version. Feel free to pull that over if you like it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions