Android image filter libraries - android

Are there any image libraries available for Android as seen in http://www.jhlabs.com/ip/filters/index.html? Or have some one ported the same? Thanks in advance.

I know this is an old topic, but in the absence of the AWT libraries I have started porting some image filters from the Marvin Image framework (found here)
I have set it up as a googlecode project here so feel free to go check it out.

I don't believe there is a very elaborate set of them, but the graphics class contains a number of methods that are useful for some types of these operations.
For example, using the color matrix you could perform a convolution on an image. Depending on what you want to do, you may have what you need.

Samsung S Pen SDK Has image filters. The filters are implemented for ARM devices. Here's a link: S Pen SDK. Works fine for any Android devices with or without S Pen.

Related

Is there a (somewhat high level) C++ library to create pdf documents that runs on iOS and Android?

I need a C++ library that runs on Android and iOS which can be used to create PDF documents.
So far I have found libHaru:
libHaru is a free, cross platform, open source library for generating PDF files.
The library seems fine and I already found a working example on how to use it with iOS.
But I would like to have a library less "low level", because in libHaru you have to manually create new pages, line breaks etc. So the question is if someone can advice me any C++ library which can run on Android and iOS and is a little bit more high level.
As a bonus: It would be great, if that library is also free (as in freedom) or at least free to use.
Edit: I have tried Qt and it is rather clumsy to use in such an early development stage (regarding iOS and Android development). I would appreciate a stable library with good documentation provided.
You can use Qt for that. The class you would be looking for is QPdfWriter The nice thing about it is, that as you draw onto that thingy, you can replace the QPdfWriter with different kinds of QPaintDevices, like QWidget or QImage and so forth. It's very generic and high level, but Qt is also quite big.

Image Panorama in Android

In my app, i need to take continuous images and make them as panoramic.For that it requires android sensor rotation calculations.Accelerometer pitch,roll,azimuth returns values based on orientation.But it is not accurate,ie suppose if a image is taken in the beginning as the starting image,then next image should be clicked only after sufficient device rotation.Likewise it should take some 5 - 6 images and make one panoramic image.
Here the problem is:
How to calculate the device rotation(using augmented reality if possible) and take images automatically?
Any help is appreciated.Thanks
My answer is actually not about gyroscope, and I don't know if it's still actual for you, but hope it will be helpful for someone.
Panorama feature is already implemented in standard android camera at least since Android 4.0 (perhaps it was available in even earlier versions but I'm not sure, you can check it), so since source code is open for everyone, it might be the easiest way just to copy required functionality.
Although you can download source of apps from https://android.googlesource.com/ (you want LegacyCamera or Camera), you can't just open project of any standard app in Eclipse or other IDE. For example, LegacyCamera depends on Gallery2 and other dependences that might be hard to be resolved.
I spent several days trying to move panorama feature to separate project. You can download it from here: https://github.com/yankeppey/PanoramaSample . Several remarks:
Functional core (creating one panorama image from several ones, progress notices, etc) is on native part.
I used java code from from LegacyCamera which was used in Android 4.0-4.1, not 4.2, because it was significantly easier for me. Native part is taken from 4.2, it has only minor changes inside and almost the same JNI interfaces.
This project is just to help you move panorama feature to your own app, it's not like kind of library, don't expect clean code without bugs, it's just pretty dirty and buggy project. If I have time I'll try to make it cleaner, but there is no warranty :)

Image Effects for Android?

I am making an app which will allow the user to click a picture and then apply various effect filters on the picture. Basically, I want to create an app similar to Pudding Camera.
I researched a lot and came across 3 options to do this:-
1) Use OpenCV and implement all the effects manually [not my first priority as it uses a lot of time, but will do this if all else is unfruitful].
2) Use a library like ImageMagick / ImageJ / Marvin by porting to Android via NDK.
3) Use a library like jjil.
Now I want to know which is the best way to proceed. My priorities are:-
1) I want to be able to tweak the effects and maybe create new custom effects of my own.
2) I want it to run fast as I want my app to be quick and responsive.
3) I want to use a library which is easiest to learn as I am not an expert in image proccesing.
Please help!
OpenCV works well for Android 2.3 and beyond, you can consider FastCV by Qualcomm, which is like OpenCV but more optimized for Qualcomm chips.
I don't not recommend JJIL, it hasn't been updated for ever and only works on very old version of Android.
Best lib for to use and to learn. Catalano Framework. Check this article, you will learn quickly with few lines of code, contains several examples. There is several filters running in multithread, you can check in this namespace Catalano.Imaging.Concurrent.Filters

Android NDK and rendering to live wallpapers

I'm just looking around for starting learning NDK, with one particular project in mind:
I want to continually render a changing bitmap from NDK side to be able to show it in a live wallpaper.
(hence I'm not talking about rendering to OpenGL texture here, but about rendering to a Bitmap)
I googled a bit and found out that there's an option to directly manipulate a Bitmap pixels. But I also found that documentation says that this feature is avaiable only since Android 2.2.
And I'd like to support 2.1 in my live wallpaper.
On the other hand I found several projects that do similar stuff - render something from ndk and show it in live wallpaper. And they work on 2.1. Examples are: wonderful Video Live Wallpaper, and I think Shake Them All Live Wallpaper does the same kind of stuff.
So the question is - am I missing some other way to do continuous rendering to LW other than direct manipulation of Bitmap data?
Or some other thing I got wrong? :)
As far as I know, the other projects that do rendering with the NDK and use jnigraphics prior to 2.2 actually include that library in the project and load it as a 3-rd party library.
See the description of PREBUILT_SHARED_LIBRARY in android-ndk-r5b/docs/ANDROID-MK.html for more information on how to do that.
You can find jnigraphics in:
android-ndk-r5b/platforms/android-8/arch-arm/usr/lib/libjnigraphics.so
Of course, I don't know if it's actually permissible to redistribute part of the NDK (maybe someone else can weigh in on this), but apparently the only holdup with using jnigraphics prior to Android 2.2 is simply the fact that it's not present in earlier releases.
Hope that helps.

Image processing on Android - what libraries can I use?

I need it specifically for image distortion (filters, blurring, etc also welcomed ;) ). Do you know some libraries with appropriate license (Apache, MIT, LGPL also), that I can use? Propriety libraries with reasonable prices - open to them also. Can be in C also.
thanks in advance,
danail
You may want to check out OpenCV which is developed by Intel. It seems to be very mature and well-documented. Of course, it is also open-source.

Categories

Resources