Converting Probablistic atlas to Hard Atlas

Hi there,
I am wondering about the conceptual validity of converting a 4D Probabilistic atlas into a 3D Labelled atlas. Is this valid to simply iterate over the 4th dimension of the atlas and assign the ROI index to the voxels? Is there an existing utility to do this?

Many Thanks,