comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Xinteranimate and dicom
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Xinteranimate and dicom [message #77076 is a reply to message #77012] Mon, 01 August 2011 09:31 Go to previous messageGo to previous message
M is currently offline  M
Messages: 3
Registered: July 2011
Junior Member
On Jul 27, 7:59 pm, David Fanning <n...@idlcoyote.com> wrote:
> M R writes:
>> I am using Xinteranimate command to produce an animation containing
>> DICOM images. I have the following error
>
>> - Transform_Volume
>
>> The code is given below.
>
>> fil = file_search('Filepath\DICOM\*', COUNT = count)
>
>> image = read_dicom(fil[0])
>
>> s = size(image)
>
>> arm = make_array(s[1],s[2],count,/nozero)
>
>> loadct, 0
>
>> xinteranimate, set=[3*s[1],3*s[2],count-20],/showload
>
>> for i = 0, 36 do begin
>
>>   rotData = Transform_Volume(data, Rotation =[0,0, (i*10) MOD 360],
>> Missing = 0)
>
>>   TVImage, Reform(Max(rotData, DIMENSION = 1))
>
>>   XInteranimate, Frame = i, Window = !D.Window
>
>>  End
>
>>  Xinteranimate, 50
>
>>  end
>
>> Is it because I am using DICOM images or anything else?
>
> You mentioned an error. Did you want to tell us what it was? :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

The program gets stuck at transform_volume line with the
transform_volume code opening in a new window and the pointer at these
lines.

Catch, theError
IF theError NE 0 THEN BEGIN
Catch, /Cancel
ok = Dialog_Message(!Error.State.Msg)
RETURN, -1
ENDIF

Isn't Xinteranimate not compatible with DICOM images? Thank you!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Histogram Bug Update
Next Topic: Re: multi-color (time-series) line plot

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:17:33 PDT 2025

Total time taken to generate the page: 0.95817 seconds