creates memory corruption (try putting it in a loop in case just one time is not enough).
I had expected that to be supported. Reading the code it looks to me that it can’t be supported by design.
Hi,
I have not understood your question and what you want to do. Your object “hist” is not static, it is just not allocated from the heap.
If you want to re-use an existing histogram object, you will need to use the Copy method after projecting in a temporary one. You cannot avoid the creation of the temporary histogram.