What does this specific matrix constructor does?
What does this constructor does?
Suppose you feed it rectangles in a loop like done here, will it create Matrix that will span all the rectangles?
If I am right, and that loop and constructor are sort of concatenating the different rectangles into one matrix called mask
, then how can I do the same in a better way? Surely there must be a function for that in OpenCV.
Thanks