How can I create a 4D segmentation sequence?

Hi! How can I create a 4D segmentation sequence?

Using the graphical user interface or Python scripting? What is your input data?