seung-lab / zmesh

Marching Cubes & Mesh Simplification on multi-label 3D images.
GNU General Public License v3.0
58 stars 8 forks source link

perf: don't make extra copies of the input data unnecessarily #23

Closed william-silversmith closed 2 years ago

william-silversmith commented 2 years ago

Use tricks to avoid calling flatten() and astype(copy=True) avoid changing the data type.

william-silversmith commented 2 years ago
image

(black) master, 512^3 (blue) this branch 512^3 (red) this branch 448^3 (green) master 448^3