I am looking for a demo / tutorial on how to transfer images from my Windows Runtime components to my own algorithms.
1) Should I transfer file paths in the system and upload images of my naive library?
2) Should I pass byte arrays?
Can I process it to use both the file system and, possibly, the live stream from the camera?
Comments: I could leave some data, sorry, the algorithm used for image processing is a cross-platform implementation in C ++. I want to show this in WP8 and Win8 applications. So I need to get the images from the user interface in Runtime-Components, and then to the C ++ libraries. I agree that I do not want to decrypt it several times. I just need some advice / example of how this will look in the code. I agree that somehow it would be to direct pointers to the Runtime component (the API between the algorithm and the App).
It would also be nice for this if there was any way to deal with how the image memory layout is presented in the application in such a way that it fits into the design of the algorithm. An OpenCV ect would have a BGRBGRBGR layout for a 1 x 3 pixel rgb image. (I hope this will further strengthen my question)
source share