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

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 件のコメント

Image Analyst
Image Analyst 2021 年 5 月 15 日
Do you have a link referencing that MATLAB implementation?
Nazanin Safavian
Nazanin Safavian 2021 年 5 月 15 日
Yes,
that's for multiple images:
and that's for two images:
https://uk.mathworks.com/help/vision/ug/structure-from-motion-from-two-views.html
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 件)

カテゴリ

ヘルプ センター および File ExchangeComputer Vision Toolbox についてさらに検索

質問済み:

2021 年 5 月 15 日

コメント済み:

2021 年 5 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by