First time here? Check out the FAQ!
answered 2013-11-14 14:12:29 -0600
I've got answer. The problem was in byte order. When cv::Mat creates new image from allocated memory, it use little-endian byte order, while my data was mapped in big-endian.