Restoration of an ancient temple mural by a local search algorithm of an adaptive sample block