Converting a mask into contour

Hello everyone,
I have a binary mask of my activation mask, and I would like to convert it into contours.
Is there a way to do that ?

There was this recent thread on creating and displaying contours: