Globally Consistent Depth Labeling of 4D Light Fields