Approaches in generalized phase shifting interferometry