I'm looking to create a binary image in OpenCV where all the values are initialised to 0. I want it to have dimensions 2000x800.
So far I have:
Mat canvas(2000, 800, 1)
But I want it so that the values of each pixel can only be a zero or a one.
Regards.