imagej / imagej-ops

ImageJ Ops: "Write once, run anywhere" image processing
https://imagej.net/libs/imagej-ops
BSD 2-Clause "Simplified" License
88 stars 42 forks source link

Add voxelization test and improve voxelization implementation #653

Open kephale opened 11 months ago

kephale commented 11 months ago

The previous version of voxelization could introduce holes in locations where triangles were axis aligned. This PR aims to resolve that and introduce a long needed voxelization test.

The idea here is that the previous version just tested if triangles intersect the center of any given voxel, now we test the corners of the voxel.

This was motivated by this Zulip thread.