Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Since images are stored as Mat, you can create a new Mat using `matfromarray' function and use image data and dimensions from old ones, also supply the flag CV_8UC1 which means 8bit 1 channel.

Since images are stored as Mat, you can create a new Mat using `matfromarray' matfromarray function and use image data and dimensions from old ones, also supply the flag CV_8UC1 CV_8UC1 which means 8bit 1 channel. channel.