I need to convert an 8-bit IplImage to a 32-bits IplImage. Using documentation from all over the web I\'ve tried the following things:
// general code img2 =
If you do not put the dot (.), some compilers will understand is as an int division, giving you a int result (zero in this case).