13#ifndef ML_SIMILAR_INTENSITIES_CLUSTER_ALGORITHM_H 
   14#define ML_SIMILAR_INTENSITIES_CLUSTER_ALGORITHM_H 
   29template <
typename DATATYPE>
 
   42    return *
static_cast<DATATYPE*
>(position);
 
 
 
Type specific implementations of the interface class for clustering algorithms.
 
Structure computes and holds all cluster information. For internal use.
 
Implementation of a SimilarIntensities clustering algorithm.
 
ML_FORCE_INLINE bool isInTolerance(DATATYPE neighborValue, DATATYPE currentValue)
Tolerance calculation for scalar images.
 
static ML_FORCE_INLINE DATATYPE getVoxel(void *position)
Get the typed voxel value for current position.
 
SimilarIntensitiesClusterAlgorithm(const ComputeClusterParameters ¶meters, Clusters *clusters)
 
static ML_FORCE_INLINE MLdouble getVoxelAsDouble(void *)
 
#define ML_FORCE_INLINE
Forcing the use of 'inline' for methods.
 
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
 
Structure to hold parameters for cluster computation.