how to create image

Ask questions on using Emgu CV with C++
Post Reply
zlc
Posts: 12
Joined: Tue Apr 21, 2009 7:38 am

how to create image

Post by zlc » Mon Jun 15, 2009 12:52 pm

what is equivalent to openCv function:
IplImage* img = cvCreateImage(cvSize(picture->Width,picture->Height),IPL_DEPTH_32F,1);

How it would be in EmguCV?

canming
Site Admin
Posts: 1038
Joined: Thu Feb 28, 2008 4:16 pm

Re: how to create image

Post by canming » Mon Jun 15, 2009 10:49 pm

Code: Select all

Image<Gray, float>^ img = gcnew Image<Gray, float>(picture->Width, picture->Height); 

Post Reply