How to find hierarchy of multiple contours
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.
use doc and tutorial
I did studied the doc and tutorial, but haven't got the opencv function/method to find the hierarchy of multiple contours seperately without calling/using findContours function/methhod. I only saw that only after using findContours method the hierarchy of the detected contours can be got.