Navneeth, thanks for your kind help !<br><br>Firstly, he inter-slice spacing of dataset is 0.15*0.15*0.25, is the space high? And i set the parameter in the vtkBMPReader is that:<br>bmpReader->SetDataSpacing(0.15,0.15,0.25);<br>
<br>Secondly, the opacity transfer function i chosed is vtkPiecewiseFunction, is it proper? if it is improper, can you provide better suggestion?<br><br>thanks.<br><br>-----------------------------------------------------------------<br>
<br><div class="gmail_quote">On Tue, May 18, 2010 at 1:24 AM, S, Navneeth (GE, Research) <span dir="ltr"><<a href="mailto:navneeth.s@ge.com">navneeth.s@ge.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2 Reasons for this artifact are:<br>
1. A dataset with high inter-slice spacing<br>
2. Improper choice of opacity transfer function. You will need a<br>
transfer function with a "softer" slope from background to foreground.<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 17 May 2010 17:57:33 +0800<br>
From: ??? <<a href="mailto:cool.wenwu@gmail.com">cool.wenwu@gmail.com</a>><br>
Subject: Re: [vtkusers] Why there is a terrace effect in the volume<br>
rendering?<br>
To: Darshan Pai <<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>>, vtkusers <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<<a href="mailto:AANLkTikWhbuj2rMIZhrGQ4-dTSAc8baW0-RsCtoy2m2I@mail.gmail.com">AANLkTikWhbuj2rMIZhrGQ4-dTSAc8baW0-RsCtoy2m2I@mail.gmail.com</a>><br>
<div class="im">Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
</div><div><div></div><div class="h5">my dataset is bmp format.<br>
Now, the problem still existed. Could anyone especially the vtk<br>
developers come to help me?<br>
<br>
thanks in advance!<br>
<br>
<br>
On Mon, May 17, 2010 at 4:32 PM, Darshan Pai <<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>><br>
wrote:<br>
<br>
><br>
> tiffreader = vtkTIFFReader::New();<br>
> tiffreader->SetFileName(files[i]);<br>
> tiffreader->Update();<br>
><br>
</div></div><div class="im">-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:<br>
</div><<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20100517/f7aa9bb8/att%0Aachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20100517/f7aa9bb8/att<br>
achment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>祝<br>工作愉快,身体健康!<br>