Package net.imglib2.mesh.alg
Class MeshConnectedComponents
- java.lang.Object
-
- net.imglib2.mesh.alg.MeshConnectedComponents
-
public class MeshConnectedComponents extends Object
Connected components algorithm for meshes.- Author:
- Jean-Yves Tinevez
-
-
Constructor Summary
Constructors Constructor Description MeshConnectedComponents()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Iterable<BufferMesh>iterable(Mesh mesh)static Iterator<BufferMesh>iterator(Mesh mesh)static intn(Mesh mesh)Returns the number of connected components in this mesh.
-
-
-
Method Detail
-
n
public static final int n(Mesh mesh)
Returns the number of connected components in this mesh.- Parameters:
mesh- the mesh.- Returns:
- the number of connected components.
-
iterator
public static Iterator<BufferMesh> iterator(Mesh mesh)
-
iterable
public static Iterable<BufferMesh> iterable(Mesh mesh)
-
-