RT STRUCT available. Would like to try a different segmentation on the CT images.

In continuation to the question I asked previously, I have ~300 PET/CT images of head and neck cancer patients got from TCIA with its RTSTRUCT. The region of interest is different in each case eg: GTV, GTV_67.5Gy, GTV_70Gy. I wish to extract features from these ROIs(from manually segmented images) and also from the ROIs obtained by trying a different segmentation method on these images(both PET and CT). Is there a way to automate this task using Python script or so? It would have been a time saver. I found something like this here[Is there a way to build a macro/script out of segment editor steps? - #5 by pieper]
Thanks