SiGraph: sulcal graphs


sigraph::FoldDescr5 Class Reference

Fold descriptor, version 5 (07/2006). More...

#include <si/fold/foldDescr5.h>

Inheritance diagram for sigraph::FoldDescr5:
Collaboration diagram for sigraph::FoldDescr5:

Public Types

enum  Inputs {
  VEC_VALID , E1E2_VALID , E1X , E1Y ,
  E1Z , E2X , E2Y , E2Z ,
  GX , GY , GZ , NVALID ,
  NX , NY , NZ , DIRX ,
  DIRY , DIRZ , SIZE , DEPTH ,
  MINDEPTH , MEANDEPTH , NCC , NCC_NOT_CORTICAL ,
  NCORT , DISTMAX_CC , NPLIS , SIZE_HULLJUNC ,
  GM_THICKNESS , FOLD_OPENING_HALF , FOLD_OPENING , MOMENT_INV0 ,
  MOMENT_INV1 , MOMENT_INV2 , MOMENT_INV3 , MOMENT_INV4 ,
  MOMENT_INV5 , MOMENT_INV6 , MOMENT_INV7 , MOMENT_INV8 ,
  MOMENT_INV9 , MOMENT_INV10 , MOMENT_INV11 , INERTIA_0 ,
  INERTIA_1 , INERTIA_2 , INERTIA_3 , INERTIA_4 ,
  INERTIA_5 , INERTIA_EIGENVALUE_0 , INERTIA_EIGENVALUE_1_RATIO , INERTIA_EIGENVALUE_2_RATIO ,
  END
}
 Descriptors list. More...
 
- Public Types inherited from sigraph::FoldDescr4
enum  Inputs {
  VEC_VALID , E1E2_VALID , E1X , E1Y ,
  E1Z , E2X , E2Y , E2Z ,
  GX , GY , GZ , NVALID ,
  NX , NY , NZ , DIRX ,
  DIRY , DIRZ , SIZE , DEPTH ,
  MINDEPTH , MEANDEPTH , NCC , NCC_NOT_CORTICAL ,
  NCORT , DISTMAX_CC , NPLIS , SIZE_HULLJUNC ,
  GM_THICKNESS , FOLD_OPENING_HALF , FOLD_OPENING , END
}
 Descriptors list. More...
 
- Public Types inherited from sigraph::FoldDescr2
enum  Inputs {
  VEC_VALID , E1E2_VALID , E1X , E1Y ,
  E1Z , E2X , E2Y , E2Z ,
  GX , GY , GZ , NVALID ,
  NX , NY , NZ , DIRX ,
  DIRY , DIRZ , SIZE , DEPTH ,
  MINDEPTH , NCC , NCC_NOT_CORTICAL , NCORT ,
  DISTMAX_CC , NPLIS , SIZE_HULLJUNC , END
}
 Descriptors list. More...
 
enum  NormalizedMode { NormalizedNone = 0 , Normalized , NormalizedBoth }
 

Public Member Functions

 FoldDescr5 ()
 
 FoldDescr5 (const FoldDescr5 &f)
 
virtual ~FoldDescr5 ()
 
virtual CliqueDescrclone () const
 
virtual void buildTree (Tree &t)
 
virtual std::vector< std::string > descriptorsNames () const
 
virtual std::string name () const
 
bool outputInertia () const
 
void setOutputInertia (bool x)
 
- Public Member Functions inherited from sigraph::FoldDescr4
 FoldDescr4 ()
 
 FoldDescr4 (const FoldDescr4 &f)
 
virtual ~FoldDescr4 ()
 
virtual std::string surfaceAttribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string gravityCenterAttribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string normalAttribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string minDepthAttribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string maxDepthAttribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string meanDepthAttribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string junctionLengthAttribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string junctionExtremity1Attribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string junctionExtremity2Attribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string junctionDirectionAttribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string corticalDistanceAttribute (bool normalized, const Clique *, int major, int minor) const
 
- Public Member Functions inherited from sigraph::FoldDescr2
 FoldDescr2 ()
 
 FoldDescr2 (const FoldDescr2 &f)
 
virtual ~FoldDescr2 ()
 
virtual bool makeVector (const Clique *cl, std::vector< double > &vec, carto::GenericObject *model=0)
 Remplit le vecteur d'entrées.
 
virtual void preProcess (std::vector< double > &vec, carto::GenericObject *model=0)
 Effectue des pré-processings des stats d'orientation.
 
virtual bool hasChanged (const Clique *cl, const std::map< Vertex *, std::string > &changes, const carto::GenericObject *model=0) const
 Dit si le potentiel d'une clique, après une transformation de labels de noeuds, a pu changer, ou si les changements n'ont pas d'influence sur le potentiel.
 
virtual bool makeLearnVector (const Clique *cl, std::vector< double > &vec, carto::GenericObject *model=0, double outp=0)
 Build input vector for lerning (allow noising it with random)
 
virtual void handleStats (const Clique *cl, std::vector< double > &vec, carto::GenericObject *model=0, double outp=0)
 Handle stats learning stats.
 
virtual void reset ()
 Reset (set to zero) all internal stats.
 
void setNormalizedMode (NormalizedMode x)
 
NormalizedMode normalizedMode () const
 
void setNStats (unsigned n)
 
void setNormal (double nx, double ny, double nz)
 
void setE12Stats (unsigned n)
 
void setE1E2 (double x, double y, double z)
 
void setDirStats (unsigned n)
 
void setDirection (double x, double y, double z)
 
virtual std::string hullJunctionLengthAttribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string hullJunctionExtremity1Attribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string hullJunctionExtremity2Attribute (bool normalized, const Clique *, int major, int minor) const
 
