Ask Your Question

tomas789's profile - activity

2017-07-25 05:03:23 -0600 asked a question Run OpenCV Viz on iOS

Is it possible to port my existing Viz3d-based visualisation to iOS? It is using VTK under the hood so in theory, it should be doable since VTK can run on iOS.

If yes, is there a working example of this, or can you provide one?

link to original question on Stack Overflow

2017-06-08 05:02:37 -0600 asked a question Converting Y + biplanar CrCb into RGB Mat

I have a data stored in a layout with two planes. First plane is Y plane and second one is CrCb, where those values are interleaved. Each pixel in Y plane is 8 bit long and each pixel of CrCb plane is 16 bits long (8 bits Cr and 8 bits for Cb). How can I create a cv::Mat from this format and convert it to ordinary RGB (or BGR) format? Thank you.