Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Conversion of 3 channel to 1 channel

Hi all, I want to convert BGR video frame (CV_8UC3) to CV_16UC1. In this case, blue channel contains 0 values. I want to do concatenation of green and red frames which should be in short format. It will be very helpful, if anyone suggest.

Conversion of 3 channel to 1 channel

Hi all, I want to convert BGR video frame (CV_8UC3) to CV_16UC1. In this case, blue channel contains 0 values. I want to do concatenation of green and red frames which should be in short format. I have tried hconcat but it is not working as type of matrix should be same. It will be very helpful, if anyone suggest.

Conversion of 3 channel to 1 channel

Hi all, I want to convert BGR video frame (CV_8UC3) to CV_16UC1. In this case, blue channel contains 0 values. I want to do concatenation of green and red frames which should be in short format. I have tried hconcat but it is not working as type of matrix should be same. It will be very helpful, if anyone suggest.