Merging ODM Outputs

Hello! I’m currently pretty new to ODM, and I was wondering if it was possible to merge ODM Outputs. Say I have one large lot, and I divide this lot into four quadrants.

If I take the images of the first quadrant on the first day and pass this dataset through ODM, then take images of the second quadrant on the second day and pass this different dataset through ODM, would it be possible to merge the outputs of these datasets so I can look at both quadrants as a whole? Would this be possible?

I’m not sure about the specifics yet, but I think just the .obj file would be required here. I’m sorry if I didn’t explain it that well, but any help would be appreciated. Thank you!

1 Like

Welcome!

Depending upon how and when you want to view them together, there are many potential tools and approaches.

For visual inspection only in WebODM, you can put the various Tasks (collections/flights) into one Project. Their generated DSMs/Orthos will then be viewable all at once.

For combining the OBJ files, you can use something like Blender or MeshLab.
For combining the point cloud files, currently something like CloudCompare is likely best. Coming up this Februrary, I’d recommend QGIS.
For combining ortho/DSM, I’d recommend QGIS again.

If you want to process all the collections at once and only need the OBJ, I think you could use the split/merge processing pipeline.

More details on that, and everything else, available via the WebODM Lightning: The Missing Guide book by Piero, proceeds of which go directly back to development work for ODM.

1 Like

Thank you so much for your reply! I tried out the Split-Merge pipeline on one device since it seemed like the most efficient approach for now, but I’m confused as to how to view the output.

When running the regular OpenDroneMap image from docker on one dataset without splitting it, I get a bunch of .obj, .vec, and other files as output. The terminal also prints out the ODM’s logo after processing.

But when I ran the split-merge method with the following command:

docker run -it --rm
-v “/home/explosion/Desktop/ODM_Test/dronedata_test_100overlap/whole:/code/images”
-v “/home/explosion/Desktop/ODM_Test/dronedata_test_100overlap/whole:/code/odm_orthophoto”
-v “/home/explosion/Desktop/ODM_Test/dronedata_test_100overlap/whole:/code/odm_texturing”
opendronemap/odm --split 200 --split-overlap 100

it runs for a bit over an hour, then ends with the following messages on the terminal:

2020-12-21 06:40:55,090 INFO: Reconstruction 0: 383 images, 439886 points
2020-12-21 06:40:55,090 INFO: Reconstruction 1: 159 images, 169534 points
2020-12-21 06:40:55,090 INFO: Reconstruction 2: 13 images, 12693 points
2020-12-21 06:40:55,090 INFO: Reconstruction 3: 7 images, 7713 points
2020-12-21 06:40:55,090 INFO: Reconstruction 4: 7 images, 8751 points
2020-12-21 06:40:55,090 INFO: Reconstruction 5: 7 images, 8607 points
2020-12-21 06:40:55,090 INFO: Reconstruction 6: 7 images, 6923 points
2020-12-21 06:40:55,090 INFO: Reconstruction 7: 7 images, 7148 points
2020-12-21 06:40:55,090 INFO: Reconstruction 8: 6 images, 7084 points
2020-12-21 06:40:55,090 INFO: Reconstruction 9: 6 images, 6753 points
2020-12-21 06:40:55,090 INFO: Reconstruction 10: 6 images, 9915 points
2020-12-21 06:40:55,090 INFO: Reconstruction 11: 6 images, 5956 points
2020-12-21 06:40:55,090 INFO: 12 partial reconstructions in total.
[INFO] Aligning submodels…

But when I check the folders, there aren’t any output files. Is there something I’m doing wrong? The dataset is 621 images by the way.

Thank you!

1 Like

No idea! I’ve no direct experience with split-merge. Hopefully someone more knowledgeable will chime in soon :blush:

1 Like

Thank you! I hope you dont mind me asking one more question, but whenever I run the suggested command from github:

docker run -ti --rm -v /home/youruser/datasets:/datasets opendronemap/odm --project-path /datasets project

I always get a ‘No such file or directory /datasets/code/images’. Am I doing something wrong? Once again, thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.