|
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 |
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.
|
protected |
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.
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::ClusterAlgorithm().
|
virtual |
Default virtual destructor.
|
protected |
Releases memory of input image slices.
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::calcClustersForSlices().
|
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.
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::calcClustersForSlices().
|
protected |
Gets next image data.
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::calcClustersForSlices().
|
protected |
Merges a cluster reference currClusterRef for position (x,y,z).
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::updateClusterRefForNeighbor().
|
protected |
Sets voxel type of input slices.
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::calcClustersForSlices().
|
inlineprotected |
Sets internal result flag to result.
Definition at line 186 of file mlClusterAlgorithm.h.
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::calcClustersForSlices().
|
protected |
Sets next image data, expects the data to be managed by memory manager.
|
friend |
Definition at line 205 of file mlClusterAlgorithm.h.
References ClusterHandler.
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::calcClustersForSlices(), and ClusterHandler.
|
protected |
Result clusters.
Definition at line 189 of file mlClusterAlgorithm.h.
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::calcClustersForSlices(), and ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::processSlice().
|
protected |
do not load the whole image into memory, only keep two slices at once
Definition at line 192 of file mlClusterAlgorithm.h.
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::calcClustersForSlices(), and ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::processSlice().
|
protected |
Definition at line 194 of file mlClusterAlgorithm.h.
Referenced by ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::calcClustersForSlices(), ml::SimilarIntensitiesClusterAlgorithm< DATATYPE >::isInTolerance(), ml::SimilarVectorDirectionsClusterAlgorithm::isInTolerance(), ml::ClusterVoxelType<, SimilarVectorDirectionsClusterAlgorithm >::processSlice(), and ml::SimilarVectorDirectionsClusterAlgorithm::runClustering().
| enum { ... } ml::ClusterAlgorithmBase::NumInImagesEnum |
We do not load the whole image into memory, only keep two slices at once.