public class DefaultVoxelization3D extends AbstractUnaryFunctionOp<Mesh,RandomAccessibleInterval<BitType>> implements Ops.Geometric.Voxelization
This is a voxelizer that produces a binary image with values filled in along the surface of the mesh.
Thanks to Tomas Möller for sharing his public domain code: http://fileadmin.cs.lth.se/cs/personal/tomas_akenine-moller/code/tribox.txt
SpecialOp.Flavor
NAME
Constructor and Description |
---|
DefaultVoxelization3D() |
Modifier and Type | Method and Description |
---|---|
RandomAccessibleInterval<BitType> |
calculate(Mesh input)
Calculates the output given some input.
|
in, out, run, setInput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, getIndependentInstance, run
run
candidates, filterArity, op
initialize
public RandomAccessibleInterval<BitType> calculate(Mesh input)
UnaryFunctionOp
calculate
in interface UnaryFunctionOp<Mesh,RandomAccessibleInterval<BitType>>
input
- Argument to the functionCopyright © 2014–2022 ImageJ. All rights reserved.