Login  Register

Re: Feedback on OpenCV-to-ImageJ Plugin needed

Posted by Burger Wilhelm on Jun 29, 2016; 7:51am
URL: http://imagej.273.s1.nabble.com/Feedback-on-OpenCV-to-ImageJ-Plugin-needed-tp5016747p5016753.html

Hello Jan,

nice job! I too have been fiddling with OpenCV integration into ImageJ for a while now, so here are a few thoughts:

1) I am aware of at least three different Java bindings/wrappers for OpenCV, all with different APIs:
- the official OpenCV-Java release (http://opencv.org/opencv-java-api.html),
- the OpenCV 3.0 Java book API (https://github.com/JavaOpenCVBook/),
- JavaCPP/JavaCV (https://github.com/bytedeco/javacv).
Only JavaCV (which you are using) seems to support the latest (3.1) version of OpenCV. Since it appears that version 2.4 is still being developed in parallel, I wonder which route is safe in the long run.

2) When using native libraries in Java, class loading can be a painful issue. Things are easy if the application just launches and runs once, but different when, e.g., performing 'compile-and-run' on ImageJ plugins, since this causes the associated classes to be (re)loaded dynamically. Did you check if your setup handles this situation?

3) From my point of view, platform independence is probably THE most important reason for using ImageJ. Do you think it possible to create a single, flexible OpenCV setup for multiple platforms?

--Wilhelm


-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Jan
Sent: Dienstag, 28. Juni 2016 22:48
To: [hidden email]
Subject: Feedback on OpenCV-to-ImageJ Plugin needed

Hi,
I am working on a plugin to extend ImageJ with OpenCV functionality.
You can watch a demo video on YouTube to get a first impression:
https://youtu.be/irnBuvW2dEo
Code and jars have been uploaded to GitHub:
https://github.com/m4dguy/CVForge
It still needs polish, so any suggestions and are feedback is greatly appreciated.
Cheers,
Jan

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html