Text this: Application of improved and efficient image repair algorithm in rock damage experimental research