![]() |
SOPT
Sparse OPTimisation
|
Functions | |
template<typename T > | |
Vector< T > | diff (const Vector< T > &x) |
Numerical derivative of 1d vector. More... | |
template<typename T > | |
Vector< T > | diff_adjoint (const Vector< T > &x) |
Numerical derivative adjoint of 1d vector. More... | |
template<typename T > | |
Vector< T > | diff2d (const Vector< T > &x, const t_int rows, const t_int cols) |
Numerical derivative of 2d image. More... | |
template<typename T > | |
Vector< T > | diff2d_adjoint (const Vector< T > &x, const t_int rows, const t_int cols) |
Numerical derivative adjoint of 2d image. More... | |
template<typename T > | |
LinearTransform< Vector< T > > | gradient_operator (const t_int rows, const t_int cols) |
Numerical derivative of 1d vector.
Definition at line 11 of file gradient_operator.h.
Referenced by sopt::ScalarRelativeVariation< TYPE >::operator()(), and TEST_CASE().
Vector<T> sopt::gradient_operator::diff2d | ( | const Vector< T > & | x, |
const t_int | rows, | ||
const t_int | cols | ||
) |
Numerical derivative of 2d image.
Definition at line 27 of file gradient_operator.h.
Referenced by gradient_operator().
Vector<T> sopt::gradient_operator::diff2d_adjoint | ( | const Vector< T > & | x, |
const t_int | rows, | ||
const t_int | cols | ||
) |
Numerical derivative adjoint of 2d image.
Definition at line 38 of file gradient_operator.h.
Referenced by gradient_operator().
LinearTransform<Vector<T> > sopt::gradient_operator::gradient_operator | ( | const t_int | rows, |
const t_int | cols | ||
) |
Definition at line 48 of file gradient_operator.h.
References cols, diff2d(), diff2d_adjoint(), and rows.