 |
Forums |
Admin Discussion Forums: api Start New Thread
By: Tom Copeland
RE: DICOM gem [ reply ] 2010-11-15 19:56
|
Hello Adil -
You may want to post this question on a dicom forum; this forum is for RubyForge-specific requests only.
Yours,
Tom
|
By: adil iqbal
DICOM gem [ reply ] 2010-09-09 05:35
|
Hi All,
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)
image = @gar.get_image_magick
for this line i am getting the error
pixel array too small (need 147456 elements, got 1)
My dicom iamges are not corrupt.They are visible in dicom viewer.
Is there any other way to show dicoms.
Please reply thank you
Adil Iqbal
|
|
 |