mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
ts: Extended getTypeName() to support new types
This commit is contained in:
parent
1d18aba587
commit
3b85d5fac7
@ -10,7 +10,8 @@ namespace cvtest
|
||||
|
||||
const char* getTypeName( int type )
|
||||
{
|
||||
static const char* type_names[] = { "8u", "8s", "16u", "16s", "32s", "32f", "64f", "ptr" };
|
||||
static const char* type_names[CV_DEPTH_MAX] = { "8u", "8s", "16u", "16s", "32s", "32f", "64f",
|
||||
"16f","16bf","bool","64u", "64s", "32u" };
|
||||
return type_names[CV_MAT_DEPTH(type)];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user