In a code I didn't write and I have to use, using OpenCV (but it could be anything) I come across something like :
void foo (long addrImage){
[...]
Mat& image = *(Mat*)addrImage;
[...]
}
I want to do the reverse operation : create an adress based on a Mat&
, but I'm not sure I understand completely the trick used.
What would the line be ?