Dicom-object with sequence objects [message #17453] |
Tue, 26 October 1999 00:00 |
Karri Kaksonen
Messages: 27 Registered: October 1999
|
Junior Member |
|
|
Has anybody used the IDLffDicom object for reading in
images that contain sequence objects?
My problem is that o->read() will read in everything
and my sequence object ends up as a big array within
one element.
9 : (0020,0000) : UL : REL Group Length : 4 : 0
10 : (0041,0000) : UL : Unknown group length : 4 : 74884
11 : (0041,0010) : UK : : 12 : 80 65 80 89 82 85 83 32 51 46 48 32
12 : (0041,1010) : UK : : 4320 : -2 -1 0 -32 -40 16 0 0 32 0 0 0 4 0 0
0 ...
From this object it is obvious that -2 -1 0 -32 is the sequence tag
'fffe e000' followed by the length -40 16 0 0
After this I have 32 0 0 0 4 0 0 0 which is (0020,0000) group length 4
etc.
What I am really looking for is some mechanism for creating a Dicom
object from a memory array instead of a file.
o=obj_new('IDLffDicom', filename)
seq_obj=o->getvalue('0041'x,'1010'x)
After this I would like to parse my seq_object too like:
s=obj_new('IDLffDicom')
s->read_from_an_array(seq_obj)
Do any medical IDL users have a solution to this?
I mean using the IDL objects.
Another missing feature in Dicom is the write-method.
If the IDLffDicom is available in source format I could
even fix these myself.
--
Regards,
Karri Kaksonen
Picker Nordstar
|
|
|