Highly accurate film thickness measurement based on automatic fringe analysis