A.I.M.S algorithms


aims::TextureSmoothing Class Reference

#include <aims/scalespace/meshDiffuse.h>

Static Public Member Functions

static AIMSALGO_API void surfaceBlockSmooth (const std::string &latt_filename, const std::string *val_filename, const std::string &path_name, unsigned nscans, float dt, unsigned iter, unsigned scans_block, unsigned nodes_block, unsigned nnodes, unsigned ncolPINV, const std::string *outfiles, const float HMAX, const float Umax)
 Gaussian diffusion along a surface. More...
 
static AIMSALGO_API void surfaceBlockSmooth (const std::string &latt_filename, const Texture1d &tex, float dt, unsigned iter, unsigned ncolPINV, Texture1d &outtex, unsigned nodes_block, const float HMAX, const float Umax)
 
static AIMSALGO_API
TimeTexture< float > 
derivative (const std::string &latt_filename, const Texture< float > &tex, unsigned ncolPINV)
 
static AIMSALGO_API Texture
< float > 
FiniteElementSmoothing (const Texture< float > &inittex, float dt, float dur, float Smax, const std::map< unsigned, std::set< std::pair< unsigned, float > > > &weightLapl)
 
static Texture< float > FiniteElementSmoothingWithSource (const Texture< float > &inittex, const Texture< float > &sourcetex, float dt, float dur, const std::map< unsigned, std::set< std::pair< unsigned, float > > > &weightLapl)
 

Detailed Description

Definition at line 47 of file meshDiffuse.h.

Member Function Documentation

static AIMSALGO_API TimeTexture<float> aims::TextureSmoothing::derivative ( const std::string &  latt_filename,
const Texture< float > &  tex,
unsigned  ncolPINV 
)
static
static AIMSALGO_API Texture<float> aims::TextureSmoothing::FiniteElementSmoothing ( const Texture< float > &  inittex,
float  dt,
float  dur,
float  Smax,
const std::map< unsigned, std::set< std::pair< unsigned, float > > > &  weightLapl 
)
static
static Texture<float> aims::TextureSmoothing::FiniteElementSmoothingWithSource ( const Texture< float > &  inittex,
const Texture< float > &  sourcetex,
float  dt,
float  dur,
const std::map< unsigned, std::set< std::pair< unsigned, float > > > &  weightLapl 
)
static
static AIMSALGO_API void aims::TextureSmoothing::surfaceBlockSmooth ( const std::string &  latt_filename,
const std::string *  val_filename,
const std::string &  path_name,
unsigned  nscans,
float  dt,
unsigned  iter,
unsigned  scans_block,
unsigned  nodes_block,
unsigned  nnodes,
unsigned  ncolPINV,
const std::string *  outfiles,
const float  HMAX,
const float  Umax 
)
static

Gaussian diffusion along a surface.

From C / Cmex soures by Alexandre Andrade, modified

Parameters
latt_filenamename of the .pinv matrix and .neigh (neighbours array)
val_filenamearray of .val files to use as textures
path_namedirectory to read .val files from
nscansnumber of scans (textures)
dttime increment for each iteration
iternb of iterations to process (! ie total diff time /dt)
scans_blocknumber of scans to process at a time in memory
nodes_blocknumber of nodes in each block to process
nnodesnumber of nodes in the mesh
ncolPINVnumber of columns in the PINV matrix
outfilesfile names of output textures to save
static AIMSALGO_API void aims::TextureSmoothing::surfaceBlockSmooth ( const std::string &  latt_filename,
const Texture1d tex,
float  dt,
unsigned  iter,
unsigned  ncolPINV,
Texture1d outtex,
unsigned  nodes_block,
const float  HMAX,
const float  Umax 
)
static

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