Interface class for clustering algorithms.
More...
#include <mlClusterAlgorithm.h>
|
template<typename CLUSTERVOXELTYPE , typename DerivedAlgorithm > |
class | ClusterHandler |
|
Interface class for clustering algorithms.
Definition at line 146 of file mlClusterAlgorithm.h.
◆ anonymous enum
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.
◆ ClusterAlgorithmBase()
◆ ~ClusterAlgorithmBase()
virtual ml::ClusterAlgorithmBase::~ClusterAlgorithmBase |
( |
| ) |
|
|
virtual |
Default virtual destructor.
◆ freeInSliceData()
void ml::ClusterAlgorithmBase::freeInSliceData |
( |
| ) |
|
|
protected |
Releases memory of input image slices.
◆ hasResults()
bool ml::ClusterAlgorithmBase::hasResults |
( |
| ) |
const |
|
inline |
Returns whether getCluster() and getClusterOfVoxel() contains cluster data.
Definition at line 160 of file mlClusterAlgorithm.h.
◆ loadMaskSlice()
Gets current slice of the mask image.
◆ loadNextSlice()
◆ mergeClusterReference()
Merges a cluster reference currClusterRef for position (x,y,z).
◆ setInSliceVoxelType()
void ml::ClusterAlgorithmBase::setInSliceVoxelType |
( |
MLDataType |
dt | ) |
|
|
protected |
Sets voxel type of input slices.
◆ setResultFlag()
void ml::ClusterAlgorithmBase::setResultFlag |
( |
bool |
result | ) |
|
|
inlineprotected |
◆ storeNextSlice()
void ml::ClusterAlgorithmBase::storeNextSlice |
( |
SubImage & |
slice | ) |
|
|
protected |
Sets next image data, expects the data to be managed by memory manager.
◆ ClusterHandler
template<typename CLUSTERVOXELTYPE , typename DerivedAlgorithm >
◆ _clusters
Clusters* ml::ClusterAlgorithmBase::_clusters |
|
protected |
◆ _currentSlices
do not load the whole image into memory, only keep two slices at once
Definition at line 192 of file mlClusterAlgorithm.h.
◆ _parameters
enum { ... } ml::ClusterAlgorithmBase::NumInImagesEnum |
We do not load the whole image into memory, only keep two slices at once.
The documentation for this class was generated from the following file: