Generates 22 templates from permutations of the 7 base templates.
Generates templates for curve skeleton.
Parallel template match.
Fix template match.
Fix downsample.
Connectivity operator: Evaluates number of foreground neighbours.
Removes maximum ball clustering algorithm.
Pores/throats from curve skeleton extremums.
Restores cluster method.