2018-06-01 05:25:25 -0600 | received badge | ● Popular Question (source) |
2014-05-30 00:10:54 -0600 | asked a question | problem with converting uchar mat to float mat I have a vector of Mat in C++: which is filled with matrices of CV_8UC1 type. I want to have A in another vector of Mat with float type. this is my code: but the conversion doesn't work correctly and the values inside B are not correct. If instead of the above code, I use the following code it works correctly: Can anyone tell me what's wrong with the first code? |