Due to the inhomogeneous refractive index distribution inside the femtosecond laser filament, a THz waveguide is created, confining the THz wave energy strongly within a mm scale space. Rely on this new phenomenon, subwavelength resolution THz imaging and high THz wave amplitude could be achieved.