I have to convert a DICOM image into any supportable format for UIImageView such as JPG, PNG, etc. Are there any frameworks to implement in iOS for iPad?
I found ITK useful to do this but still I don't know how use ITK to implement this.
The only opensource DICOM library I know of is Imebra; it claims support for Windows and OSX only, but as a C++ library I can't foresee any major difficulties with porting it to iOS.
There is one open source Lib "GDCM", you can check this ANS How to display DICOM files in a view on iPhone.
Even i have not tried my self, but seems to be right way to go.
By the way, have you tried what "Benjamin Mayo" answered ? was imebra usful to you ?
Related
Is there any filters available in ios to convert a image to cartoonistic image like exactly in the above picture?
For a much faster solution than ImageMagick, you could use the GPUImageToonFilter from my GPUImage framework:
It combines Sobel edge detection with posterization of the image to give a good cartoon-like feel. As implemented in this framework, it's fast enough to run on realtime video from the iPhone's camera, and is probably at least an order of magnitude faster than something similar in ImageMagick. My framework's also a little easier to integrate with an iOS project than ImageMagick.
If you want more of an abstract look to the image, the GPUImageKuwaharaFilter converts images into an oil painting style, as I show in this answer.
Try to use imagemagick for iOS http://www.imagemagick.org/download/iOS/
Of course you need some serval hours how to use imagemagick for iOS.
But then you should also look at: http://www.fmwconcepts.com/imagemagick/cartoon/index.php
and maybe also on:
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=11140&start=0&st=0&sk=t&sd=a
This Core Image filter section in the iOS dev library, possibly combined with the script referenced by Jonas and a little luck, might get you where you're going. Not sure, having never used either of these technologies.
I am using images in my app which need to have transparency. They are currently .png files, but converting them to .jp2 (JPEG 2000) reduces the file size considerably. I added them to the Xcode project, but they are not loading when I run the app. Does this mean Xcode/Objective C does not support .jp2 files?
You have there files supported by apple, and i can't see jp2. So my answer is: no, jp2 is not supported.
Here you can find what images are supported by iOS UIImage. .jp2 format isn't on that list. So it's not supported.
I am trying to make an app for ipad/iphone with a lot of animations.
There is anyway to make an app in objective-c with animations in other languages and interligate them???
because i have a lot of skills in languages like after effects/illustrator/flash/etc, for that, will be better to me to make the animations in that technologies..
Thanks
If you can export your animations into an HTML5 format, you can certainly display them in a UIWebView. There are a few Flash-to-HTML5 projects available out there now, and new apps like Hype and Purple that can be used to create HTML5 animations "from scratch."
The most simple way to do this is to create the videos in whatever tools and then export to a series of PNG images or use ffmpeg to convert flash or whatever to a series of images. Then display these PNG images one at a time (and don't load them all or you will use up all app memory). If you can deal with a more lossy format, then h.264 can save a lot of space at the cost of a significantly reduced 4:2:0 YUV type colorspace. If you need lossless video or require an alpha channel, or you want to save a lot of space as compared to the PNG method then you should take a look at AVAnimator. Note that you should not integrate any ffmpeg related code into your iOS due to license issues having to do with static linking of LGPL code.
Does the ImageMagick for iOS support converting jpeg images to GIF? How to do that?
GIFS are "inherently supported in ImageMagick", according to comments here.
This article describes how to export an animated GIF from UIImage source using ImageMagick on iOS that you can use as a starting point.
MagickWand *mw = NewMagickWand();
MagickSetFormat(mw, "gif");
Apparently, ImageMagick does support GIF creation on iOS, even though their website clearly states it only supports png, jpeg and tiff on iOS. I haven't found any source of this worth linking and the other link mentioned below is no longer existing, so good luck with that.
i have an flash based animation.but since iphone doesnt support flash.which format can i convert it to other than gif? (gif doesnt support audio)
You may not be able to directly convert it but check out Raphael for javascript / vector animation. It's great! It works on any modern browser including iPhone.
http://raphaeljs.com/
Not sure about the sound part though.