Lets say I was given a boundingRect based on some points and stored it into a Rect object.
How can I use those points and create a mask in openCV? that is, everything outside the bounding rectangle is masked (or set white)
I've tried several different methods and was able to get it to work using a convexHull and fillign with a polygon but can't seem to get it to work with the boundingRect