[vtkusers] Why there is a terrace effect in the volume rendering?

朱文武 cool.wenwu at gmail.com
Mon May 17 21:33:22 EDT 2010


Navneeth, thanks for your kind help !

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:
bmpReader->SetDataSpacing(0.15,0.15,0.25);

Secondly, the opacity transfer function i chosed is vtkPiecewiseFunction, is
it proper? if it is improper, can you provide better suggestion?

thanks.

-----------------------------------------------------------------

On Tue, May 18, 2010 at 1:24 AM, S, Navneeth (GE, Research) <
navneeth.s at ge.com> wrote:

> 2 Reasons for this artifact are:
> 1. A dataset with high inter-slice spacing
> 2. Improper choice of opacity transfer function. You will need a
> transfer function with a "softer" slope from background to foreground.
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 17 May 2010 17:57:33 +0800
> From: ??? <cool.wenwu at gmail.com>
> Subject: Re: [vtkusers] Why there is a terrace effect in the volume
>        rendering?
> To: Darshan Pai <darshanpai at gmail.com>, vtkusers <vtkusers at vtk.org>
> Message-ID:
>        <AANLkTikWhbuj2rMIZhrGQ4-dTSAc8baW0-RsCtoy2m2I at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> my dataset is bmp format.
> Now, the problem still existed. Could anyone especially the vtk
> developers come to help me?
>
> thanks in advance!
>
>
> On Mon, May 17, 2010 at 4:32 PM, Darshan Pai <darshanpai at gmail.com>
> wrote:
>
> >
> > tiffreader = vtkTIFFReader::New();
> >         tiffreader->SetFileName(files[i]);
> >         tiffreader->Update();
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://www.vtk.org/pipermail/vtkusers/attachments/20100517/f7aa9bb8/att
> achment-0001.htm<http://www.vtk.org/pipermail/vtkusers/attachments/20100517/f7aa9bb8/att%0Aachment-0001.htm>
> >
>
> ------------------------------
>
>


-- 
祝
工作愉快,身体健康!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100518/288d76ef/attachment.htm>


More information about the vtkusers mailing list