template matching .................\main.m .................\plotbox.m .................\tmc.m .................\tmp.m