[Imtoolkit-users] IM C++ bindings to Lua
Brought to you by:
scuri
From: DONGIEUX-AKKA C. (S. D. SECURITE)
<chr...@sa...> - 2010-07-22 13:03:57
|
Hello, I am writing a C++ program to display some image processed videos. My program has some basic image processing functions available through IM, but I'd like to extend it thanks to Lua/imLua. IM is working in C++ and Lua, so I'd like to expose my imImage instance in C++ to Lua, make some treatments, and then go back to C++ to display it. Do you think it's possible? (I already know how to do bindings thanks to Luabind) Will the data buffer contained in the C++ part of the imImage instance be copied to the Lua world, or will C++ and Lua (imLua) share the same memory zone? What CPU and memory will it cost compared to C++ only image processing with imLua? Thanks in advance, Chris. # " Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés." ****** " This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system." # |