Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to know if two Mat point to the same data?

I have two Mat a,b;

Eventually in the code there is some a = b;

Is there any way to check whenever a and b within code points to the same data? (Without drawing stuff on one image and showing the other)

How to know if two Mat point to the same data?

I have two

Mat a,b;

a,b;

Eventually in the code there is some it could happen

a = b;

b;

Is there any way to check whenever a and b within code points to the same data? data pointer (within code)?

(Without drawing stuff on one image and showing the other)

How to know if two Mat point to the same data?

I have two

Mat a,b;

Eventually in the code it could happen

a = b;

Is there any way to check whenever a and b points to the same data pointer (within code)?

(Without drawing stuff on one image and showing the other)

How to know if two Mat point to the same data?

I have two

Mat a,b;

Eventually in the code it could happen

a = b;

Is there any way to check whenever a and b points to the same data pointer (within code)?

(Without drawing stuff on one image and showing the other)