You can do both of these things with looping.   Initialize a
GetGlobal/SetGLobal pair with an empty Series object (CollectSeries with no
inputs) and in a loop, use Format to create the filenames, Import them,
Append to the GetGlobal output and pass it into SetGlobal.  Also pass the
output of Append through Route, switched to only run when the loop is
complete, and then to Stack to create the volume.

I think a module to do this would be very simple - you'd just parse the
file name base string and looping parameters, create an empty Series, and
implement the above loop directly - using the CallModule interface to call
the Import module to actually read the data.

Greg

Ching-Nien Chen <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 10/13/2000
10:51:51 AM

Please respond to [email protected]

Sent by:  [EMAIL PROTECTED]


To:   [email protected]
cc:   [EMAIL PROTECTED]
Subject:  [opendx-users] Collect & 3D set




Hi, all:
I have two questions -
(1) Modules Collect & CollectSeries can take in a max of
21 objects. Now, if I have over 100 slices of 2D images
(each obtained separately as individual files), does
that mean I cannot view all of them as a volume?
Do I need to merge them into one single 3D file before
-hand?  will this get around the problem?

(2) I notices someone else also had a question as I did  about inputting
2D images (slices) to form a 3D set. I think OpenDX
should make an inboard module to do this (e.g. input
part of a file name and incrementing a numerical part
to extend the filename). The utility of this will
be high. Possible?

Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Ching-nien Chen, Ph.D.
  BEPS/ORS  13/3N-17
  National Institutes of Health
  Bethesda, MD 20892-5766
  301-402-2955 (tel & fax)
  [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reply via email to