]]>https://imebra.com/objective-c-wrappers-for-ios-osx-gnustep/feed/0Imebra for Android has been releasedhttps://imebra.com/imebra-for-android-has-been-released/
https://imebra.com/imebra-for-android-has-been-released/#commentsMon, 30 Sep 2013 11:09:57 +0000http://imebra.com/?p=400Imebra for Android is available for download. It comes […]

]]>https://imebra.com/imebra-for-android-has-been-released/feed/0Imebra 2013-07-16 has been releasedhttps://imebra.com/imebra-2013-07-16-has-been-released/
https://imebra.com/imebra-2013-07-16-has-been-released/#commentsTue, 16 Jul 2013 07:56:36 +0000http://imebra.com/?p=366Some serious bugs were packed in the older version of I […]

One bug was introduced in the previous version (#94 charsetConversionWindows::toUnicode doesn’t return the converted string) and was due to lack of testing on the Windows platform (unfortunately for now the automatic build performs only tests on Linux).

Another bug (#96 Imebra creates datasets with implicit data type with wrong tag length) was there since ever, but only a change in the compiler version and a new version of Valgrind brought it up.
This was nasty: when Imebra was generating DICOM files using the implicit transfer syntax, then some garbage data was written in the DICOM file: the bug was visible only when compiling with the updated versions of GCC & MINGW, while when using clang it didn’t show up. The error wasn’t detected by static analysis either (cppcheck and clang static analysis tools).

]]>https://imebra.com/imebra-dicom-sdk-for-android/feed/0Imebra 2013-05-21 has been releasedhttps://imebra.com/imebra-2013-05-21-has-been-released/
https://imebra.com/imebra-2013-05-21-has-been-released/#commentsTue, 21 May 2013 12:43:56 +0000http://imebra.com/?p=222Imebra 2013-05-21 has been released. The open source li […]

]]>Imebra SDK for Android is evolving rapidly. It already surpasses the competition regarding speed and size of the Dicom files.

Imebra SDK for Android is based on the C++ library “Imebra SDK for C++” plus some Java wrappers that call the native library via JNI.

Because “Imebra SDK for Android” is basically written in C++, it is extremely fast when decoding the Dicom stream (oh, by the way, it accepts compressed and uncompressed streams).

“Imebra SDK for Android” loads only the parts of the Dicom file it needs, so it can easily open a hundreds of Mb file containing several images and decompress the images when they are needed; Competitor SDKs die when exposed to those files.

Stay tuned for more information about “Imebra SDK for Android”, or click Contact.

The possibility of reading compressed DICOM files is coming to Android.

Imebra SDK for Android has reached an alpha status and started spitting out valid data on Android devices.

Imebra SDK for Android uses the native library Imebra SDK for C++ plus some JNI wrappers that allow to use the library from Java. Imebra SDK for Android is composed by a SO module containing the native code and a JAR containing the Java interface.

In order to fund further development of Imebra SDK for C++, Imebra SDK for Android will be available only to paying customers, which will receive also the full source code of the JNI wrappers (non redistributable). A demo version of Imebra SDK for Android will be available (binaries only, with limitations).

]]>https://imebra.com/imebra-on-android-is-coming/feed/0Converting a Dicom file to a jpeg or video file using dicom2jpeg and FFMpeghttps://imebra.com/converting-a-dicom-file-to-a-video-file-using-dicom2jpeg-and-ffmpeg/
https://imebra.com/converting-a-dicom-file-to-a-video-file-using-dicom2jpeg-and-ffmpeg/#commentsTue, 20 Sep 2011 21:07:33 +0000http://imebra.com/?p=90This article explains how to use dicom2jpeg and ffmpeg […]

]]>This article explains how to use dicom2jpeg and ffmpeg to convert a dicom file to a flash movie, suitable for streaming from a website.

dicom2jpeg is an application distributed with Imebra (look in the examples folder), while ffmpeg is an open source application downloadable from here or here (windows).

dicom2jpeg can convert a dicom file to one or more jpeg images, while FFMpeg is able to produce a movie (mpeg, flash and other) from a series of images. Combining them together allows us to convert a dicom file to a movie.

The version 0.0.45 of Imebra introduced a new feature to dicom2jpeg that makes it able to call directly ffmpeg with the automatic setting of few key options (like the frame rate).

In order to conver a dicom file to a flash movie, open a command line terminal and type:

pathToDicomFile = path to the dicom file that has to be converted to a movie

pathToOutputImage = path to the output jpeg images: e.g.: c:tempimage.jpg will generate the series of images c:tempimage0.jpg, c:tempimage1.jpg, c:tempimage2.jpg,…
The folder where the images will be create has to exist

pathToFfmpeg =path to the ffmpeg application. Most of the time the string ffmpeg is enough

pathToMovieFile = path to the movie file that generated by ffmpeg, e.g.: c:movie.flv a flash file or c:movie.wmv to generate a windows media video file

After -ffmpeg you can specify all the options accepted by ffmpeg, using the same syntax specified in the ffmpeg manual.

Some parameters needed by ffmpeg, like the frame rate and the input images are automatically added by dicom2jpeg.

Using dicom2jpeg on a web server

Few precautions have to be taken to use dicom2jpeg on a web server.

The software may be called from several threads at the same time; it is important that when dicom2jpeg is called a fresh folder for the images and the final movie is generated, possibly using a session identifier in the folder name.

After the movie has been generated, the images or all the folder should be deleted by the calling application.

Converting a Dicom file to a video file…the commercial way

Dicom Media Bridge is a Directshow codec based on Imebra that allows Windows media applications to play Dicom files directly.

After installing Dicom Media Bridge you can play Dicom files using Windows Media Player or you can convert them to video files using Windows Media Encoder or other similar products.