Update cxtype.go
This commit is contained in:
parent
1e791cbaa7
commit
a691a20dc3
1 changed files with 3 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ static int CV_IS_IMAGE_(void* img) {
|
||||||
static int myGetMatType(const CvMat* mat) {
|
static int myGetMatType(const CvMat* mat) {
|
||||||
return mat->type;
|
return mat->type;
|
||||||
}
|
}
|
||||||
|
static char* myGetData(const CvMat* mat) {
|
||||||
|
return (char*)mat->data.ptr;
|
||||||
|
}
|
||||||
static int myGetMatNDType(const CvMatND* mat) {
|
static int myGetMatNDType(const CvMatND* mat) {
|
||||||
return mat->type;
|
return mat->type;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue