  We present a scheme to reconstruct the quantum state of a field prepared
inside a lossy cavity at finite temperature. Quantum coherences are normally
destroyed by the interaction with an environment, but we show that it is
possible to recover complete information about the initial state (before
interaction with its environment), making possible to reconstruct any
$s$-parametrized quasiprobability distribution, in particular, the Wigner
function.
