First time here? Check out the FAQ!
answered Jan 17 '16
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.