Is thier any function to find the hierarchy of multiple contours after i detect them? eg. i have set of contours or say edge pixesl in variable: vector<vector<point>> edge_pixels; but without any hierarchy information. Now is their any method or opencv function to get the hirarchy of this already detected contours ? I am asking it cas i have used another algorithm to find the contours of objects in image which don't outputs the hierarchy information. So now i want to get the hierarchy information also.