Text this: Substantiation of the criteria for evaluating of the quality of restoring distorted images for the iterative algorithm in correlation detection systems