First time here? Check out the FAQ!
answered 2016-01-17 13:56:47 -0600
you are right the return value is 0, means it is CV_8U. I will check the input image, it is strange, becuase I thought I already have converted it to CV_32FC1.