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:
http://groups.google.com/group/ruby-dicom
Best regards,
Chris
On Aug 26, 12:27 pm, adil
<adilb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi,
>
> I am struggling with dicom iamge view in rails app.
> I used dcim and rmagick gem.
> I followed http://dicom.rubyforge.org/tutorial1.htm
> and http://www.clubpacswestmi.net/ ,but didn''t
happend
> anything.
> I am getting diacom object but unable to mak it viewable.
>
> require ''rubygems''
> require ''dicom''
> require ''RMagick''
> .
> .
> .
> @gar = DICOM::DObject.new("path/IM-0001-0001.dcm")
> data = @gar.get_image_magick(:rescale => true)
> data[0].display
> .
> .
> .
>
> ERROR
>
> comparison of Magick::Image with 0 failed
>
> for line
> data = @gar.get_image_magick(:rescale => true)
>
> Please help and reply.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.