Creating images?

16 views
Skip to first unread message

Mike Sarahan

unread,
Sep 9, 2010, 9:41:51 AM9/9/10
to ctypes...@googlegroups.com
Hi Minh-Tri and everyone,

Is there a way to create images in pyopencv? I am trying to convert
my old stuff to the new ways. One function I need to use,
matchTemplate, requires a destination image of a particular size, but
the "createImage" function that I have traditionally used to create
this destination does not seem to be in pyopencv.

Thanks,
Mike

Minh-Tri Pham

unread,
Sep 12, 2010, 2:24:25 AM9/12/10
to ctypes...@googlegroups.com
Hi Mike,

You can use one of many Mat's constructors to create a Mat. It's C++ style
for creating an image.

Cheers,
Minh-Tri

Reply all
Reply to author
Forward
0 new messages