In the arma docs, I can only see cubes/mats having types int, short, long, etc. But not uchar or bool, which would be useful for storing images or masks.
Having a quick look at the git repo, I have seen the term ARMA_U8_TYPE but trying to initialize a cube via:
cube<ARMA_U8_TYPE> my_cube;
Or
cube<uchar> my_cube;
Lead to an error saying those types aren't part of the template.
Is there any way to initialize uchar or bool type matrices? E.g. tweak the config.hpp file?
P.S. I'm running C++11 on a 64-bit Linux machine.
Aucun commentaire:
Enregistrer un commentaire