[vtkusers] Rendering multiple volumes

Dženan Zukić dzenanz at gmail.com
Wed Nov 18 11:13:01 EST 2015


Hi David,

you could work around the issue by having one image, where low values
represent normal brain tissue and high values represent a lesion. Then make
a transfer function which assigns gray color to low values, and red color
to high values. And please report back with the outcome and possibly some
screenshots.

Regards,
Dženan

On Sun, Nov 15, 2015 at 6:08 PM, dewarren <davideugenewarren+vtk at gmail.com>
wrote:

> Weiguang, thanks for the tip — that's interesting.  It's possible such a
> solution could work for my needs.  Unfortunately, my first attempt to
> implement it didn't work.  I think that the answer may lie in VTK's
> definition of a volume.
>
> Briefly, the back-to-front rendering solution could work for me depending
> on
> what the following means: "multiple volumes do not overlap in 3D space".
> If
> that means that two "volumes" (I'm using the term loosely because of my
> ignorance) can be rendered correctly so long as they don't occupy any
> common
> voxels, I think it can work.  If it instead means that two volumes can be
> rendered correctly only so long as their bounding boxes do not intersect,
> then it won't work.
>
> For example, if I have a brain template and a map of a brain lesion on that
> template, I could create two arrays that represent the intact and lesioned
> parts of the brain, and then apply unique transfer functions to each for
> display (coloring the intact brain in grayscale and the lesion in red,
> say).
> The intact and lesioned brain regions would not overlap in space, but they
> would be adjacent, have a complex boundary, and have overlapping bounding
> boxes.  Would it be possible to render this scene with VTK currently?
>
> Many thanks!
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Rendering-multiple-volumes-tp5734685p5734986.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151118/f6fd816a/attachment.html>


More information about the vtkusers mailing list