Ruby Dicom


I am struggling with dicom iamge view in rails app.
I used dcim and rmagick gem.
I followed
and ,but didn’t happend
I am getting diacom object but unable to mak it viewable.

require ‘rubygems’
require ‘dicom’
require ‘RMagick’
@gar =“path/IM-0001-0001.dcm”)
data = @gar.get_image_magick(:rescale => true)


comparison of Magick::Image with 0 failed

for line
data = @gar.get_image_magick(:rescale => true)

Please help and reply.

Hi Adil

I think you would have a much better chance to get an answer to your
question if you post this on the ruby-dicom forum instead:

Best regards,

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs