Prof. Dansereau's MATLAB function repository:
markpixels.m
: Mark pixels in an image according to a mask.