How do i implement a feature such as (mask=segmentaion==c python language) with c++ itk

I want to transform the following code into ITK(c++ version), But I do not know which functions could do it. HELP!

for c in labels:  # labels is list that stores the labelmap's unique value
      mask = segmentation==c   #segmentation is  LabelMap
      reshape_multihot = resize(mask,shape.....)    # resize import from skimage.transform


The following may be useful:

1 Like

Thanks, i will check those files.