#include <MorphologicalOperators.hpp>
Collaboration diagram for ImageNeighbors< ImageType, Inst >:

Public Member Functions | |
| bool | IsSafe (const Vect3Di &pos) | 
| void | MoveTo (const Vect3Di &pos) | 
| void | MoveBackwardsTo (const Vect3Di &pos) | 
| Im3DValue & | operator[] (int i) | 
| ImageNeighbors (ImageType &_image, const StructureElement &_sel) | |
Private Types | |
| typedef ImageType::value_type | Im3DValue | 
| typedef ImageType::iteratorFast | Iterator | 
Private Attributes | |
| ImageType & | image | 
| const StructureElement & | sel | 
| Im3DValue ** | iterators | 
| ImageType::iteratorXYZ | p | 
| uint | npts | 
| RectZone3Di | safezone | 
| int | lastY | 
| int | lastX | 
Two situations are distinguished, if all neighbors are inside image (safe) and if some neighbors are outside image (unsafe)
Definition at line 155 of file MorphologicalOperators.hpp.
      
  | 
  |||||
| 
 using this instead of iterators is an important speedup when compiling in debug, (no difference in optimized..) Definition at line 163 of file MorphologicalOperators.hpp.  | 
  
 1.4.2