First time here? Check out the FAQ!
answered 2018-01-04 05:27:30 -0600
the correct way to access CV_16U3C pixels is:
cv::Vec3w pixVal = im.at<cv::Vec3w>(0,2); // unsigned short
for CV_16S3C it would be:
cv::Vec3s pixVal = im.at<cv::Vec3s>(0,2); // signed short