Ask Your Question
1

convert cv::Mat from/to VTK point type

asked 2018-08-11 03:51:03 -0600

BenK gravatar image

I found that viz module has some functions that bridge cv::Mat and vtkPoints, specifically the vtkCloudMatSink and vtkCloudMatSource. However, those classes are not exposed in header files of cv::viz. How can I use those classes? Or there are other ways to transfer/bridge/convert cv::Mat to vtkPoint? Thank!

edit retag flag offensive close merge delete

Comments

make a PR or try to copy source code in your function

LBerger gravatar imageLBerger ( 2018-08-11 05:03:33 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-08-11 16:43:19 -0600

BenK gravatar image

Thanks! Copying or mimicking the source code may be easier and quicker.

It would be great if there is a vtk-opencv-bridge similar to the itk-opencv-bridge.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-08-11 03:50:48 -0600

Seen: 438 times

Last updated: Aug 11 '18