I am working on OpenCV and I have a confusion. I went through this link and I did not quite understand the concept of '=' operator in OpenCV.
Suppose I declare 3 Matrices as follows:
Mat img1, img2, gray;
If I obtain the matrix gray
from the image captured from the camera and assign it to img1
as mentioned below, what actually happens? Does the data in gray
get copied to img1
or is it that data is shared between them?
img1 = gray;