Terahertz Imaging System Using Adaptive DCT-based Image Denoising