Image stack is segmented to identify the three unique phases: 0 - background; 1 - glass bead; 2 - water; 3 - air