![]() |
aimsalgo
5.0.5
Neuroimaging image processing
|
#include <aims/primalsketch/scalespace.h>
Classes | |
struct | BlobDescriptor |
Public Types | |
enum | MeshShape { Surface, Tore } |
enum | BlobSaddleType { Junction, Bottom } |
enum | MeshGrowingMode { Translate, Scale, PushNormal } |
enum | MergeCode { OK = 0, PbUp = 1, PbDown = 2, PbBoth = 3 } |
Public Member Functions | |
ScaleSpace () | |
virtual | ~ScaleSpace () |
void | PutSmoother (Smoother< Geom, Text > *blur) |
ScaleLevel< Geom, Text > * | Scale (float t) |
Text & | GetScaleImage (float t) |
Text & | GetOriginalImage () |
std::map< float, ScaleLevel< Geom, Text > * > | GetScaleLevels () |
void | AddScale (float t) |
void | RemoveScale (float t) |
void | GenerateDefaultScaleSpace (float tmax) |
std::set< float > | GetScaleList () |
void | WriteScale (float t, std::string name) |
void | WriteScaleSpace (std::string name) |
Texture< int > | meshBlobExtract (const AimsSurface< 3, Void > &mesh, const Texture< float > &inittex, std::map< int, BlobDescriptor > &limits) |
int | blobToGraph (Graph &g, const Texture< int > &blobs, const AimsSurfaceTriangle &mesh, const AimsSurfaceTriangle &infl_mesh, const Texture< float > &values, float scale, std::map< int, BlobDescriptor > &limits, int startindex) |
void | cleanGraphScale (Graph &g, float scale) |
MergeCode | mergeGraphs (Graph &g, Graph &h) |
void | createSubMeshes (Graph &g, const AimsSurface< 3, Void > &mesh, float depl=0, float depl0=0, MeshShape ms=Surface, MeshGrowingMode gm=Scale, bool compressedMeshes=true) |
void | grayLevel2PrimalSketch (Graph &glevel, Graph &psketch) |
std::multimap< float, unsigned > | sortGLB (std::string key, const std::map< unsigned, Vertex *> &nodes, const std::map< unsigned, std::set< Vertex *> > &scblobs) |
void | GLBVertexToSSBVertex (Graph &psketch, const std::multimap< float, unsigned > &ordering, const std::map< unsigned, Vertex *> &nodes, const std::map< unsigned, std::set< Vertex *> > &scblobs) |
void | GLBEdgeToSSBEdge (Graph &glevel, Graph &psketch, const std::map< Vertex *, unsigned > &labels, const std::map< unsigned, Vertex *> &nodes) |
void | setGraphLabelAndName (const std::multimap< float, unsigned > &ordering, const std::map< unsigned, Vertex *> &nodes, const std::map< unsigned, std::set< Vertex *> > &scblobs) |
float | getRepresentativeScale (const std::set< Vertex *> &SSB) |
carto::rc_ptr< AimsSurfaceTriangle > | getRepresentativeBlobMesh (float scale0, const std::set< Vertex *> &SSB) |
int | adaptiveScaleSpace (Graph &psketch, const AimsSurfaceTriangle &mesh, const AimsSurfaceTriangle &infl_mesh, const Texture1d &inittex, std::map< float, Texture< int > > &tex_blobs, std::map< float, Texture< float > > &tex_curv, int index, float tbegin, float tend, float dt, float dts, float dtmin, const float HMAX, bool logFlag, const std::map< unsigned, std::set< std::pair< unsigned, float > > > &weightLapl) |
AimsSurfaceTriangle | surface2Tore (const AimsSurfaceTriangle &) |
![]() | |
BaseScaleSpace () | |
virtual | ~BaseScaleSpace () |
Protected Member Functions | |
float | dt () |
![]() | |
int | get_timediff (float t1, float t2) |
Protected Attributes | |
std::map< float, ScaleLevel< Geom, Text > * > | scales |
Smoother< Geom, Text > * | _smoother |
Definition at line 88 of file scalespace.h.
enum aims::ScaleSpace::BlobSaddleType |
Enumerator | |
---|---|
Junction | |
Bottom |
Definition at line 66 of file meshBlob.h.
enum aims::ScaleSpace::MergeCode |
Enumerator | |
---|---|
OK | |
PbUp | |
PbDown | |
PbBoth |
Definition at line 87 of file meshBlob.h.
enum aims::ScaleSpace::MeshGrowingMode |
Enumerator | |
---|---|
Translate | |
Scale | |
PushNormal |
Definition at line 72 of file meshBlob.h.
enum aims::ScaleSpace::MeshShape |
Enumerator | |
---|---|
Surface | |
Tore |
Definition at line 60 of file meshBlob.h.
|
inline |
Definition at line 98 of file scalespace.h.
|
inlinevirtual |
Definition at line 100 of file scalespace.h.
int aims::ScaleSpace< Geom, Text >::adaptiveScaleSpace | ( | Graph & | psketch, |
const AimsSurfaceTriangle & | mesh, | ||
const AimsSurfaceTriangle & | infl_mesh, | ||
const Texture1d & | inittex, | ||
std::map< float, Texture< int > > & | tex_blobs, | ||
std::map< float, Texture< float > > & | tex_curv, | ||
int | index, | ||
float | tbegin, | ||
float | tend, | ||
float | dt, | ||
float | dts, | ||
float | dtmin, | ||
const float | HMAX, | ||
bool | logFlag, | ||
const std::map< unsigned, std::set< std::pair< unsigned, float > > > & | weightLapl | ||
) |
void aims::ScaleSpace< D, T >::AddScale | ( | float | t | ) |
Definition at line 424 of file scalespace.h.
References aims::BaseScaleSpace::get_timediff().
int aims::ScaleSpace< Geom, Text >::blobToGraph | ( | Graph & | g, |
const Texture< int > & | blobs, | ||
const AimsSurfaceTriangle & | mesh, | ||
const AimsSurfaceTriangle & | infl_mesh, | ||
const Texture< float > & | values, | ||
float | scale, | ||
std::map< int, BlobDescriptor > & | limits, | ||
int | startindex | ||
) |
void aims::ScaleSpace< Geom, Text >::cleanGraphScale | ( | Graph & | g, |
float | scale | ||
) |
void aims::ScaleSpace< Geom, Text >::createSubMeshes | ( | Graph & | g, |
const AimsSurface< 3, Void > & | mesh, | ||
float | depl = 0 , |
||
float | depl0 = 0 , |
||
MeshShape | ms = Surface , |
||
MeshGrowingMode | gm = Scale , |
||
bool | compressedMeshes = true |
||
) |
|
inlineprotectedvirtual |
Implements aims::BaseScaleSpace.
Definition at line 91 of file scalespace.h.
Referenced by aims::PrimalSketch< Geom, Text >::SetMinDt().
|
inline |
Definition at line 119 of file scalespace.h.
|
inline |
Definition at line 112 of file scalespace.h.
carto::rc_ptr<AimsSurfaceTriangle> aims::ScaleSpace< Geom, Text >::getRepresentativeBlobMesh | ( | float | scale0, |
const std::set< Vertex *> & | SSB | ||
) |
float aims::ScaleSpace< Geom, Text >::getRepresentativeScale | ( | const std::set< Vertex *> & | SSB | ) |
|
inline |
Definition at line 110 of file scalespace.h.
|
inline |
Definition at line 114 of file scalespace.h.
std::set<float> aims::ScaleSpace< Geom, Text >::GetScaleList | ( | ) |
void aims::ScaleSpace< Geom, Text >::GLBEdgeToSSBEdge | ( | Graph & | glevel, |
Graph & | psketch, | ||
const std::map< Vertex *, unsigned > & | labels, | ||
const std::map< unsigned, Vertex *> & | nodes | ||
) |
void aims::ScaleSpace< Geom, Text >::GLBVertexToSSBVertex | ( | Graph & | psketch, |
const std::multimap< float, unsigned > & | ordering, | ||
const std::map< unsigned, Vertex *> & | nodes, | ||
const std::map< unsigned, std::set< Vertex *> > & | scblobs | ||
) |
void aims::ScaleSpace< Geom, Text >::grayLevel2PrimalSketch | ( | Graph & | glevel, |
Graph & | psketch | ||
) |
MergeCode aims::ScaleSpace< Geom, Text >::mergeGraphs | ( | Graph & | g, |
Graph & | h | ||
) |
Texture<int> aims::ScaleSpace< Geom, Text >::meshBlobExtract | ( | const AimsSurface< 3, Void > & | mesh, |
const Texture< float > & | inittex, | ||
std::map< int, BlobDescriptor > & | limits | ||
) |
|
inline |
Definition at line 102 of file scalespace.h.
void aims::ScaleSpace< Geom, Text >::RemoveScale | ( | float | t | ) |
|
inline |
Definition at line 104 of file scalespace.h.
void aims::ScaleSpace< Geom, Text >::setGraphLabelAndName | ( | const std::multimap< float, unsigned > & | ordering, |
const std::map< unsigned, Vertex *> & | nodes, | ||
const std::map< unsigned, std::set< Vertex *> > & | scblobs | ||
) |
std::multimap<float, unsigned> aims::ScaleSpace< Geom, Text >::sortGLB | ( | std::string | key, |
const std::map< unsigned, Vertex *> & | nodes, | ||
const std::map< unsigned, std::set< Vertex *> > & | scblobs | ||
) |
AimsSurfaceTriangle aims::ScaleSpace< Geom, Text >::surface2Tore | ( | const AimsSurfaceTriangle & | ) |
void aims::ScaleSpace< Geom, Text >::WriteScale | ( | float | t, |
std::string | name | ||
) |
void aims::ScaleSpace< Geom, Text >::WriteScaleSpace | ( | std::string | name | ) |
|
protected |
Definition at line 94 of file scalespace.h.
|
protected |
Definition at line 91 of file scalespace.h.