DGM Support for more than UINT8 Feature Images
Posted: Tue Dec 17, 2019, 18:22
I have successfully gotten DGM 1.7 to build in Linux and Windows 10 and the Demo Train has compiled and worked successfully both by training a single image and with multiple images. In addition, I’ve created arbitrary openCV Mats for the feature vectors, i.e. (row x column x n-features where n > 3) that also worked.
The only issue is when I try to expand to features that would require more than unsigned 8-bit precision and images that are more than 8-bits. When I try to use 16-bit input images and 32-bit floating values for feature matrices I get the following error:
Assertion failed: m1.depth() == CV_8U in "/homDirectory/DGM-v.1.7.0/include/macroses.h", line 113Aborted (core dumped)
So I ask, does the algorithm only support 8-bit unsigned integer features and images or is there something that I’m missing in order to allow higher precision images and features
The only issue is when I try to expand to features that would require more than unsigned 8-bit precision and images that are more than 8-bits. When I try to use 16-bit input images and 32-bit floating values for feature matrices I get the following error:
Assertion failed: m1.depth() == CV_8U in "/homDirectory/DGM-v.1.7.0/include/macroses.h", line 113Aborted (core dumped)
So I ask, does the algorithm only support 8-bit unsigned integer features and images or is there something that I’m missing in order to allow higher precision images and features