de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE
Class LevelsetSolveNonPDE.LevelsetIteratorContourPoints

java.lang.Object
  extended by de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.LevelsetSolveNonPDE.LevelsetIterator
      extended by 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.


Field Summary
(package private)  java.util.Vector<LevelsetSolveNonPDE.CoordInt3D> ctrPoints
           
(package private)  int n
           
(package private)  byte[] nbPhases
           
 
Constructor Summary
LevelsetSolveNonPDE.LevelsetIteratorContourPoints()
           
 
Method Summary
 boolean hasNext()
           
 LevelsetSolveNonPDE.CoordInt3D next()
           
 
Methods inherited from class de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.LevelsetSolveNonPDE.LevelsetIterator
remove
 
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
 

Field Detail

ctrPoints

java.util.Vector<LevelsetSolveNonPDE.CoordInt3D> ctrPoints

n

int n

nbPhases

byte[] nbPhases
Constructor Detail

LevelsetSolveNonPDE.LevelsetIteratorContourPoints

LevelsetSolveNonPDE.LevelsetIteratorContourPoints()
Method Detail

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>