Transmission eigenchannels in a disordered medium