Before revision:  For that, CSD partitions the curve skeleton into maximal-length sub-skeletons over an orientation function , each sub-skeleton corresponds to a semantic component.
After revision:  For that, CSD partitions the curve skeleton into maximal-length sub-skeletons over an orientation cost , each sub-skeleton corresponds to a semantic component.