[Image] Set at runtime Image data underlying type
Rodousse opened this issue · comments
Is your feature request related to a problem? Please describe.
The same way OpenCV is doing it, we can change at runtime the "Color" underlying type.
For the moment it is fixed to Color<float,4>. But what if we want it to be encoded with 3 unsigned chars, or 26 doubles...
It would get rid of the castData()
templated member function and will come very handy in some cases.