virtual std::string hullJunctionDirectionAttribute (bool normalized, const Clique *, int major, int minor) const
 
- Public Member Functions inherited from sigraph::AdapDescr
virtual ~AdapDescr ()
 
virtual void addGeneratedVector (const LearnConstParam *lp)
 Convert (clique, outp, classid) to GeneratedVector and insert it in a list.
 
virtual const std::list< GeneratedVector * > & getGeneratedVectors (void) const
 
virtual void updateSiDBLearnable (void)
 read _generated_vectors and update _learnable, generated vectors are finally deleted
 
virtual SiDBLearnablegetSiDBLearnable ()
 
virtual bool makeStatsVector (const Clique *cl, std::vector< double > &vec, carto::GenericObject *model=0, double outp=0)
 
virtual void clearDB ()
 
- Public Member Functions inherited from sigraph::CliqueDescr
virtual ~CliqueDescr ()
 

Protected Member Functions

virtual bool makeVectorElements (const Clique *cl, std::vector< double > &vec, carto::GenericObject *model=0)
 
- Protected Member Functions inherited from sigraph::FoldDescr4
virtual int surfaceOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int surfaceValidOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int gravityCenterOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int gravityCenterValidOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int normalOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int normalValidOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int minDepthOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int minDepthValidOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int maxDepthOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int maxDepthValidOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int meanDepthOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int meanDepthValidOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int hullJunctionLengthOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int hullJunctionLengthValidOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int hullJunctionExtremity1Offset (bool normalized, const Clique *, int major, int minor) const
 
virtual int hullJunctionExtremity1ValidOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int hullJunctionExtremity2Offset (bool normalized, const Clique *, int major, int minor) const
 
virtual int hullJunctionExtremity2ValidOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int hullJunctionDirectionOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int hullJunctionDirectionValidOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int corticalDistanceOffset (bool normalized, const Clique *, int major, int minor) const
 
virtual int corticalDistanceValidOffset (bool normalized, const Clique *, int major, int minor) const
 
- Protected Member Functions inherited from sigraph::AdapDescr
 AdapDescr ()
 
- Protected Member Functions inherited from sigraph::CliqueDescr
 CliqueDescr ()
 

Additional Inherited Members

- Static Public Member Functions inherited from sigraph::FoldDescr2
static void checkDataGraphVersion (const Clique *, int &major, int &minor)
 data graph version test
 
static bool dataVersionGE (int major, int minor, int datamajor, int dataminor)
 

Detailed Description

Fold descriptor, version 5 (07/2006).

They add invariant moments information

Definition at line 15 of file foldDescr5.h.

Member Enumeration Documentation

◆ Inputs

Descriptors list.

Enumerator
VEC_VALID 
E1E2_VALID 
E1X 
E1Y 
E1Z 
E2X 
E2Y 
E2Z 
GX 
GY 
GZ 
NVALID 
NX 
NY 
NZ 
DIRX 
DIRY 
DIRZ 
SIZE 
DEPTH 
MINDEPTH 
MEANDEPTH 
NCC 
NCC_NOT_CORTICAL 
NCORT 
DISTMAX_CC 
NPLIS 
SIZE_HULLJUNC 
GM_THICKNESS 
FOLD_OPENING_HALF 
FOLD_OPENING 
MOMENT_INV0 
MOMENT_INV1 
MOMENT_INV2 
MOMENT_INV3 
MOMENT_INV4 
MOMENT_INV5 
MOMENT_INV6 
MOMENT_INV7 
MOMENT_INV8 
MOMENT_INV9 
MOMENT_INV10 
MOMENT_INV11 
INERTIA_0 
INERTIA_1 
INERTIA_2 
INERTIA_3 
INERTIA_4 
INERTIA_5 
INERTIA_EIGENVALUE_0 
INERTIA_EIGENVALUE_1_RATIO 
INERTIA_EIGENVALUE_2_RATIO 
END 

Definition at line 19 of file foldDescr5.h.

Constructor & Destructor Documentation

◆ FoldDescr5() [1/2]

sigraph::FoldDescr5::FoldDescr5 ( )

Referenced by clone(), and FoldDescr5().

◆ FoldDescr5() [2/2]

sigraph::FoldDescr5::FoldDescr5 ( const FoldDescr5 & f)

References FoldDescr5().

◆ ~FoldDescr5()

virtual sigraph::FoldDescr5::~FoldDescr5 ( )
virtual

Member Function Documentation

◆ buildTree()

virtual void sigraph::FoldDescr5::buildTree ( Tree & t)
virtual

Reimplemented from sigraph::FoldDescr4.

◆ clone()

CliqueDescr * sigraph::FoldDescr5::clone ( ) const
inlinevirtual

Reimplemented from sigraph::FoldDescr4.

Definition at line 108 of file foldDescr5.h.

References FoldDescr5().

◆ descriptorsNames()

virtual std::vector< std::string > sigraph::FoldDescr5::descriptorsNames ( ) const
virtual

Reimplemented from sigraph::FoldDescr4.

◆ makeVectorElements()

virtual bool sigraph::FoldDescr5::makeVectorElements ( const Clique * cl,
std::vector< double > & vec,
carto::GenericObject * model = 0 )
protectedvirtual

Reimplemented from sigraph::FoldDescr4.

◆ name()

virtual std::string sigraph::FoldDescr5::name ( ) const
virtual

Reimplemented from sigraph::FoldDescr4.

◆ outputInertia()

bool sigraph::FoldDescr5::outputInertia ( ) const
inline

Definition at line 92 of file foldDescr5.h.

◆ setOutputInertia()

void sigraph::FoldDescr5::setOutputInertia ( bool x)
inline

Definition at line 93 of file foldDescr5.h.


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