Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Using 32 bit ARGB to create Mat

Hello,

I have a parallel thread running here about my troubles with using camera buffers to initialize a Mat. That thread has gotten all mixed up so I am creating a fresh thread to ask only one question.

How can 32 bit ARGB buffers be used to initialize a Mat. I found some references to using the BitmaptoMat function but that appears to be available only under Android.

I am on a platform without an official port of OpenCV so a lot of OS level work (reading and writing images) is being done by hand.

click to hide/show revision 2
No.2 Revision

Using How to create a Mat for 32 bit ARGB to create Matimage

Hello,

I have a parallel thread running here about my troubles with using camera buffers to initialize a Mat. Mat. That thread has gotten all mixed up so I am creating a fresh thread to ask only one question.

How can 32 bit ARGB buffers be used to initialize a Mat. Mat. I found some references to using the BitmaptoMat BitmapToMat function but that appears to be available only under Android.

I am on a platform without an official port of OpenCV so a lot of OS level work (reading and writing images) is being done by hand.