Runtime enum-to-type mapping
Both Matlab array mxArray and OpenCV’s Mat can hold data any basic type. I want to write code which essentially can handle any data type. My current solution is to write template based code for data processing. I call this code with a switch/case statement. I wanted to avoid rewriting …