I'm looking to do a couple basic features with images and Java...
image resizing and cropping
possibly making composite images
What java library would be the easiest to use for that purpose?
thanks
Java Advanced Imaging API
http://java.sun.com/products/java-media/jai/forDevelopers/jaifaq.html
Have a look at the standard Java 2D graphics API first; it can do all the things you mention (resizing, cropping, compositing) without the need for exernal libraries such as Java Advanced Imaging.
See 2D Graphics in The Java Tutorials for an introduction.
Java Advanced Imaging (here is an FAQ for it).
See also this article.
Apache also has an implementation which aims to be a more portable than other frameworks (and is slower). See the sanselan page.
Catalano Framework. You can use the same code in Android too, contains several algorithm in parallel.
Project: https://code.google.com/p/catalano-framework/
Article: http://www.codeproject.com/Articles/656059/Catalano-Framework
Related
I will develop a Java application that uses some image processing algorithms. I have done some image processing applications using C++. I'm currently using BufferedImage object to save data from images but I'm wondering if there is a better way to handle images in Java (improve performance).
Do you guys have any recommendation?
Thanks!!!
if you want to work with images i would look at JavaCv: https://github.com/bytedeco/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.
I think you will find all what you need.
Luca
For JAVA there exists for example:
FiJi
ImageJ
Fiji
BoofCV
Rapidminer with IMMI (for image mining)
Is there any Java image processing library that is as easy to use as and provides the set of functionalities provided by RMagick? (I have seen JMagick and unfortunately that is not the kind of library I am looking for.)
EDIT: Please note that the speed does not concern us as such. What we are looking for is an easy-to-use library that provides many common operations built-in.
Check out this, especially JAI. i dont have experience with this libs, but its on my todo list. there are demos somewhere on the site. maybe it is what you are looking for?!
There's ImageJ, which boasts to be the
world's fastest pure Java image processing program
It can be used as a library in another application. It's architecture is not brilliant, but it does basic image processing tasks.
It's not a pure Java solution, but the IM4JAVA project works for many uses. Im4Java itself is a pure Java library that uses the commandline version of ImageMagick as its back-end. It's easy to use and exposes pretty much all the functionality of ImageMagick without the dangers of including native code in your app. That means you can safely use it in application servers etc. without worrying that a crash in the native code will bring down your whole server.
I am trying to review the different available wiki engines and was interested in one that is java based. Could you recommend or list any java based wiki engine so that i can have check it out.
I am familiar with the following JSPWIKi, Elsie.
Thanks
There are quite a few available. I'd check out the open-source ones first.
I have to say XWiki impressed me most, but that was for a feature set we were looking for quite a while ago, it may not match your exact needs...check out the full list I linked, see if anything fits you well.
You might like to think about Confluence. It's not open source, but it's extensible, if you wanted to make some kind of plugin.
I'm using JSPWiki since a few years.
JSPWiki is a feature-rich and extensible WikiWiki engine built around the standard J2EE components (Java, servlets, JSP).
VQWiki and Confluence have worked well for us.
Another great Java based Wiki engine is GWiki http://labs.micromata.de/display/gwiki/Home it can be embedded and extended by macros written in in Java or Groovy.
I am looking for OpenCV java bindings, all the references point to the processing library. I know processing is java but isn't there a standalone java lib? or should just use processing libs?
I have just found this, a java wrapper of OpenCV :
https://github.com/bytedeco/javacv
Not tested, but I would love to have your point of view about this.
JavaCV is Java wrapper of OpenCV : https://github.com/bytedeco/javacv
Here is good tutorial on eclipse project configuration for JavaCV
And few applications using JavaCV is also posted there.
OpenCV now has an official Desktop Java port. It is still a work-in-progress and you have to compile opencv, but you should definitely take a look as it will be much friendly than JavaCV.
Take a look at these links for information:
http://answers.opencv.org/question/2137/wrapping-opencv-with-desktop-java-building-for-64/
And this:
http://code.opencv.org/projects/opencv/repository/revisions/fe0d07ae53ba9e6dcd1e470165ed0a85cbfce006
UPDATE (Fev 2013):
Java bindings have been released.
javacv looks pretty good, works with my webcam and images in a custom format. I'm just still looking for a possibility to performant create an IplImage from an array of floats.
I found this forum post where people are attempting pretty much the same thing:
http://nuigroup.com/forums/viewthread/3531/#44302
I'm looking for a 3D graphics library for a Java web app. Could use some recommendations - only open source, though.
Edit: I don't really care how the graphics are output - Javascript/applets/canvas/flash but I want to write the graphics logic in Java.
JMonkeyEngine is very good.
Have a look at the The Lightweight Java Game Library. It provided developers access to crossplatform libraries such as openGl. And can run in the browser.
http://lwjgl.org
Here are a few demos:
http://lwjgl.org/applet/
http://fabiensanglard.net/Prototyp/index.php
http://www.cokeandcode.com/info/tut2d-4.html
People are doing awesome projects with this library:
http://lwjgl.org/projects.php
Here's an article that describes how to use jmonkeyengine in an applet.
http://www.streamhead.com/tutorial-jmonkeyengine-applet-hardware-3d-in-the-browser/
(JMonkeyEngine is a rather nice 3d-engine)