Let user outline region over rgb image.
% [xCoords, yCoords, roiPosition] = DrawBoxRegion(h1); % Draw a box.
% mask = DrawFreehandRegion(h1, rgbImage); % Draw a freehand, irregularly-shaped region.
mask = DrawFreehandRegion2(h1, rgbImage); % Use edge detection algorithm