Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FeatureRequest] Contribution of single camera on SfM (and visa versa) #512

Open
Baasje85 opened this issue Jun 16, 2019 · 10 comments
Open
Labels
do not close issue that should stay open (avoid automatically close because stale) feature request feature request from the community wip work in progress

Comments

@Baasje85
Copy link

It would be good to see the influence of a single camera on the point cloud. A rendering I could think of is using a selection colour on the point cloud. The inverse: what cameras have contributed to a single point would also be interesting.

From GUI perspective:

  • a single click on a camera, would highlight the part of the point cloud influenced
  • a single click on a point, would highlight the cameras contributing to the location
@simogasp simogasp added the feature request feature request from the community label Aug 17, 2019
@natowi natowi added do not close issue that should stay open (avoid automatically close because stale) and removed type:enhancement labels Oct 27, 2019
@laurelkeys
Copy link

Hi, I'm also really interested in this featured.

While there isn't currently a way to see which points are related to which photos on the GUI, may I get some advice on how to get this information from the logs (e.g. which node's info should I be looking into)?

I've just recently started using Meshroom so I'm still a bit unfamiliar with the code structure, and reading throught the docs I couldn't find an answer to this problem, so searching for it was what actually led me to this issue.

I tried looking into the .log files from the FeatureExtraction to the StructureFromMotion nodes in the default pipeline but couldn't really get a grasp of them for the most part. To better understand what each of them does, is there a good place to start reading into?

Thank you.

@natowi
Copy link
Member

natowi commented Oct 31, 2019

@laurelkeys What exactly are you trying to achieve?
Each image imported in Meshroom will get an unique IdView number that is then being used internally. You could follow a single image/pair though the default pipeline.

@laurelkeys
Copy link

@natowi I'm using Meshroom to reconstruct images captured by multiple drones (currently simulated on AirSim), with the aim of optimizing their trajectory for maximum scene coverage, so I'm trying to identify which places in the cloud are less dense to capture more pictures in those areas.

Therefore, I'd like to be able to query which points in the reconstructed point cloud came from a specific image, and also which camera viewpoints have contributed to a single point.

I was looking into the StructureFromMotion output (converted to JSON) and, from what I understood, it seems like I can get most of this info from there, since it has a "viewId" for each image and inside of "structure" I can get the coordinates of each point with "X", and which pictures were used with "observations".

Is this the information that would be used to implement the requested feature on the GUI?

@natowi natowi mentioned this issue May 14, 2020
6 tasks
@fabiencastan
Copy link
Member

@laurelkeys We could setup a confcall if you are interested to contribute to the implementation of such a feature.

@natowi
Copy link
Member

natowi commented Jun 14, 2020

a single click on a camera, would highlight the part of the point cloud influenced
a single click on a point, would highlight the cameras contributing to the location

UAV Mapper has this feature, but sadly only binaries are provided so far.

singlepoint
coverage

@EmilienCerem
Copy link

EmilienCerem commented Jan 14, 2021

@laurelkeys Hello,

I would like to have a precision on what you said. I want in a file, not visually in the gui, the coordinates of the matches points of each pair of photos in the point clouds. I think that the pipeline to create the point clouds use this information but i don't find it in the files... I just want an equivalent of the matches point in pixel in the photos and in (x,y,z) system in the cloud points. I looked what you said but in structure from motion there is only point clouds of intermediate_steps and two other points clouds, the rest of the files are only statistics files, i don't have a file with coordinates of points for each "viewid", where do you find this ?

@EmilienCerem
Copy link

@fabiencastan
Copy link
Member

Yes, or use the AliceVision API to load the ABC and access the SfMData C++ structures.

@natowi
Copy link
Member

natowi commented Sep 4, 2023

Add visualisation mode for landmarks observations #2177
(not for all points, but for detected landmarks)

@natowi natowi added the wip work in progress label Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not close issue that should stay open (avoid automatically close because stale) feature request feature request from the community wip work in progress
Projects
None yet
Development

No branches or pull requests

6 participants