问题
I was wondering if anyone knows of a library for chromakey that is written in Java? I am looking to edit the contents of a green screen image using Java to compliment an existing Java development. I know that there is a C library known as open-CV that provides this ability and much more, and was hoping someone could point me towards a JAVA equivalent.
回答1:
There exists JavaCV.
JavaCV first provides wrappers to commonly used libraries by researchers in the field of computer vision: OpenCV, FFmpeg, libdc1394, PGR FlyCapture, OpenKinect, videoInput, and ARToolKitPlus.
Also take a look at JAI
(Java Advanced Imaging API), and have a look at this link from the Java Image Processing Cookbook. Note that JAI is a bit hard to find, hidden somewhere in the Oracle's Java website.
My opinion is that Java lacks a lot in the more scientific communities applications field. I haven't seen anything much satisfactory for computer vision done in Java. If you want to go towards Computer Vision and more advanced stuff, but still want Java, take a look at Processing. If not, switch to C\C++
or Python
.
Here is an interesting blog post
来源:https://stackoverflow.com/questions/7283861/looking-for-chromakey-library-in-java