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 #77100 is a reply to message #77012] Wed, 27 July 2011 17:59 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.")
[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 10:30:13 PDT 2025

Total time taken to generate the page: 0.88266 seconds