Local complex reflectivity in optical waveguides