Classes | |
class | Gudhi::cubical_complex::Bitmap_cubical_complex< T > |
Cubical complex represented as a bitmap. More... | |
class | Gudhi::cubical_complex::Bitmap_cubical_complex_base< T > |
Cubical complex represented as a bitmap, class with basic implementation. More... | |
class | Gudhi::cubical_complex::Bitmap_cubical_complex_periodic_boundary_conditions_base< T > |
Cubical complex with periodic boundary conditions represented as a bitmap. More... | |
Bitmap_cubical_complex is an example of a structured complex useful in computational mathematics (specially rigorous numerics) and image analysis. The presented implementation of cubical complexes is based on the following definition.
An elementary interval is an interval of a form
(when working with a field of characteristic other than 2, the non-zero terms of this sum come with alternating signs ±1).
A cubical complex
Cubes may be equipped with a filtration values in which case we have filtered cubical complex. All the cubical complexes considered in this implementation are filtered cubical complexes (although, the range of a filtration may be a set of two elements).
For further details and theory of cubical complexes, please consult [37] as well as the following paper [47] .
The implementation of Cubical complex provides a representation of complexes that occupy a rectangular region in
Note that the cubical complex in the figure above is, in a natural way, a product of one dimensional cubical complexes in
In the current implementation, filtration is given at the maximal cubes, and it is then extended by the lower star filtration to all cubes. Alternatively, it is also possible to give the filtration at the vertices and extend it to all cubes. There are a number of constructors that can be used to construct cubical complex by users who want to use the code directly. They can be found in the Bitmap_cubical_complex class. Currently one input from a text file is used. It uses a format inspired from the Perseus software (http://www.sas.upenn.edu/~vnanda/perseus/) by Vidit Nanda.
-1
's to indicate missing cubes. If you have missing cubes in your complex, please set their filtration to inf
in the file).The file format is described in details in Perseus file format section.
Often one would like to impose periodic boundary conditions to the cubical complex. Let
End user programs are available in example/Bitmap_cubical_complex and utilities/Bitmap_cubical_complex folders.