Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[JNI] Convert object array to void pointer

817939Nov 23 2010 — edited Nov 23 2010
Hi to all,

I'm currently dealing with JavaCV library, a porting (via JNI) of openCV libraries in java. The library works fine, but I've encountered an problem in void pointer conversions.
I've this function cvCalcEigenObjects(int arg0, Pointer arg1, Pointer arg2, ... ) to work: Pointers required by the function are arrays of IplImage objects (the opencv image-representing objects).
In C this is done by converting the IplImage pointer to a void pointer, but, how can achieve this in Java as well?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 21 2010
Added on Nov 23 2010
3 comments
630 views