section_logo

HTML5 DICOM Viewer: First try

29-05-2011 at 15:51:13 | 2 comments

I'm working healthcare software focused on radiology. I've tried many radiology images viewers, recently they're moving from the desktop to the web but all of them have something in common: you need to install something: java, activex, flash, ... So I decided to give a try to the HTML5 technologies and create a fully pluginless viewer.

The main problem with medical images is that they're stored in DICOM format. Basically is a binary format which metadata refering the patient data, study parameters, ... following by a 16 bit image data. Due to those 16 bits per pixel the best way to manage it is to download the whole image in DICOM format and process it directly on the client side to render the final 8 bpp image. Right now I'm developing the standard 2D manipulation tools, but I would like to try some 3D postprocessing in the future (Using mrdoob's three.js probably).

The main drawbacks I've found using html5 is the differences between browsers of the webworker standard. Specially while communicating with the main thread using postMessage. I hope they (ffox) will fix this in the future :)

29-05-2011 at 15:51:13 | 2 comments

Presonus 1 Box

26-01-2011 at 00:36:13 | 1 comment

So long time since last post :) I tried to avoid the typical "this year i'll make blablabla" that bloggers use to post first weeks of January, so I preferred to wait for something more interesting to say

I'm still coding for fun as usual, doing some little android stuff and so on... but if there's something that I love as much as code or even more is music!

I use to play guitar and I wanted to record some songs with somehow quality (Sadly just recording quality but not playing :P). So I to present to myself (I love myself so much) a very nice recording pack: Presonus 1 box (Thank you for advice me).

It cames with everything you need to record: a very nice soundcard with 2 microphone/line inputs with Phantom 48V, large condenser microphone, and monitor headphones.

Along with that hardware, it also includes a license of Studio one software which I found very very easy to use and intuitive.

Not so much to say, just recorded few test, you can try them on the music section where you could find the difference between my old microphone and the new one :)

26-01-2011 at 00:36:13 | 1 comment

Perfect metronome for android

05-11-2010 at 00:47:35 | 2 comments

Finally I've managed to finish the application I've working last weeks. It's a simple metronome that I started for two reasons: I wanted to try audio programming in Android and I really needed one for my guitar lessons

First thing I did, obviously, it was to try to find any suitable metronome on the market, but as I commented in my previous post usually the android audio-apps suffer from some kind of lag. That latency maybe it's not a real problem a game, but for a metronome it makes the application just useless.

I used some tricks I've used in demoscene while coding my softsynth and finally I got it working properly.

The next step after having the engine working it was to try to create a comfortable and nice looking interface (Thanks for the advices).

I just finished with few details such as choosing from different soundbanks, allowing to increase/decrease automatically the BPM, allow to store tracks presets and songs probably the hardest part due to the amount of UI interface needed to manage the songs and tracks and because I was absolutly newbie on sqlite.

Here you can see a more detailed info about this application called Perfect Metronome I know... it could sounds very arrogant but I was just so excited when I got it working :)

Anyway here are the codes for the lite version (1 minute playing limitation) and the payed one (0.80€):

Following you can see four recordings of three metronomes from Android Market and Perfect Metronome. All the recording were done at 120BPM and without any other process running to see the lag effect I pointed before.

05-11-2010 at 00:47:35 | 2 comments