Polarization filtering and atomic cell filtering are applied in the identification of Stokes signals in an atomic ensemble, and reduce the noise to a level of 10-5 and 10-4 respectively. Good Stokes signals are then obtained. In this article the two filtering systems and the final Stokes output are presented, and the optimization of the polarization filtering system is highlighted.