We first develop a general Green's-function method for the slab geometry, which can handle quite complex conversions between the different polarized radiation modes. Then by using the method, we study the near field thermal coherence properties of a slab of Z 2 topological insulator (TI) with a finite thickness. Under a strong enough external magnetic field, the gapless helical Dirac fermions on the TI surfaces can acquire an energy gap larger than the photon energy of the radiation field at the Dirac point. This gapped surface states can couple strongly with the waveguide modes in the bulk of the TI slab, which thus induces an electromagnetic resonance. Exactly due to the resonance, the coherence properties of the thermal radiation field can be modified dramatically. For Z 2 topological insulators, the parameter regime with the surface Hall conductivity half integer quantized is unique. We demonstrated that within the parameter regime, for a TI slab of a proper thickness, the thermal radiation energy density can be enhanced very much, and the coherence length of the thermal radiation field can be as long as twice that of SiC.