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

Do you have a link referencing that MATLAB implementation?
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
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.
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 Exchange에서 Computer 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