commit
0d127ce66d
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) {
|
||||
return mat->type;
|
||||
}
|
||||
static char* myGetData(const CvMat* mat) {
|
||||
return (char*)mat->data.ptr;
|
||||
}
|
||||
static int myGetMatNDType(const CvMatND* mat) {
|
||||
return mat->type;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue