mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
s/cols,rows/rows,cols/g re #30
This commit is contained in:
parent
0de039956e
commit
454fd1188a
@ -49,7 +49,7 @@ base datastructure in OpenCV. Things like images are just matrices of pixels.
|
||||
|
||||
#### Creation
|
||||
|
||||
new Matrix(cols, rows)
|
||||
new Matrix(rows, cols)
|
||||
|
||||
Or if you're thinking of a Matrix as an image:
|
||||
|
||||
|
||||
@ -105,8 +105,8 @@ Matrix::Matrix(): ObjectWrap() {
|
||||
}
|
||||
|
||||
|
||||
Matrix::Matrix(int cols, int rows): ObjectWrap() {
|
||||
mat = cv::Mat(cols, rows, CV_32FC3);
|
||||
Matrix::Matrix(int rows, int cols): ObjectWrap() {
|
||||
mat = cv::Mat(rows, cols, CV_32FC3);
|
||||
}
|
||||
|
||||
Matrix::Matrix(cv::Mat m, cv::Rect roi): ObjectWrap() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user