| 
    MeVisLab Toolbox Reference
    
   | 
 
Interface class for clustering algorithms. More...
#include <mlClusterAlgorithm.h>
  
Public Member Functions | |
| ClusterAlgorithmBase (const ComputeClusterParameters ¶meters, Clusters *clusters) | |
| Constructor to be used.   | |
| virtual | ~ClusterAlgorithmBase () | 
| Default virtual destructor.   | |
| bool | hasResults () const | 
| Returns whether getCluster() and getClusterOfVoxel() contains cluster data.   | |
Protected Types | |
| enum | { _NR_OF_SUBIMAGES = 2 } | 
| We do not load the whole image into memory, only keep two slices at once.  More... | |
Protected Member Functions | |
| void | setInSliceVoxelType (MLDataType dt) | 
| Sets voxel type of input slices.   | |
| void | freeInSliceData () | 
| Releases memory of input image slices.   | |
| void | storeNextSlice (SubImage &slice) | 
| Sets next image data, expects the data to be managed by memory manager.   | |
| MLErrorCode | loadNextSlice (MLint sliceNr, const ImageVector &inImgExt) | 
| Gets next image data.   | |
| MLErrorCode | loadMaskSlice (TSubImage< MLint8 > &slice, MLint sliceNr, const ImageVector &inImgExt) const | 
| Gets current slice of the mask image.   | |
| MLuint | mergeClusterReference (MLint x, MLint y, MLint z, MLuint currClusterRef) | 
| Merges a cluster reference currClusterRef for position (x,y,z).   | |
| void | setResultFlag (bool result) | 
| Sets internal result flag to result.   | |
Protected Attributes | |
| enum ml::ClusterAlgorithmBase:: { ... } | NumInImagesEnum | 
| We do not load the whole image into memory, only keep two slices at once.   | |
| Clusters * | _clusters | 
| Result clusters.   | |
| SubImage | _currentSlices [_NR_OF_SUBIMAGES] | 
| do not load the whole image into memory, only keep two slices at once   | |
| ComputeClusterParameters | _parameters | 
Friends | |
| template<typename CLUSTERVOXELTYPE , typename DerivedAlgorithm > | |
| class | ClusterHandler | 
Interface class for clustering algorithms.
Definition at line 146 of file mlClusterAlgorithm.h.
We do not load the whole image into memory, only keep two slices at once.
| Enumerator | |
|---|---|
| _NR_OF_SUBIMAGES | |
Definition at line 165 of file mlClusterAlgorithm.h.
| ml::ClusterAlgorithmBase::ClusterAlgorithmBase | ( | const ComputeClusterParameters & | parameters, | 
| Clusters * | clusters ) | 
Constructor to be used.
      
  | 
  virtual | 
Default virtual destructor.
      
  | 
  protected | 
Releases memory of input image slices.
      
  | 
  inline | 
Returns whether getCluster() and getClusterOfVoxel() contains cluster data.
Definition at line 160 of file mlClusterAlgorithm.h.
      
  | 
  protected | 
Gets current slice of the mask image.
      
  | 
  protected | 
Gets next image data.
      
  | 
  protected | 
Merges a cluster reference currClusterRef for position (x,y,z).
      
  | 
  protected | 
Sets voxel type of input slices.
Sets internal result flag to result.
Definition at line 186 of file mlClusterAlgorithm.h.
References mlrange_cast().
Sets next image data, expects the data to be managed by memory manager.
      
  | 
  friend | 
Definition at line 205 of file mlClusterAlgorithm.h.
      
  | 
  protected | 
Result clusters.
Definition at line 189 of file mlClusterAlgorithm.h.
      
  | 
  protected | 
do not load the whole image into memory, only keep two slices at once
Definition at line 192 of file mlClusterAlgorithm.h.
      
  | 
  protected | 
Definition at line 194 of file mlClusterAlgorithm.h.
| enum { ... } ml::ClusterAlgorithmBase::NumInImagesEnum | 
We do not load the whole image into memory, only keep two slices at once.