Scene
Template(mask)
Detected template
Correlation map
pkg load image;
function [yIndex xIndex] = find_template_2D(template, img)
endfunction
tablet = imread('tablet.png');
imshow(tablet);
glyph = tablet(75:165, 150:185);
imshow(plyph);
[y x] = find_template_2D(glyph, tablet);
disp([y x]);