Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I found the solution. Data type from buffer actually CV_16SC1. However, imshow will only shows gray windows. So, I need to convert from CV_16SC1 into CV_8UC1. Thanks to all for helping!