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.
我正在尝试将用于相机校准的 OpenCv C++ 代码移植到 Android。在编写内部和外部矩阵时,我被 C++ CV_MAT_ELEM(mat, elemtype, row, col)中 OpenCv 函数的 java 方法所困扰,它允许我们访问二维多通道图像的各个元素。
请帮帮我,因为我成功地移植了其余的代码,只是卡在这里。
提前致谢。
我从以下链接中找到了答案 - http://answers.opencv.org/question/5/how-to-get-and-modify-the-pixel-of-mat-in-java/