Research on the Mechanical Characteristics of Cyclic Loading and Unloading of Rock Based on Infrared Thermal Image Analysis