Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (6 sloc) 296 Bytes
function Vp = interp_res(im_res, nScales, featureRatio)
[Xi, Yi] = meshgrid(linspace(1,size(im_res, 2),floor(size(im_res, 2)*featureRatio)), linspace(1,size(im_res, 1),floor(size(im_res, 1)*featureRatio)));
for n = 1:nScales
Vp(:,:,n) = interp2(im_res(:,:,n), Xi, Yi);
end
end
You can’t perform that action at this time.