To have meaningful topological measure on these small patches, we apply relative persistent homology as a more localized approach for the computation of topological structures.
for each patch, we consider the topological structures relative to the boundary.