[vtkusers] Volume rendering produces rough surface at clipping plane

Simon Esneault simon.esneault at gmail.com
Mon Sep 3 04:10:42 EDT 2018


+1 for this feature, this will be of great help for us too !

The same "rough" effect is visible along the faces of the bounding box of
the volume, will this improvement works when we use the
SetCroppingRegionPlanes( ... ) method of the GPUVolumeMapper, ie without
using clipping planes but "CroppingRegionPlanes" ?

Thanks !
Simon

Le mer. 29 août 2018 à 15:52, Andras Lasso <lasso at queensu.ca> a écrit :

> This is awesome! Thanks a lot for implementing this. It will greatly
> improve clipped volume visualization.
>
>
>
> Andras
>
>
>
> *From:* Sankhesh Jhaveri <sankhesh.jhaveri at kitware.com>
> *Sent:* Wednesday, August 29, 2018 9:49 AM
> *To:* Andras Lasso <lasso at queensu.ca>
> *Cc:* vtkusers at vtk.org
> *Subject:* Re: [vtkusers] Volume rendering produces rough surface at
> clipping plane
>
>
>
> Hi Andras,
>
> !4627
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.kitware.com%2Fvtk%2Fvtk%2Fmerge_requests%2F4627&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694883358&sdata=9QSPhtudVqpDJdcEPxqZWO9hV0iqEG%2Fmt58KwRe9w8I%3D&reserved=0>
> implements a mode in vtkVolumeProperty that lets you use custom intensity
> values for voxels in the clipped space when computing gradients at the clip
> face.
>
> Best,
> Sankhesh
>
>>
>
>
> On Fri, Nov 3, 2017 at 10:48 AM Andras Lasso <lasso at queensu.ca> wrote:
>
> Hi all,
>
>
>
> I’m working on visualizing cardiac images using volume rendering. I need
> to cut into the volume to see surfaces inside the heart, which works quite
> well by using clipping planes of the volume mapper. The only problem is
> that that surface at the cut plane looks very rough, which makes it
> difficult to distinguish from actual endocardial surfaces. If I “cut” the
> volume by setting voxel values outside the clipping box to “empty” (-1000 =
> air intensity value) then the cut surface looks nice – smooth and flat. See
> example for both cutting method in the attached files.
>
>
>
> Is there a way to change volume renderer to get smooth cut surfaces (the
> same look as we get by setting outside voxels to “empty” values)?
>
>
>
> Andras
>
>
>
> ---
>
>
>
> See full resolution images and more examples here:
>
> https://1drv.ms/f/s!Arm_AFxB9yqHsOsClG_QsMx-4sh8rg
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Ff%2Fs!Arm_AFxB9yqHsOsClG_QsMx-4sh8rg&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694883358&sdata=Kv2zau7vHuPxMEosN89SF1IGYjCwCKQk0lrngO9Tnzg%3D&reserved=0>
>
>
>
> CT volume can be downloaded from here:
>
> http://slicer.kitware.com/midas3/download/item/292309/CTA-cardio.nrrd
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fslicer.kitware.com%2Fmidas3%2Fdownload%2Fitem%2F292309%2FCTA-cardio.nrrd&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694893363&sdata=atKizvUvC92hjztLus1b6ybp8OrwZJh6%2B599fLLctbU%3D&reserved=0>
>
>
>
> ________________________
>
> Andras Lasso, PhD
>
> Senior Research Engineer, Associate Director (Engineering)
>
> Laboratory for Percutaneous Surgery
>
> School of Computing, Queen's University
>
> Kingston, ON, Canada
>
>
>
> _______________________________________________
> Powered by www.kitware.com
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694893363&sdata=ZRfjX2PMLuebTLfEAI6BAwlcJJfS6pcq9XD7FZ13orU%3D&reserved=0>
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694903376&sdata=XJBH963yUgggk7W0IrZ9QlvSu11RcSUG%2FRcfMdU7DFs%3D&reserved=0>
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694903376&sdata=pDypE3JBYa%2FB%2Foc%2BJXo7GQ%2Bgg4uUexo5jNlMZwRASpE%3D&reserved=0>
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694913376&sdata=zglxMXZOb8qtwFhuQa9pp3SUnyX3xPHz4BN1rIOvk4s%3D&reserved=0>
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694913376&sdata=390T8zwwdAIGas8hHZxmOhQZMnsVEZAfnqchhT6NVZ4%3D&reserved=0>
>
> --
> Sankhesh Jhaveri
> *Sr. Research & Development Engineer* | Kitware
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2F&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694923385&sdata=xG1z%2FYjSiFip4mRTr7C%2FjGrQgt2by0Ndw1H20yKomSU%3D&reserved=0>
> | (518) 881-4417
>
>> _______________________________________________
> 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:
> https://public.kitware.com/mailman/listinfo/vtkusers
>


-- 
------------------------------------------------------------------
Simon Esneault
Rennes, France
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180903/5998075b/attachment.html>


More information about the vtkusers mailing list