how to translate from imageBox->Image to IplImage* ?

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

how to translate from imageBox->Image to IplImage* ?

Post by zlc » Fri Apr 24, 2009 2:22 pm

how to translate from imageBox->Image to IplImage* ?

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

Re: how to translate from imageBox->Image to IplImage* ?

Post by canming » Fri Apr 24, 2009 8:28 pm

If you have an Image<TColor, TDepth> img or IImage img, you can get the IplImage by

Code: Select all

IplImage* iplImage = (IplImage*) Img->Ptr.ToPointer();

Post Reply