First time here? Check out the FAQ!
answered 2015-09-28 02:37:30 -0600
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!