DGtalTools
1.2.0
|
#include <imageProcessing/DECImageHelpers.h>
Public Types | |
typedef TKSpace | KSpace |
typedef TLinearAlgebra | LinearAlgebra |
typedef KSpace::Space | Space |
typedef Space::Point | Point |
typedef Space::RealVector | RealVector |
typedef RealVector::Component | Scalar |
typedef KSpace::SCell | SCell |
typedef KSpace::Cell | Cell |
typedef KSpace::Surfel | Surfel |
typedef HyperRectDomain< Space > | Domain |
typedef DiscreteExteriorCalculus< 2, 2, LinearAlgebra > | Calculus |
typedef DiscreteExteriorCalculusFactory< LinearAlgebra > | CalculusFactory |
typedef Calculus::Index | Index |
typedef Calculus::PrimalForm0 | PrimalForm0 |
typedef Calculus::PrimalForm1 | PrimalForm1 |
typedef Calculus::PrimalForm2 | PrimalForm2 |
typedef Calculus::PrimalIdentity0 | PrimalIdentity0 |
typedef Calculus::PrimalIdentity1 | PrimalIdentity1 |
typedef Calculus::PrimalIdentity2 | PrimalIdentity2 |
typedef Calculus::PrimalDerivative0 | PrimalDerivative0 |
typedef Calculus::PrimalDerivative1 | PrimalDerivative1 |
typedef Calculus::DualDerivative0 | DualDerivative0 |
typedef Calculus::DualDerivative1 | DualDerivative1 |
typedef Calculus::PrimalAntiderivative1 | PrimalAntiderivative1 |
typedef Calculus::PrimalAntiderivative2 | PrimalAntiderivative2 |
typedef Calculus::DualAntiderivative1 | DualAntiderivative1 |
typedef Calculus::DualAntiderivative2 | DualAntiderivative2 |
typedef Calculus::PrimalHodge0 | PrimalHodge0 |
typedef Calculus::PrimalHodge1 | PrimalHodge1 |
typedef Calculus::PrimalHodge2 | PrimalHodge2 |
typedef Calculus::DualHodge0 | DualHodge0 |
typedef Calculus::DualHodge1 | DualHodge1 |
typedef Calculus::DualHodge2 | DualHodge2 |
typedef LinearAlgebra::SolverSimplicialLLT | LinearAlgebraSolver |
typedef DiscreteExteriorCalculusSolver< Calculus, LinearAlgebraSolver, 0, PRIMAL, 0, PRIMAL > | SolverU |
typedef DiscreteExteriorCalculusSolver< Calculus, LinearAlgebraSolver, 1, PRIMAL, 1, PRIMAL > | SolverV |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CCellularGridSpaceND< KSpace >)) | |
BOOST_STATIC_ASSERT ((KSpace::dimension==2)) | |
~DECImage2D ()=default | |
DECImage2D (int _verbose=1) | |
void | init (Clone< KSpace > aKSpace) |
DECImage2D (const DECImage2D &other)=delete | |
DECImage2D (DECImage2D &&other)=delete | |
DECImage2D & | operator= (const DECImage2D &other)=delete |
DECImage2D & | operator= (DECImage2D &&other)=delete |
Aim: This class simplifies the development of 2D image processing tools using discrete exterior calculus. Most notably it take care of initializing correctly a discrete exterior calculus in some 2D domain, and precomputes derivative and Hodge star operators. You may have a look at module Image restoration and inpainting with Ambrosio-Tortorelli functional for such image processing tools and more explanation on discrete calculus.
Description of template class 'DECImage2D'
TKSpace | any model of CCellularGridSpaceND, e.g KhalimskySpaceND |
TLinearAlgebra | any back-end for performing linear algebra, default is EigenLinearAlgebraBackend. |
Definition at line 741 of file DECImageHelpers.h.
typedef DiscreteExteriorCalculus<2,2, LinearAlgebra> DGtal::DECImage2D< TKSpace, TLinearAlgebra >::Calculus |
Definition at line 753 of file DECImageHelpers.h.
typedef DiscreteExteriorCalculusFactory<LinearAlgebra> DGtal::DECImage2D< TKSpace, TLinearAlgebra >::CalculusFactory |
Definition at line 754 of file DECImageHelpers.h.
typedef KSpace::Cell DGtal::DECImage2D< TKSpace, TLinearAlgebra >::Cell |
Definition at line 750 of file DECImageHelpers.h.
typedef HyperRectDomain<Space> DGtal::DECImage2D< TKSpace, TLinearAlgebra >::Domain |
Definition at line 752 of file DECImageHelpers.h.
typedef Calculus::DualAntiderivative1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::DualAntiderivative1 |
Definition at line 768 of file DECImageHelpers.h.
typedef Calculus::DualAntiderivative2 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::DualAntiderivative2 |
Definition at line 769 of file DECImageHelpers.h.
typedef Calculus::DualDerivative0 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::DualDerivative0 |
Definition at line 764 of file DECImageHelpers.h.
typedef Calculus::DualDerivative1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::DualDerivative1 |
Definition at line 765 of file DECImageHelpers.h.
typedef Calculus::DualHodge0 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::DualHodge0 |
Definition at line 773 of file DECImageHelpers.h.
typedef Calculus::DualHodge1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::DualHodge1 |
Definition at line 774 of file DECImageHelpers.h.
typedef Calculus::DualHodge2 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::DualHodge2 |
Definition at line 775 of file DECImageHelpers.h.
typedef Calculus::Index DGtal::DECImage2D< TKSpace, TLinearAlgebra >::Index |
Definition at line 755 of file DECImageHelpers.h.
typedef TKSpace DGtal::DECImage2D< TKSpace, TLinearAlgebra >::KSpace |
Definition at line 742 of file DECImageHelpers.h.
typedef TLinearAlgebra DGtal::DECImage2D< TKSpace, TLinearAlgebra >::LinearAlgebra |
Definition at line 743 of file DECImageHelpers.h.
typedef LinearAlgebra::SolverSimplicialLLT DGtal::DECImage2D< TKSpace, TLinearAlgebra >::LinearAlgebraSolver |
Definition at line 776 of file DECImageHelpers.h.
typedef Space::Point DGtal::DECImage2D< TKSpace, TLinearAlgebra >::Point |
Definition at line 746 of file DECImageHelpers.h.
typedef Calculus::PrimalAntiderivative1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalAntiderivative1 |
Definition at line 766 of file DECImageHelpers.h.
typedef Calculus::PrimalAntiderivative2 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalAntiderivative2 |
Definition at line 767 of file DECImageHelpers.h.
typedef Calculus::PrimalDerivative0 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalDerivative0 |
Definition at line 762 of file DECImageHelpers.h.
typedef Calculus::PrimalDerivative1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalDerivative1 |
Definition at line 763 of file DECImageHelpers.h.
typedef Calculus::PrimalForm0 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalForm0 |
Definition at line 756 of file DECImageHelpers.h.
typedef Calculus::PrimalForm1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalForm1 |
Definition at line 757 of file DECImageHelpers.h.
typedef Calculus::PrimalForm2 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalForm2 |
Definition at line 758 of file DECImageHelpers.h.
typedef Calculus::PrimalHodge0 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalHodge0 |
Definition at line 770 of file DECImageHelpers.h.
typedef Calculus::PrimalHodge1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalHodge1 |
Definition at line 771 of file DECImageHelpers.h.
typedef Calculus::PrimalHodge2 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalHodge2 |
Definition at line 772 of file DECImageHelpers.h.
typedef Calculus::PrimalIdentity0 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalIdentity0 |
Definition at line 759 of file DECImageHelpers.h.
typedef Calculus::PrimalIdentity1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalIdentity1 |
Definition at line 760 of file DECImageHelpers.h.
typedef Calculus::PrimalIdentity2 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::PrimalIdentity2 |
Definition at line 761 of file DECImageHelpers.h.
typedef Space::RealVector DGtal::DECImage2D< TKSpace, TLinearAlgebra >::RealVector |
Definition at line 747 of file DECImageHelpers.h.
typedef RealVector::Component DGtal::DECImage2D< TKSpace, TLinearAlgebra >::Scalar |
Definition at line 748 of file DECImageHelpers.h.
typedef KSpace::SCell DGtal::DECImage2D< TKSpace, TLinearAlgebra >::SCell |
Definition at line 749 of file DECImageHelpers.h.
typedef DiscreteExteriorCalculusSolver<Calculus, LinearAlgebraSolver, 0, PRIMAL, 0, PRIMAL> DGtal::DECImage2D< TKSpace, TLinearAlgebra >::SolverU |
Definition at line 778 of file DECImageHelpers.h.
typedef DiscreteExteriorCalculusSolver<Calculus, LinearAlgebraSolver, 1, PRIMAL, 1, PRIMAL> DGtal::DECImage2D< TKSpace, TLinearAlgebra >::SolverV |
Definition at line 780 of file DECImageHelpers.h.
typedef KSpace::Space DGtal::DECImage2D< TKSpace, TLinearAlgebra >::Space |
Definition at line 745 of file DECImageHelpers.h.
typedef KSpace::Surfel DGtal::DECImage2D< TKSpace, TLinearAlgebra >::Surfel |
Definition at line 751 of file DECImageHelpers.h.
|
default |
Destructor.
|
inline |
Default constructor. The object needs to be initialized with init.
_verbose | specifies the verbose level (0: silent, 1: more info ... ). |
Definition at line 796 of file DECImageHelpers.h.
|
delete |
Copy constructor.
other | the object to clone. |
|
delete |
Move constructor.
other | the object to move. |
DGtal::DECImage2D< TKSpace, TLinearAlgebra >::BOOST_CONCEPT_ASSERT | ( | (concepts::CCellularGridSpaceND< KSpace >) | ) |
DGtal::DECImage2D< TKSpace, TLinearAlgebra >::BOOST_STATIC_ASSERT | ( | (KSpace::dimension==2) | ) |
|
inline |
Constructor from cellular grid space, which specifies the domain of calculus.
aKSpace | the cellular grid space specifies the domain of calculus (i.e. all the cells and incidence), which is cloned inside the class. |
Definition at line 812 of file DECImageHelpers.h.
References DGtal::DECImage2D< TKSpace, TLinearAlgebra >::calculus, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::cell_domain, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::D0, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::D1, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::domain, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::dual_D0, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::dual_D1, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::dual_h0, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::dual_h1, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::dual_h2, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::primal_h0, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::primal_h1, DGtal::DECImage2D< TKSpace, TLinearAlgebra >::primal_h2, and DGtal::DECImage2D< TKSpace, TLinearAlgebra >::verbose.
|
delete |
Copy assignment operator.
other | the object to copy. |
|
delete |
Move assignment operator.
other | the object to move. |
Calculus DGtal::DECImage2D< TKSpace, TLinearAlgebra >::calculus |
The discrete exterior calculus instance.
Definition at line 884 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
Domain DGtal::DECImage2D< TKSpace, TLinearAlgebra >::cell_domain |
The cell domain (i.e. all the cells)
Definition at line 888 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
PrimalDerivative0 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::D0 |
primal derivative: 0-form -> 1-form
Definition at line 890 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
PrimalDerivative1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::D1 |
primal derivative: 1-form -> 2-form
Definition at line 892 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
Domain DGtal::DECImage2D< TKSpace, TLinearAlgebra >::domain |
The image domain (i.e. all the pixels)
Definition at line 886 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
DualDerivative0 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::dual_D0 |
dual derivative dual 0-form -> dual 1-form
Definition at line 894 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
DualDerivative1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::dual_D1 |
dual derivative dual 1-form -> dual 2-form
Definition at line 896 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
DualHodge0 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::dual_h0 |
hodge star: dual 0-form -> 0-form
Definition at line 904 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
DualHodge1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::dual_h1 |
hodge star: dual 1-form -> 1-form
Definition at line 906 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
DualHodge2 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::dual_h2 |
hodge star: dual 2-form -> 2-form
Definition at line 908 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
PrimalHodge0 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::primal_h0 |
hodge star: 0-form -> dual 0-form
Definition at line 898 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
PrimalHodge1 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::primal_h1 |
hodge star: 1-form -> dual 1-form
Definition at line 900 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
PrimalHodge2 DGtal::DECImage2D< TKSpace, TLinearAlgebra >::primal_h2 |
hodge star: 2-form -> dual 2-form
Definition at line 902 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().
int DGtal::DECImage2D< TKSpace, TLinearAlgebra >::verbose |
The verbose level (0: silent).
Definition at line 882 of file DECImageHelpers.h.
Referenced by DGtal::DECImage2D< TKSpace, TLinearAlgebra >::init().