CopyPatch - % the hole imHole for each pixel where TODOMask...

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

View Full Document Right Arrow Icon
% CopyPatch.m function imHole = CopyPatch(iPatchCentre, jPatchCentre, imHole, imRows, imCols, imBands, selectPatch, patchL, TODOMask); patchSize = 2 * patchL + 1; for i = 1:patchSize for j = 1:patchSize % Copy the selected patch selectPatch into the image containing
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % the hole imHole for each pixel where TODOMask = 1. % The patch is centred on iPatchCentre, jPatchCentre in the image imHole % % 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 The University of British Columbia.

Ask a homework question - tutors are online