1 #ifndef conncomponents_h 2 #define conncomponents_h 21 template <
class T>
class Array2D;
23 template <
class T>
class Array3D;
42 int nrComponents()
const;
46 static void trimCompBranches(
TypeSet<int>& comp,
int sz1);
48 int allowgapsz,
int minsticksz,
52 float overLapRate(
int componentidx);
82 VPos() : i(-1),j(-1),k(-1) {}
85 int nrComponents()
const;
93 int sliceidx,
int compidx,
const Array2D< bool > & input_
Definition: conncomponents.h:60
#define mExpClass(module)
Definition: commondefs.h:160
TypeSet< int > sortedindex_
Definition: conncomponents.h:99
ObjectSet< ObjectSet< VPos > > components_
Definition: conncomponents.h:98
Classify connected components of a binarized array 3D, components are sorted in size.
Definition: conncomponents.h:72
const Array3D< bool > & input_
Definition: conncomponents.h:97
Set of pointers to objects.
Definition: commontypes.h:32
TypeSet< int > sortedindex_
Definition: conncomponents.h:63
Array2D ( Subclass of ArrayND ) is a two dimensional array.
Definition: arraynd.h:131
Class that can execute a task.
Definition: task.h:169
Subclass of Array2D and ArrayNDSliceBase.
Definition: arrayndslice.h:88
TypeSet< TypeSet< int > > components_
Definition: conncomponents.h:62
Definition: conncomponents.h:81
Array2D< int > * label_
Definition: conncomponents.h:61
Classify connected components of a binarized array 2D, components are sorted in size. User could get the best quadratic fit for the component if needed.
Definition: conncomponents.h:33
int k
Definition: conncomponents.h:83
Array3D ( Subclass of ArrayND ) is a three dimensional array.
Definition: arraynd.h:153
VPos()
Definition: conncomponents.h:82
const Array2D< int > * getLabel() const
Definition: conncomponents.h:44