resizeFull, fCh, grayf,  generic crossCorr and sqrDist, genGet