{"id":409,"date":"2007-12-19T22:27:58","date_gmt":"2007-12-19T21:27:58","guid":{"rendered":"http:\/\/wp.devco.net\/?p=409"},"modified":"2009-10-09T14:07:30","modified_gmt":"2009-10-09T13:07:30","slug":"processing_medical_x-ray_data","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2007\/12\/19\/processing_medical_x-ray_data.php","title":{"rendered":"Processing Medical X-Ray Data"},"content":{"rendered":"

Recently one of our snakes died due to an abscess in her body, we tried everything to safe the poor snake but in the end – and almost \u00a31200 later – it passed away one night.<\/p>\n

While undergoing treatment we were given copies of the X-Ray data, at the time I tried to read the RAW data files but failed, finally writing it off as some proprietary format specific to the X-Ray machine vendor.<\/p>\n

Today I came across an item on MacNN<\/a> mentioning OsiriX<\/a> which is basically an Open Source suite to drive all things medical.  Turns out the data is encoded in a standard format known as DICOM<\/a> which defines the data type and also a network protocol for these machines to communicate with each other and their image storage over a network.<\/p>\n

The data I got was in RAW format so none of the DICOM headers were present, this led me to some other software and a FAQ for importing unsupported\/unknown DICOM data<\/a>.  Using the information there I was able to work out based on file size that my data was 512 x 512 big with an Header offset of 6480.<\/p>\n

Armed with this information I was able to do a pretty decent import into OsiriX, the output of the one X-Ray can be seen below (click for full size).<\/p>\n

<\/a><\/p>\n

<\/center>The infection is clearly visible on the left of the image, this was removed but a second formed.  Anyway, so the point of this post isn’t to go on about the poor departed snake but to mention the fantastic medical imaging tool OsiriX which is a pure Mac application and while I doubt many of my Blog audience will care for it it might still be of some use to some Googlers.<\/p>\n","protected":false},"excerpt":{"rendered":"

Recently one of our snakes died due to an abscess in her body, we tried everything to safe the poor snake but in the end – and almost \u00a31200 later – it passed away one night. While undergoing treatment we were given copies of the X-Ray data, at the time I tried to read the […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","footnotes":""},"categories":[6,5],"tags":[10,28,49,43],"_links":{"self":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/409"}],"collection":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/comments?post=409"}],"version-history":[{"count":1,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/409\/revisions"}],"predecessor-version":[{"id":546,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/409\/revisions\/546"}],"wp:attachment":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/media?parent=409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/categories?post=409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/tags?post=409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}