OpendTect-6_4  6.4
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ConnComponents3D Class Reference

Classify connected components of a binarized array 3D, components are sorted in size. More...

Classes

struct  VPos
 

Public Member Functions

 ConnComponents3D (const Array3D< bool > &)
 
 ~ConnComponents3D ()
 
void compute (TaskRunner *tr=0)
 
int nrComponents () const
 
const ObjectSet< VPos > * getComponent (int compidx)
 

Protected Member Functions

void addToComponent (const TypeSet< TypeSet< TypeSet< int > > > &comps, int sliceidx, int compidx, TypeSet< TypeSet< unsigned char > > &usedcomps, ObjectSet< VPos > &rescomp)
 

Protected Attributes

const Array3D< bool > & input_
 
ObjectSet< ObjectSet< VPos > > components_
 
TypeSet< int > sortedindex_
 

Detailed Description

Classify connected components of a binarized array 3D, components are sorted in size.

Constructor & Destructor Documentation

ConnComponents3D::ConnComponents3D ( const Array3D< bool > &  )
ConnComponents3D::~ConnComponents3D ( )

Member Function Documentation

void ConnComponents3D::addToComponent ( const TypeSet< TypeSet< TypeSet< int > > > &  comps,
int  sliceidx,
int  compidx,
TypeSet< TypeSet< unsigned char > > &  usedcomps,
ObjectSet< VPos > &  rescomp 
)
protected
void ConnComponents3D::compute ( TaskRunner tr = 0)
const ObjectSet<VPos>* ConnComponents3D::getComponent ( int  compidx)
int ConnComponents3D::nrComponents ( ) const

Member Data Documentation

ObjectSet< ObjectSet<VPos> > ConnComponents3D::components_
protected
const Array3D<bool>& ConnComponents3D::input_
protected
TypeSet<int> ConnComponents3D::sortedindex_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019