OpendTect
7.0
|
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. More...
Public Member Functions | |
ConnComponents (const Array2D< bool > &) | |
~ConnComponents () | |
void | compute (TaskRunner *tr=0) |
const TypeSet< int > * | getComponent (int compidx) |
const Array2D< int > * | getLabel () const |
int | nrComponents () const |
float | overLapRate (int componentidx) |
void | trimCompBranches (TypeSet< int > &comp) |
Static Public Member Functions | |
static void | getCompSticks (TypeSet< int > &comp, int sz1, int allowgapsz, int minsticksz, TypeSet< TypeSet< int > > &sticks) |
static void | trimCompBranches (TypeSet< int > &comp, int sz1) |
Protected Member Functions | |
void | classifyMarks (Array2D< int > &mark) |
void | setMark (Array2D< int > &r, int source, int newval) |
Protected Attributes | |
TypeSet< TypeSet< int > > | components_ |
const Array2D< bool > & | input_ |
Array2D< int > * | label_ |
TypeSet< int > | sortedindex_ |
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.
<>
ConnComponents::ConnComponents | ( | const Array2D< bool > & | ) |
ConnComponents::~ConnComponents | ( | ) |
|
protected |
void ConnComponents::compute | ( | TaskRunner * | tr = 0 | ) |
const TypeSet<int>* ConnComponents::getComponent | ( | int | compidx | ) |
|
static |
|
inline |
int ConnComponents::nrComponents | ( | ) | const |
float ConnComponents::overLapRate | ( | int | componentidx | ) |
|
protected |
void ConnComponents::trimCompBranches | ( | TypeSet< int > & | comp | ) |
|
static |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024