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

(x,y) coordinates of each image used for each point in the point cloud #2003

Closed
Alvaroolav3D opened this issue May 8, 2023 · 2 comments
Closed

Comments

@Alvaroolav3D
Copy link

Hi, I'm new using Meshroom and I need to know for each point in the point cloud (sfm.abc) resulting from the "StructureFromMotion" node, the coordinates (x,y) of each image it has used to generate that point.

Since the .abc file is not readable with visual studio code, I have tried to convert it with the "ConvertSFMFormat" node to .ply (stores the xyz point coordinates and the assigned rgb color) and .json (no relevant information appears) but it seems that the information I am looking for is lost.

I've been looking in different posts but I can't find information about what I'm looking for. I followed this github post: #824
but in my .json file resulting from the "ConvertSFMFormat" node only the following appears:

{
"version": [
"1",
"2",
"3"
],
"featuresFolders": [
"..\..\FeatureExtraction\911d7361da5b11019074f541390b03650b261291"
],
"matchesFolders": [
"..\..\FeatureMatching\0758535179188441352f2a49b3830386aae3fb5b"
]
}

Someone knows how to get this information?

Im using windows 10 and Meshroom 2023.1-win64

@simogasp
Copy link
Member

simogasp commented May 9, 2023

In the example of #824 also select "Structure" in the ConvertSFMFormat node (just above "Observations"). That will also include the 3D points and for each of them its list of 2d points for each view.
Depending on what you want to do you may also need "VIews" (the list of images, each image has a unique ID UID that is used everywhere to reference the image), "Intrinsics" which contains the calibration parameters and "Extrinsics" that contains the pose of each view.

@Alvaroolav3D
Copy link
Author

I tried what you told me and in the .json file appeared "structure" without information (empty).

I reinstalled meshroom in case I had a problem and tried again to select "structure" and "observations" and it worked correctly.

I don't know exactly why I had my error but it has been solved by reinstalling meshroom. Now I have the information I needed, thank you very much for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants