Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我访问cv::Mat datausing的行float* dataptr = data.ptr<float>(0); 循环之后,我应该释放float* dataptrusing delete dataptr 吗?谢谢
cv::Mat data
float* dataptr = data.ptr<float>(0);
float* dataptr
该指针位置属于 Mat 结构,而 Mat 是真正的所有者。