how to plot color points in structure from motion in multiple images example

1 次查看(过去 30 天)
Hi,
In the Matlab implementation of Structure from motion from two views, the dence 3D reconstruction is shown with true color of the image. However in the implementation of Structure from motion from multiple views, it'er s not the case all 3d points is shown in one color(blue). I wonder if anyone knows how I can plot the true color while using Structure from motion from multiple views. Any help would be more than welcomed. Thank you
Regards
  4 个评论
Qu Cao
Qu Cao 2021-5-17
The examples don't show plotting with RGB colors because each world points is associated with multiple images points. As a workaround, you can compute the average RGB value given the image point locations. Note that pointTrack contains both viewIds and image point locations. You can use them to query the RGB value from the original images.
Nazanin Safavian
Nazanin Safavian 2021-5-17
Thank you for the help. I don't know how to extract the points coordinates. I can see them when I type tracks.Points but I don't know how to extract them into array so I can just select those ones related to viewIds=1. would you please help me with that?!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by