Can't find what you need? Try here:
Loading
Showing posts with label converting 8bit image to 32 bit image. Show all posts
Showing posts with label converting 8bit image to 32 bit image. Show all posts

Sunday, April 12, 2009

converting 8bit image to 32 bit image

If you have an 8bit source image and you want to convert it to a 32 bit image you do it using cvConvertScale:

newim = cvCreateImage (cvSize (src.rows, src.cols, 32, 1)
cvConvertScale(src,newim)