Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image processing library for Android and Java

I am currently working on a small project, which shall load an image from an URL, resize and change it's colour depth to only 16 colours using a specified colour palette. The main problem for me is, that I want a program, which I can use on an Android device and on a desktop computer. Do you know a good image processing library which works on both systems?

Thanks in advance.

like image 339
Octoate Avatar asked Jul 13 '11 17:07

Octoate


People also ask

What is image processing in Android?

Android allows you to manipulate images by adding different kinds of effects on the images. You can easily apply image processing techniques to add certain kinds of effects on images. The effects could be brightness,darkness, grayscale conversion e.t.c. Android provides Bitmap class to handle images.

What is Java library Android?

Like the small description of each project type says, a Android Library is just another Android Application project,often referred to as Module.And Java Library is another word for a java project.The only difference between a module and a project is the complexity.

Can use Java library in Android Studio?

To use a Java library (JAR file) inside your Android project, you can simple copy the JAR file into the folder called libs in your application. *. jar files in this folder are included into the compile classpath via the default build.

Which library is used in Android?

The Android Databinding Library is inbuilt to the Android Support Library. It requires at least Android studio version 1.3 to work. This library, unlike ButterKnife, does not make use annotations.


2 Answers

There are several tools:

  • ImageJ, http://rsbweb.nih.gov/ij/
  • Fiji, http://fiji.sc/wiki/index.php/Fiji
  • IMMI, http://www.burgsys.com/image-processing-software-free.php
  • BoofCV: http://boofcv.org
like image 69
Radim Burget Avatar answered Sep 23 '22 19:09

Radim Burget


The answers on this page are quite dated as of February 2014. I was searching to find a free Android image processing library and I came across the Stanford lecture notes here: http://www.stanford.edu/class/ee368/Android/index.html

Investigating a bit further, I found out that they are using OpenCV in their course material. It has a Java interface (along with many other languages), but the library is written natively in C++. They state that:

Along with well-established companies like Google, Yahoo, Microsoft, Intel, IBM, Sony, Honda, Toyota that employ the library, there are many startups such as Applied Minds, VideoSurf, and Zeitera, that make extensive use of OpenCV.

I am excited(!) to have found this, looking forward to going home and giving it a go.

like image 31
Zhubarb Avatar answered Sep 23 '22 19:09

Zhubarb