Initial code for setting a color to either the black or white pixels of
a selected region of interest.