How to accumulate images with C# with opencv?

what is the 1 doing there ?
(it’s getting interpreted as a ‘mask’, which you probably did not want …)

here’s c++ docs for it.

in the end, what are you trying to achieve with it ?