de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE
Class LevelsetSolveNonPDE.LevelsetIteratorContourPoints
java.lang.Object
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.LevelsetSolveNonPDE.LevelsetIterator
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.LevelsetSolveNonPDE.LevelsetIteratorContourPoints
- All Implemented Interfaces:
- java.util.Iterator<LevelsetSolveNonPDE.CoordInt3D>
- Enclosing class:
- LevelsetSolveNonPDE
private class LevelsetSolveNonPDE.LevelsetIteratorContourPoints
- extends LevelsetSolveNonPDE.LevelsetIterator
- implements java.util.Iterator<LevelsetSolveNonPDE.CoordInt3D>
Iterator for all contour pixels/voxels of the level set function
excluding invalid pixels/voxels.
Note: it is decided at the time of the instantiation of an iterator
whether a pixel/voxel is a contour pixels/voxels, i.e. according to the current state
of the level set function,
The 4 neighborhood is used, e.g. a pixel/voxel is consider a contour pixel, if
it has a 4 neighbor with a different phase.
Note: currently only for 2D level set functions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Iterator |
remove |
ctrPoints
java.util.Vector<LevelsetSolveNonPDE.CoordInt3D> ctrPoints
n
int n
nbPhases
byte[] nbPhases
LevelsetSolveNonPDE.LevelsetIteratorContourPoints
LevelsetSolveNonPDE.LevelsetIteratorContourPoints()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<LevelsetSolveNonPDE.CoordInt3D>
next
public LevelsetSolveNonPDE.CoordInt3D next()
- Specified by:
next
in interface java.util.Iterator<LevelsetSolveNonPDE.CoordInt3D>