main.m normalizeMat.m numericaltour.m sampling.m warpimg.m affineSample.m affparam2geom.m affparam2mat.m