Dynamic Open Contours Using Particle Swarm Optimization with Application to Fluid Interface Extraction