ComputeSSD - for j = 1:ssdImCols Compute sum square...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% ComputeSSD.m function ssdIm = ComputeSSD(TODOPatch, patchL, TODOMask, textureIm, texImRows, texImCols, imBands); ssdImRows = texImRows - 2 * patchL; ssdImCols = texImCols - 2 * patchL; ssdIm = zeros(ssdImRows, ssdImCols); for i = 1:ssdImRows
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for j = 1:ssdImCols % Compute sum square difference between textureIm and TODOPatch % for all pixels where TODOMask = 0, and store the result in ssdIm % % ADD YOUR CODE HERE % end; % for j end; % for i...
View Full Document

This note was uploaded on 09/29/2009 for the course CS cpsc425 taught by Professor Ed during the Winter '09 term at UBC.

Ask a homework question - tutors are online