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

Home » Public Forums » archive » Re: simple tiling of images into a montage
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: simple tiling of images into a montage [message #46589] Mon, 28 November 2005 08:54 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Aziz P writes:

> is there a quick and easy way to visualize a whole stack of images as a
> tile or montage? I have MRI data from multiple slice locations and
> wanted to generate a virtual "film" with the slices arranged in a grid
> for simultaneous display. Volume rendering is not desirable in this
> case. Any help or pointers would be much appreciated.

Here is how I would display all 57 of the 80-by-100 images
in the head.dat data set:

file = Filepath(Subdir=['examples', 'data'], 'head.dat')
OpenR, lun, file, /Get_Lun
data = Bytarr(80,100,57)
ReadU, lun, data
Free_Lun, lun

Window, XSize=80*10, YSize=6*100
FOR j=0,56 DO TV, data[*,*,j], j

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: simple tiling of images into a montage
Next Topic: Re: gaussian air dispersion model

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

Current Time: Wed Oct 08 19:19:32 PDT 2025

Total time taken to generate the page: 0.00433 seconds