Similar Items: Enhancing terahertz images corrupted by compact impulse noise: feasibility and practical recommendations