Extract surface of a volumetric region of interest

How can I extract surfaces from a segmented volumetric region of interest in code to extract radiomics from different slices of a volume?

Hi Richard,

Do you find a good way to get the surface?

Best,
Chuan