Template Function bats::zigzag_toplex¶
Defined in File levelset.hpp
Function Documentation¶
-
template<typename T>
zigzag::ZigzagFiltration<CubicalComplex, T> bats::zigzag_toplex(const std::vector<std::vector<std::vector<T>>> &img)¶ Create a zigzag filtration from a 3D image.
Extend zigzag filtration from toplexes i.e. the maximal cubes correspond to the pixel grid.
Lower-dimensional cube filtration values are extended from cofaces
This means a n1 x n2 x n3 image will be on a vertex set of size (n1 + 1) x (n2 + 1) x (n3 + 1)