Apply watershed method to extract ridges in 3D scalar field