Correction for wall-interference by means of a measured-boundary-condition method