aimsalgo 6.0.0
Neuroimaging image processing
aims::GreyLevelBlob< T > Class Template Reference

Class for grey-level blobs Templated with respect to the type of points: TypeSite<carto::VolumeRef<T> >type for images TypeSite<AimsSurface<D, Void> >type for textures. More...

#include <aims/primalsketch/greyLevelBlob.h>

Inheritance diagram for aims::GreyLevelBlob< T >:
Collaboration diagram for aims::GreyLevelBlob< T >:

Public Member Functions

 GreyLevelBlob (MaximumPoint< T > *node, int label)
 
 GreyLevelBlob ()
 
void AddPoint (T node)
 
void StopGrowth ()
 
bool CanGrow ()
 
int Label ()
 
std::set< T, ltstr_p3d< T > > & GetListePoints ()
 
void SetSaddle (SaddlePoint< T > *node)
 
SaddlePoint< T > * GetSaddle ()
 
MaximumPoint< T > * GetMaximum ()
 
float GetScale ()
 
void SetScale (float t)
 
GreyLevelBlob< T > & operator= (const GreyLevelBlob< T > &other)
 

Public Attributes

BlobMeasurements measurements
 

Protected Attributes

int _label
 
std::set< T, ltstr_p3d< T > > listePoints
 
SaddlePoint< T > * saddle
 
MaximumPoint< T > * maximum
 
float scale
 
bool grow
 

Detailed Description

template<class T>
class aims::GreyLevelBlob< T >

Class for grey-level blobs Templated with respect to the type of points: TypeSite<carto::VolumeRef<T> >type for images TypeSite<AimsSurface<D, Void> >type for textures.

Definition at line 118 of file greyLevelBlob.h.

Constructor & Destructor Documentation

◆ GreyLevelBlob() [1/2]

template<class T>
aims::GreyLevelBlob< T >::GreyLevelBlob ( MaximumPoint< T > * node,
int label )
inline

Definition at line 132 of file greyLevelBlob.h.

References _label, AddPoint(), aims::MaximumPoint< T >::blob, grow, maximum, and saddle.

Referenced by operator=().

◆ GreyLevelBlob() [2/2]

template<class T>
aims::GreyLevelBlob< T >::GreyLevelBlob ( )
inline

Definition at line 141 of file greyLevelBlob.h.

References _label, aims::BACKGROUND, grow, maximum, and saddle.

Member Function Documentation

◆ AddPoint()

template<class T>
void aims::GreyLevelBlob< T >::AddPoint ( T node)
inline

Definition at line 150 of file greyLevelBlob.h.

References listePoints.

Referenced by GreyLevelBlob().

◆ CanGrow()

template<class T>
bool aims::GreyLevelBlob< T >::CanGrow ( )
inline

Definition at line 152 of file greyLevelBlob.h.

References grow.

◆ GetListePoints()

◆ GetMaximum()

template<class T>
MaximumPoint< T > * aims::GreyLevelBlob< T >::GetMaximum ( )
inline

◆ GetSaddle()

template<class T>
SaddlePoint< T > * aims::GreyLevelBlob< T >::GetSaddle ( )
inline

◆ GetScale()

template<class T>
float aims::GreyLevelBlob< T >::GetScale ( )
inline

◆ Label()

template<class T>
int aims::GreyLevelBlob< T >::Label ( )
inline

◆ operator=()

template<class T>
GreyLevelBlob< T > & aims::GreyLevelBlob< T >::operator= ( const GreyLevelBlob< T > & other)
inline

Definition at line 324 of file greyLevelBlob.h.

References _label, GreyLevelBlob(), listePoints, maximum, saddle, and scale.

◆ SetSaddle()

template<class T>
void aims::GreyLevelBlob< T >::SetSaddle ( SaddlePoint< T > * node)
inline

Definition at line 157 of file greyLevelBlob.h.

References aims::SaddlePoint< T >::AddBlob(), saddle, and StopGrowth().

◆ SetScale()

template<class T>
void aims::GreyLevelBlob< T >::SetScale ( float t)
inline

Definition at line 167 of file greyLevelBlob.h.

References scale.

◆ StopGrowth()

template<class T>
void aims::GreyLevelBlob< T >::StopGrowth ( )
inline

Definition at line 151 of file greyLevelBlob.h.

References grow.

Referenced by SetSaddle().

Member Data Documentation

◆ _label

template<class T>
int aims::GreyLevelBlob< T >::_label
protected

Definition at line 123 of file greyLevelBlob.h.

Referenced by GreyLevelBlob(), GreyLevelBlob(), Label(), and operator=().

◆ grow

template<class T>
bool aims::GreyLevelBlob< T >::grow
protected

Definition at line 128 of file greyLevelBlob.h.

Referenced by CanGrow(), GreyLevelBlob(), GreyLevelBlob(), and StopGrowth().

◆ listePoints

template<class T>
std::set<T,ltstr_p3d<T> > aims::GreyLevelBlob< T >::listePoints
protected

Definition at line 124 of file greyLevelBlob.h.

Referenced by AddPoint(), GetListePoints(), and operator=().

◆ maximum

template<class T>
MaximumPoint<T>* aims::GreyLevelBlob< T >::maximum
protected

Definition at line 126 of file greyLevelBlob.h.

Referenced by GetMaximum(), GreyLevelBlob(), GreyLevelBlob(), and operator=().

◆ measurements

◆ saddle

template<class T>
SaddlePoint<T>* aims::GreyLevelBlob< T >::saddle
protected

Definition at line 125 of file greyLevelBlob.h.

Referenced by GetSaddle(), GreyLevelBlob(), GreyLevelBlob(), operator=(), and SetSaddle().

◆ scale

template<class T>
float aims::GreyLevelBlob< T >::scale
protected

Definition at line 127 of file greyLevelBlob.h.

Referenced by GetScale(), operator=(), and SetScale().


The documentation for this class was generated from the following file: