how can i get all the pixels that belongs to a specific instance in the image in cityscapes dataset? i wanted to mask out an instance from the original image : https://tillbeemelmanns.github.io/assets/images/convert-cityscapes-to-coco/preview.png
to this : https://i.ibb.co/g4XQfv1/city-to-coco-1.jpg
is there anyway to extract these pixel directly from the instances id in cityscapes dataset ? Thanks in advance.