<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, vtk users.</FONT></DIV>
<DIV><FONT face=Arial size=2>I have a question in terms of 3D reconstruction
using 2d tiff images. </FONT></DIV>
<DIV><FONT face=Arial size=2>I have 30 serial rat brain section
images(RGB) (from cortex to striatum) taken by digital camera and
saved into Tiff file (1392x1040). Then I resize images to 500x374 and
rename them (Hfm.01, Hfm.02-----Hfm.30). I tried to load these 30 images
and reconstruct a 3D structure. This is Tcl code what I used. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>package require vtk</FONT></DIV>
<DIV><FONT face=Arial size=2>package require vtkinteraction</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtkTIFFReader reader</FONT></DIV>
<DIV><FONT face=Arial size=2>reader SetFilePrefix "D:/.../.../Hfm"</FONT></DIV>
<DIV><FONT face=Arial size=2>reader SetDataByteOrderToLittleEndian</FONT></DIV>
<DIV><FONT face=Arial size=2>reader SetDataExtent 0 499 0 373 1 30</FONT></DIV>
<DIV><FONT face=Arial size=2>reader SetDataOrigin 0.0 0.0 0.0</FONT></DIV>
<DIV><FONT face=Arial size=2>reader SetDataSpacing 1 1 3</FONT></DIV>
<DIV><FONT face=Arial size=2>reader SetDataMask 0x7fff</FONT></DIV>
<DIV><FONT face=Arial size=2>reader Update</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtkMarchingCubes iso</FONT></DIV>
<DIV><FONT face=Arial size=2>iso SetInput [reader GetOutput]</FONT></DIV>
<DIV><FONT face=Arial size=2>iso SetValue 0 255</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtkPolyDataMapper isoMapper</FONT></DIV>
<DIV><FONT face=Arial size=2>isoMapper SetInput [iso GetOutput]</FONT></DIV>
<DIV><FONT face=Arial size=2>isoMapper ScalarVisibilityOff</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtkActor isoActor</FONT></DIV>
<DIV><FONT face=Arial size=2>isoActor SetMapper isoMapper</FONT></DIV>
<DIV><FONT face=Arial size=2>eval [isoActor GetProperty] SetColor 1 1
1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtkRenderer ren1</FONT></DIV>
<DIV><FONT face=Arial size=2>vtkRenderWindow renWin</FONT></DIV>
<DIV><FONT face=Arial size=2>renWin AddRenderer ren1</FONT></DIV>
<DIV><FONT face=Arial size=2>vtkRenderWindowInteractor iren</FONT></DIV>
<DIV><FONT face=Arial size=2>iren SetRenderWindow renWin</FONT></DIV>
<DIV><FONT face=Arial size=2>ren1 AddActor isoActor</FONT></DIV>
<DIV><FONT face=Arial size=2>ren1 SetBackground 0.1 0.2 0.4</FONT></DIV>
<DIV><FONT face=Arial size=2>renWin SetSize 500 500</FONT></DIV>
<DIV><FONT face=Arial size=2>renWin Render</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I render, I only see just background in
rendering window. There is noting in my rendering window. Since I build my own
vtk using CMake, I have no problem for using Patented fuction...</FONT></DIV>
<DIV><FONT face=Arial size=2>Is there any body who can help me....
Please.</FONT></DIV></BODY></HTML>