I am new to OpenCV, cv::MAT is class including many components, not like an pure array which I could directly use the pointer to pass it to another function, modify it, and still keep the values after that function.
How can I pass cv::MAT as a pointer?
Appreciate a lot for anyone's comments.