Namespaces | Enumerations | Functions

D:/Programmierung/C/TRTK/include/TRTK/Diffusion.hpp File Reference

This file contains several diffusion functions as well as some helper functions. More...

#include <assert.h>
#include <cmath>
#include <iostream>
#include <vector>
#include <Eigen/Core>
#include "ErrorObj.hpp"
#include "Tools.hpp"
Include dependency graph for Diffusion.hpp:

Go to the source code of this file.

Namespaces

namespace  TRTK
 

Namespace of the Transformation and Registration Toolkit.


namespace  TRTK::Diffusion
 

This namespace contains various functions regarding diffusion processes.


Enumerations

enum  TRTK::Diffusion::BorderInterpolation {
  TRTK::Diffusion::CONTINUED, TRTK::Diffusion::CIRCULAR, TRTK::Diffusion::INTERPOLATED, TRTK::Diffusion::REFLECTED,
  TRTK::Diffusion::ZERO
}
 

Interpolation method for border values.

More...
enum  TRTK::Diffusion::Error { TRTK::Diffusion::INVALID_ARGUMENT, TRTK::Diffusion::UNKNOWN_ERROR }
 

Error Codes.

More...

Functions

template<class T >
void TRTK::Diffusion::print (const std::vector< T > &data)
template<class T >
const std::vector< T > TRTK::Diffusion::firstDerivative (const std::vector< T > &signal, const BorderInterpolation interpolation=CONTINUED)
 Computes the 1st derivative of a 1-dimensional signal.
template<class T >
const std::vector< T > TRTK::Diffusion::secondDerivative (const std::vector< T > &signal, const BorderInterpolation interpolation=CONTINUED)
 Computes the 2nd derivative of a 1-dimensional signal.
template<class T >
const std::vector< T > TRTK::Diffusion::linearDiffusion (const std::vector< T > &signal, T time, T step_size=0.25, BorderInterpolation interpolation_method=CONTINUED)
 1-dimensional linear diffusion.
template<class T >
const std::vector< T > TRTK::Diffusion::nonlinearIsotropicDiffusion (const std::vector< T > &signal, T time, T step_size=0.25, T alpha=0.0, BorderInterpolation interpolation_method=CONTINUED)
 1-dimensional nonlinear isotropic diffusion.
template<class T >
const std::vector< T > TRTK::Diffusion::nonlinearIsotropicDiffusion (const std::vector< T > &signal, T(*diffusivity)(T), T time, T step_size=0.25, BorderInterpolation interpolation_method=CONTINUED)
 1-dimensional nonlinear isotropic diffusion.

Detailed Description

This file contains several diffusion functions as well as some helper functions.

Definition in file Diffusion.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines