Simple C++ lib for displaying gray-scale 2D luminance as 3D surface
Is there a library or project that will display an OpenCV gray-scale Mat as a 3D surface? IOW, translate pixel intensity into elevation.
Example here: Look midway down the page for a surface-mapped Lena: https://stackoverflow.com/questions/3...
The solution on that page uses Python. I'd like to stay with C++, and avoid loading in large code dependencies like OpenGL, if possible. Wishful thinking, perhaps. :-)
that's a somewhat unfair comparison. matplotlib has an internal 3d surface renderer builtin.
but one could take this as a hint: why try this from opencv, when you can throw it at 3rdparty programs like gnuplot ?