Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Writing DIC...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 5533 of 6454
Post > Topic >>

Re: Writing DICOM-Files

by wengi <andreas.weng@[EMAIL PROTECTED] > Mar 18, 2008 at 01:21 AM

On 17 Mrz., 13:01, wengi <andreas.w...@[EMAIL PROTECTED]
> wrote:
> On 17 Mrz., 08:27, wengi <andreas.w...@[EMAIL PROTECTED]
> wrote:
>
>
>
> > On 14 Mrz., 16:35, Abraham Campbell <abra...@[EMAIL PROTECTED]
> wrote:
>
> > > wengi wrote:
> > > > On 14 Mrz., 15:09, wengi <andreas.w...@[EMAIL PROTECTED]
> wrote:
> > > >> Hi there,
>
> > > >> I finally came to a point, that I am able to write dicom-Files
with
> > > >> IDL. I create new objects with the following code:
>
> > > >> obj = OBJ_New('IDLffDICOMex', filename,
> > > >> SOP_Class='ENHANCED_MR_IMAGE', /NON_CONFORMING, /CREATE)
>
> > > >> I'm calculating parameter-maps and write them into the files.
This
> > > >> works so far: I calculate the maps and write six different files.
> > > >> Since I'm evaluating three slices of the heart I do this
iteratively.
> > > >> When IDL comes to the point where it wants to write the six maps
for
> > > >> the second slice into the same directory but with different
filenames
> > > >> I get an error right after calling the obj = OBJ_New line:
>
> > > >> OBJ_NEW:  Error: Unable to add media storage SOP instance UID ,
> > > >> Invalid characters in value for this VR
>
> > > >> The problem is, that this tag (0002:0003) is "set to a new ITT
Visual
> > > >> Information Solutions-generated value" and I don't know how to
solve
> > > >> this problem.
>
> > > >> Maybe someone is able to give me a hint..
>
> > > >> Andreas
>
> > > > Just forgot: When I start a new IDL-session for every single
slice.
> > > > Everything works. Just the iterative method to calculate and write
all
> > > > that stuff over night creates the error.
> > > > Andreas
>
> > > Stupid question.  Did you try calling obj->Commit at the end of each
> > > iteration before looping back and calling obj_new again?
>
> > There are no stupid questions. But, yes I did call it.
>
> Looks strange for me. I formerly put the dicom-writing in a program
> that was called with the data-matrix and a filename. I checked the
> data-type and some other stuff and then called all the stuff to
> finally write the dicom-file.
> I changed my program into a function that is called with the two
> parameters data and filename and returns just an integer 0. And now it
> looks like it works. For me, it becomes not clear why it works now,
> but it works.
>
> Andreas

Getting more and more strange. Evaluated six datasets yesterday. But
now I have the old problem. For the moment it looks random to me. And
this discussion is becoming kind of a soliloquy;)
 




 6 Posts in Topic:
Writing DICOM-Files
wengi <andreas.weng@[E  2008-03-14 07:09:43 
Re: Writing DICOM-Files
wengi <andreas.weng@[E  2008-03-14 07:16:44 
Re: Writing DICOM-Files
Abraham Campbell <abra  2008-03-14 09:35:02 
Re: Writing DICOM-Files
wengi <andreas.weng@[E  2008-03-17 00:27:18 
Re: Writing DICOM-Files
wengi <andreas.weng@[E  2008-03-17 05:01:53 
Re: Writing DICOM-Files
wengi <andreas.weng@[E  2008-03-18 01:21:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 14:28:07 CST 2008.