You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% We have an patch that was computed on an image warped with a displacement field D. we want to find the center of the patch on the original image,
% assuming the pixels of the patch moved "together" and the original patch has the same size. this function returns the center of that "original" patch.
function centpatchd = find_center_of_displaced_patch(patch_coordinates,patch_h,patch_w,D)