Making 2D measurements of a segmentation on an individual slice

If you need number of voxels (cross-section area by slice) then you can find a readily usable solution here: Using numpy reslice to get slices of segment. With small modifications of the script, you can compute extents, diameters, etc. for each slice.