Automatic processing of fringe patterns in integer interferometers