#include <itkWatershedSegmentTable.h>
Inheritance diagram for itk::watershed::SegmentTable< TScalarType >:
[NOHEADER] | |
typedef SegmentTable | Self |
typedef DataObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TScalarType | ScalarType |
virtual const char * | GetNameOfClass () const |
Pointer | New () |
[NOHEADER] | |
typedef std::list< edge_pair_t > | edge_list_t |
typedef itk::hash_map< unsigned long, segment_t, itk::hash< unsigned long > > | HashMapType |
typedef HashMapType::iterator | Iterator |
typedef HashMapType::const_iterator | ConstIterator |
typedef HashMapType::value_type | ValueType |
typedef HashMapType::data_type | DataType |
bool | Add (unsigned long a, const segment_t &t) |
void | PruneEdgeLists (ScalarType maximum_saliency) |
Public Member Functions | |
void | Erase (const unsigned long a) |
void | Clear () |
bool | Empty () const |
void | SortEdgeLists () |
HashMapType::size_type | Size () const |
Iterator | Begin () |
Iterator | End () |
ConstIterator | Begin () const |
ConstIterator | End () const |
void | Copy (const Self &o) |
segment_t * | Lookup (const unsigned long a) |
const segment_t * | Lookup (const unsigned long a) const |
bool | IsEntry (const unsigned long a) const |
unsigned int | GetSegmentMemorySize () const |
void | SetMaximumDepth (ScalarType s) |
ScalarType | GetMaximumDepth () const |
Protected Member Functions | |
SegmentTable () | |
virtual | ~SegmentTable () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
HashMapType | m_HashMap |
ScalarType | m_MaximumDepth |
Definition at line 50 of file itkWatershedSegmentTable.h.
|
Structure for storing lists of adjacencies (edges) and their saliencies. Definition at line 99 of file itkWatershedSegmentTable.h. |
|
Define smart pointers for this object Reimplemented from itk::DataObject. Definition at line 57 of file itkWatershedSegmentTable.h. |
|
Structure for storing lists of adjacencies (edges) and their saliencies. Definition at line 101 of file itkWatershedSegmentTable.h. |
|
Structure for storing lists of adjacencies (edges) and their saliencies. Definition at line 86 of file itkWatershedSegmentTable.h. |
|
Define the container type for the table Definition at line 97 of file itkWatershedSegmentTable.h. |
|
Structure for storing lists of adjacencies (edges) and their saliencies. Definition at line 98 of file itkWatershedSegmentTable.h. |
|
Define smart pointers for this object Reimplemented from itk::DataObject. Definition at line 56 of file itkWatershedSegmentTable.h. |
|
Define smart pointers for this object Definition at line 58 of file itkWatershedSegmentTable.h. Referenced by itk::watershed::SegmentTable< TScalarType >::edge_pair_t::edge_pair_t(). |
|
Define smart pointers for this object Reimplemented from itk::DataObject. Definition at line 54 of file itkWatershedSegmentTable.h. Referenced by itk::watershed::SegmentTable< TScalarType >::SegmentTable(), and itk::watershed::SegmentTable< TScalarType >::SetMaximumDepth(). |
|
Define smart pointers for this object Reimplemented from itk::DataObject. Definition at line 55 of file itkWatershedSegmentTable.h. |
|
Structure for storing lists of adjacencies (edges) and their saliencies. Definition at line 100 of file itkWatershedSegmentTable.h. |
|
Definition at line 210 of file itkWatershedSegmentTable.h. References itk::watershed::SegmentTable< TScalarType >::Self. |
|
Definition at line 211 of file itkWatershedSegmentTable.h. |
|
Inserts a segment into the table |
|
Returns a const iterator pointing to the first element in the (unordered) table. Definition at line 175 of file itkWatershedSegmentTable.h. |
|
Returns an iterator pointing to the first element in the (unordered) table. Definition at line 167 of file itkWatershedSegmentTable.h. |
|
Removes all the entries in the table. Definition at line 146 of file itkWatershedSegmentTable.h. |
|
Copies the contents of another segment table into this segment table. This is really operator= in disguise, although superclass information is not copied. Definition at line 203 of file itkWatershedSegmentTable.h. |
|
Returns true if the table is empty and false if the table is not empty. Definition at line 151 of file itkWatershedSegmentTable.h. |
|
Returns a const iterator pointing to one element past the last element in the (unordered table). Definition at line 179 of file itkWatershedSegmentTable.h. |
|
Returns an iterator pointing to one element past the last element in the (unordered table). Definition at line 171 of file itkWatershedSegmentTable.h. |
|
Deletes an entry from the table. Definition at line 142 of file itkWatershedSegmentTable.h. |
|
Set/Get the maximum depth of image on which this segment table is based. (Should set really be calling modified? jc 11/16/01) Definition at line 196 of file itkWatershedSegmentTable.h. References itk::watershed::SegmentTable< TScalarType >::m_HashMap, and itk::watershed::SegmentTable< TScalarType >::m_MaximumDepth. |
|
Define smart pointers for this object Reimplemented from itk::DataObject. |
|
Convenience methods for debugging Definition at line 182 of file itkWatershedSegmentTable.h. |
|
Returns TRUE if the entry key is found in the table. FALSE if the key is not found in the table. Definition at line 134 of file itkWatershedSegmentTable.h. |
|
Lookup a segment in the table. Returns a const pointer to the entry. On failure, returns a null pointer. Definition at line 124 of file itkWatershedSegmentTable.h. |
|
Lookup a segment in the table. Returns a pointer to the entry. On failure, returns a null pointer. Definition at line 114 of file itkWatershedSegmentTable.h. |
|
Define smart pointers for this object Reimplemented from itk::Object. |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::DataObject. |
|
Iterates through the table and removes edges in every edge list whose saliencies are above the specified maximum. Requires that the edge lists have been sorted prior to calling this method. |
|
Set/Get the maximum depth of image on which this segment table is based. (Should set really be calling modified? jc 11/16/01) Definition at line 191 of file itkWatershedSegmentTable.h. References itk::watershed::SegmentTable< TScalarType >::Self. |
|
Returns the number of entries in the table. Definition at line 159 of file itkWatershedSegmentTable.h. |
|
Sorts all the entries in the edge lists from least to greatest saliency. |
|
Definition at line 214 of file itkWatershedSegmentTable.h. Referenced by itk::watershed::SegmentTable< TScalarType >::GetMaximumDepth(). |
|
Definition at line 215 of file itkWatershedSegmentTable.h. Referenced by itk::watershed::SegmentTable< TScalarType >::GetMaximumDepth(). |