When you read in an image, you get a Field object that has positions,
connections, and a colors component. You need to create a scalar field to
Isosurface. You can Rename(..., "colors", "data"), then Compute("mag(a)",
...) or something like that to make it scalar. If I were you, I'd send the
result of ReadImage into Print(..., "rd", "colors") to see whats there -
might be ubyte or float, 0-255 or 0-1.
Greg
Frank Erdmann
<[EMAIL PROTECTED]> To:
[email protected]
Sent by: cc:
[EMAIL PROTECTED] Subject: [opendx-users]
Creating 3d model from tiff-files
son.ibm.com
08/28/2003 03:16 AM
Please respond to
opendx-users
Hi!
I've tried several hours to get along with OpenDX, read the
User-Reference, searched the web etc. but can't get along with what I
want to do.
I have a tiff-file with 16 Frames; slices of a Chloroplast
made with a laser scanning microscope and I like to render a zoomable
and rotationable 3D-model from this data. I started building the
appropriate network with FileSelector -> ImageReader -> Filter ->
Display. I know that I need some more modules to get this working and
looking good, Isosurface and Slab is needed, Autocolour and Histogram
would also be fine to correct the brightness etc of the images. Whenever
I try to build FileSelector -> ImageReader (-> Filter) -> Isosurface or
-> Autocolour I get an Error: Field is missing "data" component. I don't
have any idea what data field is needed to be set in those modules
because I have picture files as input data.
Is there any way to derive another datatype from my tiffs p.ex. with
convert and compute or am I missing something else? Has anyone build an
example network to do something like I what to do and can share his/her
experiences with me?
Thank you very much for your help!!!
Frank