-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hello,
I've tried to populate a matrix myself, for example have a matrix 3x3:
1 3 5
2 4 6
7 8 9
But I couldn't find a way to do it, in C++ we can use mat.at(0,0) = 1 for example, to change a value in the matrix.
Is it already possible to do it and I'm missing something or is it something not implemented?
Ideally doing something like:
var mat = new cv.Mat(3, 3, type, [1,3,5,2,4,6,7,8,9])
or
mat.at(i,j,value)
Also my goal was then to use cv::calibrateCamera, cv::solvePnP and cv::Rodrigues which are not implemented yet. So once I understand how to populate a matrix I can try to implement myself those new functions unless you can do it fast (I've already spent 1 and a half days trying to do it unsuccessfully...)
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels