Any suggestions for Java image manipulation libraries? I 开发者_StackOverflow中文版want to find a way of getting the coordinates of say, a line.
Thanks.
- IMAGEJ: http://rsbweb.nih.gov/ij/
- BoofCV: http://boofcv.org
- Fiji: http://fiji.sc/wiki/index.php/Fiji
- Rapidminer with IMMI: http://www.burgsys.com/image-mining
Haven't used it myself, but ImageJ seems to be a pretty good choice for image analysis and processing.
After reading your comments it seems you need Vector manipulation stuff.
JTS is very popular in this field. Take a look at it - http://www.vividsolutions.com/jts/jtshome.htm . JTS Topology Suite is an API of 2D spatial predicates and functions. Also its Free and Open Source.
Your question is bit confusing. When you say "Image Manipulation" many people will think of scalars.
see following website for more info
http://www.jhlabs.com/
Java is fine for vector calculations on modern hardware. Unfortunately, raster libraries written purely in Java (e.g. ImageJ) is much slower compared to their native counterparts. From what I can see, this happens because:
- It's impossible to use vector CPU instructions;
- Extra bounds checks when iterating over pixel arrays;
- Garbage Collector that may start working in the middle of your algorithm.
After trying several approaches, we ended with a native library based on FreeImage and TurboJPEG that does processing for us. Our java app (Visual Watermark) calls it via JNI interface.
精彩评论