Groups
Groups
Sign in
Groups
Groups
ruby-dicom
Conversations
About
Send feedback
Help
3d volumes
15 views
Skip to first unread message
newbie43
unread,
May 4, 2012, 10:45:56 AM
5/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ruby-dicom
Im new to dicom but is possible to use ruby-dicom and rmagick to
display a dicom volume set.
Christoffer Lervåg
unread,
May 4, 2012, 11:37:36 AM
5/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ruby-...@googlegroups.com
Yes, this is possible, as you can see in the documentation:
http://rubydoc.info/gems/dicom/DICOM/ImageItem#images-instance_method
obj = DObject.read(file)
images = obj.images
images.each_with_index do |image, i|
image.write("frame_#{i}.jpg")
end
Best regards,
Chris
Reply all
Reply to author
Forward
0 new messages