Namespace OpenCvSharp.Hfs
Classes
- HfsSegment
Hierarchical Feature Selection for Efficient Image Segmentation.
This algorithm is executed in 3 stages: first, the SLIC (simple linear iterative clustering) algorithm is used to obtain the superpixels of the input image. Second, each superpixel is viewed as a node in a graph, and the EGB (Efficient Graph-based Image Segmentation) algorithm is used to merge some of the nodes, obtaining a coarser segmentation, followed by a post process that merges small regions into their nearby region. Third, the algorithm exploits a similar mechanism to further merge the small regions obtained in the second stage into an even coarser segmentation.