#include "DAGH.h"
Go to the source code of this file.
Functions | |
template<> | |
void | Cluster (GridData< short, 1 > &flag, BBoxList &bblexclude, double Efficiency, int MinWidth, int MaxWidth, int BufferWidth, BBoxList &Result) |
Clusters a grid function flag into a list of bounding boxes result . | |
template<> | |
void | Cluster (GridData< short, 2 > &flag, BBoxList &bblexclude, double Efficiency, int MinWidth, int MaxWidth, int BufferWidth, BBoxList &Result) |
A 2D interface to the recursive clustering algorithm Cluster3R(). | |
template<> | |
void | Cluster (GridData< short, 3 > &flag, BBoxList &bblexclude, double Efficiency, int MinWidth, int MaxWidth, int BufferWidth, BBoxList &Result) |
A 3D interface to the recursive clustering algorithm Cluster3R(). |
void Cluster | ( | GridData< short, 3 > & | flag, | |
BBoxList & | bblexclude, | |||
double | Efficiency, | |||
int | MinWidth, | |||
int | MaxWidth, | |||
int | BufferWidth, | |||
BBoxList & | Result | |||
) |
A 3D interface to the recursive clustering algorithm Cluster3R().
flag | GridData<short,3>. Flag array for clustering. | |
bblexclude | BBoxList. Flags not considered in this region. | |
Efficiency | double. | |
MinWidth | int. | |
MaxWidth | int. | |
BufferWidth | int. | |
Result | BBoxList. Result is returned in here |
void Cluster | ( | GridData< short, 2 > & | flag, | |
BBoxList & | bblexclude, | |||
double | Efficiency, | |||
int | MinWidth, | |||
int | MaxWidth, | |||
int | BufferWidth, | |||
BBoxList & | Result | |||
) |
A 2D interface to the recursive clustering algorithm Cluster3R().
flag | GridData<short,2>. Flag array for clustering. | |
bblexclude | BBoxList. Flags not considered in this region. | |
Efficiency | double. | |
MinWidth | int. | |
MaxWidth | int. | |
BufferWidth | int. | |
Result | BBoxList. Result is returned in here |
void Cluster | ( | GridData< short, 1 > & | flag, | |
BBoxList & | bblexclude, | |||
double | Efficiency, | |||
int | MinWidth, | |||
int | MaxWidth, | |||
int | BufferWidth, | |||
BBoxList & | result | |||
) |
Clusters a grid function flag
into a list of bounding boxes result
.
Assume flag
is a 1D real array with values of 0.0 or 1.0 for flag or no flag.
flag | GridData<short,1>. Array of points to cluster | |
bblexclude | BBoxList. Flags not considered in this region. | |
Efficiency | double. | |
MinWidth | int. | |
MaxWidth | int. | |
BufferWidth | int. | |
result | BBoxList. The resulting BBoxList of the clustering algorithm |