I need to perform top-down and bottom-down segmentation on a given image using OpenCV. The problem is that I am struggling to find an overview of those algorithms anywhere o