Discussion:
[Pdl-porters] PDL::OpenCV bindings
Chris Marshall
2013-12-10 19:24:01 UTC
Permalink
Hi Dima-

I was wondering if your latest spin with the OpenCV bindings
for PDL came from the C includes or from the new C++ ones.
(It appears OpenCV is ditching the C bindings meaning that
there is now a problematic requirement/dependency on the
specific C++ compiler used in order to link things. Sigh....

Thanks
Chris
Dima Kogan
2013-12-10 21:32:59 UTC
Permalink
Post by Chris Marshall
Hi Dima-
I was wondering if your latest spin with the OpenCV bindings
for PDL came from the C includes or from the new C++ ones.
(It appears OpenCV is ditching the C bindings meaning that
there is now a problematic requirement/dependency on the
specific C++ compiler used in order to link things. Sigh....
I use the C bindings. My understanding is that no new C interfaces are
being added to OpenCV, but the old ones remain maintained. This has been
the case so far, at least.

A bigger problem is that more and more OpenCV functions use non-numeric
types, which means my auto-generated PDL::OpenCV interfaces omit those.
It's looking like a 'full' set of OpenCV bindings would have to be
written and maintained manually. Boo.

dima
Chris Marshall
2013-12-10 23:25:05 UTC
Permalink
My thought that the new, general pdl data type support
would allow us to use the C++ bindings to generate the
code. Admittedly, there would still be some work to
translate the template strategies but it might be simpler
since the C++ bindings allow for more high level
automatic data allocation and freeing. There is the
problem of needed to use the same C++ compiler
to link as to generate the code. Maybe we could have
an extern C set that would be more portable.

--Chris
Post by Dima Kogan
Post by Chris Marshall
Hi Dima-
I was wondering if your latest spin with the OpenCV bindings
for PDL came from the C includes or from the new C++ ones.
(It appears OpenCV is ditching the C bindings meaning that
there is now a problematic requirement/dependency on the
specific C++ compiler used in order to link things. Sigh....
I use the C bindings. My understanding is that no new C interfaces are
being added to OpenCV, but the old ones remain maintained. This has been
the case so far, at least.
A bigger problem is that more and more OpenCV functions use non-numeric
types, which means my auto-generated PDL::OpenCV interfaces omit those.
It's looking like a 'full' set of OpenCV bindings would have to be
written and maintained manually. Boo.
dima
_______________________________________________
PDL-porters mailing list
http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters
Loading...