SamsungLabs / ritm_interactive_segmentation

Reviving Iterative Training with Mask Guidance for Interactive Segmentation
MIT License
634 stars 125 forks source link

Parent, children of an object #21

Open ahmadalideeb opened 2 years ago

ahmadalideeb commented 2 years ago

Thanks for the great job! https://github.com/saic-vul/ritm_interactive_segmentation/blob/708182de6e3a73da4034579935aef4c19ceae80a/isegm/data/sample.py#L26 The attribute _objects is a dictionary which has parent and children as keys which their values are objects id of parents and children of the current object What does it mean of an object to be a parent or children of another object? can you explain what parent and children represent, specially that you used them in points_sampler?

I'll appreciate your help!