Add region focus method for object detection.

This method sets a certain rectangular area of the rectangle to be a
"region of focus"--that is, pixels outside the area are treated as
background, which could come in handy. The foreground mask itself
remains unchanged.