Sequencer->Format-ReadImage Sequencer will output integers, which can correspond to your file sequence numbers and give you a VCR like-widget. Pass the output to Format, which is like a sprintf in c. You can use it to compose your filenames (e.g., "my_image%0d.jpg" for my_image01.jpg, my_image02.jpg, ...). ReadImage originally only supported raw rgb, TIFF, GIF, MIFF. I don't know off-hand if the ImageMagick extensions for output also are supported for input so that IM convert is invoked to read JPEGs.
Inside a network, you can do a ForEach loop reading each image and appending it to a series group, whose member value corresponds to a position in Z. After the loop is completed, then do a Stack on the series group and it will create a volume. The Accumulate network in the sample set shows one way of doing a loop. The couple of samples entitled MRI, show some ways to look at such a volume. "cnchen" <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 07/31/2000 09:54:46 AM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: "'OpenDX-users'" <[email protected]> cc: "'Chen, CN'" <[EMAIL PROTECTED]> Subject: [opendx-users] Programs to get Jpeg slices into volume? Hello, all: 7/31/2000 I have two questions: 1) how to automatically read in image files (jpeg slices) with sequential file numbers without typing in the file names every time? Any examples that you know? 2) Is there a net program that can merge these slices into a volume data set for rendering? (The dxsample example which uses STACK module does not tell very much.) Thanks for your help. CN Chen, Ph.D. Physical Scientist National Institutes of Health 301-402-2955 [EMAIL PROTECTED]
