Merge pull request #24992 from Kumataro:fix24991

ts: Extended getTypeName() to support new types
pull/25015/head
Alexander Smorkalov 1 year ago committed by GitHub
commit 466ad96b1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      modules/ts/src/ts_func.cpp

@ -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…
Cancel
Save