[vtkusers] How's the Projection Transform Matrix computed in VTK? and Generate Cloud Point From Depth Map Image

Allie Vacanti allison.vacanti at kitware.com
Tue Oct 30 09:42:19 EDT 2018


Depending on settings, there are a few ways it can be computed.
vtkCamera::ComputeProjectionTransform is the starting point for tracking
down the specifics:

https://github.com/Kitware/VTK/blob/master/Rendering/Core/vtkCamera.cxx#L1035-L1127

HTH,
Allie

On Fri, Oct 19, 2018 at 12:05 PM maskjp <jiangpengyiwu at gmail.com> wrote:

> I figure out the problem. When I use the vtkBMPReader, the output of this
> class is a 3 channel vtkImageData, but the vtkDepthImageToPointCloud only
> receive a 1 channel depth image. So We need to use
> vtkImageExtractComponents
> to get the first channel of the vtkBMPReader output.
>
> But I still don't understand how vtk compute projection transform matrix.
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181030/5a628c62/attachment.html>


More information about the vtkusers mailing list