OpendTect  7.0
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)
 
const ObjectSet< VPos > * getComponent (int compidx)
 
int nrComponents () const
 

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

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

Detailed Description

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

<>

Constructor & Destructor Documentation

◆ ConnComponents3D()

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

◆ ~ConnComponents3D()

ConnComponents3D::~ConnComponents3D ( )

Member Function Documentation

◆ addToComponent()

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

◆ compute()

void ConnComponents3D::compute ( TaskRunner tr = 0)

◆ getComponent()

const ObjectSet<VPos>* ConnComponents3D::getComponent ( int  compidx)

◆ nrComponents()

int ConnComponents3D::nrComponents ( ) const

Member Data Documentation

◆ components_

ObjectSet< ObjectSet<VPos> > ConnComponents3D::components_
protected

◆ input_

const Array3D<bool>& ConnComponents3D::input_
protected

◆ sortedindex_

TypeSet<int> ConnComponents3D::sortedindex_
protected

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