- java.lang.Object
-
- org.scijava.ops.image.geom.geom3d.DefaultVoxelization3D
-
- All Implemented Interfaces:
Functions.Arity4<net.imglib2.mesh.Mesh,Integer,Integer,Integer,RandomAccessibleInterval<BitType>>
public class DefaultVoxelization3D extends Object implements Functions.Arity4<net.imglib2.mesh.Mesh,Integer,Integer,Integer,RandomAccessibleInterval<BitType>>
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
- Author:
- Kyle Harrington (University of Idaho)
- Implementation Note:
- op names='geom.voxelization'
-
-
Constructor Summary
Constructors Constructor Description DefaultVoxelization3D()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomAccessibleInterval<BitType>apply(net.imglib2.mesh.Mesh input, Integer width, Integer height, Integer depth)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.scijava.function.Functions.Arity4
andThen
-
-
-
-
Method Detail
-
apply
public RandomAccessibleInterval<BitType> apply(net.imglib2.mesh.Mesh input, Integer width, Integer height, Integer depth)
TODO- Specified by:
applyin interfaceFunctions.Arity4<net.imglib2.mesh.Mesh,Integer,Integer,Integer,RandomAccessibleInterval<BitType>>- Parameters:
input- the inputMeshwidth-height-depth-- Returns:
- the voxelization of
input
-
-