Terahertz compressive imaging: understanding and improvement by a better strategy for data selection