node-opencv
node-opencv copied to clipboard
Get Matrix value : `mat.get` vs `mat.pixel`
Hello,
I'm not sure of the idea behind mat.get(i, j) vs mat.pixel(i, j).
On my understanding :
mat.get(i, j)is for any non-image Matrixmat.pixel(i, j)is for any image Matrix
I think we might have a unique interface, mat.get and mat.pixel should be aliases methods.
What do you think ? Am i missing something ?
Thanks for your feedbacks
I think that you can use mat.at(x, y) similar to c++.
If I'm using Image Matrix and to use mat.get, the application will throws exception ?