how can copy data from matrix pointer to matrix variable
If i have stored data into cv::Mat* frame_pointer. And i can display data using imashow("Frame", *frame);
I have another matrix variable cv::Mat frame. So, how can copy data from frame_pointer to frame?
please show your code, we can't help without.
// Main loop while(1) { g_main_iteration(false); //g_main_iteration(true);
}
Here i can display frames, but i want to pass this pointer data to simple variable of matrix.
I just want to check by copy data from pointer to variable. Please. Here, you can suggest shallow-copy/deep-copy/both. Please.