Guide to using Bounding Boxes?

1,480 views
Skip to first unread message

ben.r...@gmail.com

unread,
May 13, 2021, 5:07:08 PM5/13/21
to AliceVision
Hi, I've used the default Meshroom pipeline for a while and am now getting used to version 2021 while also finally learning how to use the settings within the program.  

It looks like 2021 changed some of the default nodes and that might be making my research more challenging.


It looks like it says that bounding boxes are usable in Meshroom.  However, the feature seems to be tied to SfMTransform, which is not part of the default pipeline I get with 2021.

Can someone tell me how to add SfMTransform to my pipeline, or point me in the right direction?

On another note, if I figure out the process of adding a bounding box, would it be ok to add this information to the wiki?  

Thank you!

David Cattermole

unread,
May 13, 2021, 5:20:16 PM5/13/21
to ben.r...@gmail.com, AliceVision
Hello Ben,

Starting from a default Photogrammetry graph...
1) you need to pipe the "StructureFromMotion.SfMData" into a "SfMTransform.Input" node
2) break the connection between "StructureFromMotion.SfMData" and "PrepareDenseScene.SfMData"
3) and then connect "SfMTransform.Output SfMData File" into " PrepareDenseScene.SfmData.

Here is an example, where I added the SfMTransform node (above):
image.png

Good luck,

David

--
You received this message because you are subscribed to the Google Groups "AliceVision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alicevision...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alicevision/5e25f686-c41d-4855-9397-a5fe9c195479n%40googlegroups.com.


--
David Cattermole
Mobile: +447852584464

ben.r...@gmail.com

unread,
May 13, 2021, 6:19:37 PM5/13/21
to AliceVision
Thank you so much!  I had been poking around inputs and outputs for a while, but for some reason I hadn't looked in the (now obvious) correct spot.  It is really great to have confirmation in any case.
I very much appreciate it!

ben.r...@gmail.com

unread,
May 15, 2021, 7:14:52 PM5/15/21
to AliceVision
Hi David, 
I actually have discovered a few things, I would like to add them to this post in case anyone finds it useful.

Short of it: It appears that bounding box in version 2021.1 is integrated into the Meshing node.  There is a checkbox for custom bounding box and ideally this gives me the controls for creating the bounding box from there.  Double-clicking on the Meshing node adds a "Meshing" view to the 3d viewer, and through that you can control a view of the bounding box.

I found that attaching sfmTransform to the input of PrepareDenseScene was a way to manipulate the SFM data (scaling and rotation?) for use later in the pipeline.  This is obvious now, but at the time the data points I saw made me think this was how I could create a bounding box that would limit the data considered by the meshing node.

Upon further reading and comprehension, it seems that at one time the sfTransform would be inserted into the pipeline right before the Meshing node in order to create the bounding box effect I was after.  Then I poked around some more and found what I reported above: the bounding box appears to be part of the mesh node now.

Now I'm trying to understand how the rest of the system works, for instance I got into a situation where: 
1) double clicking on StructureFromMotion won't add the view to my Scene list after I have: loaded a saved project
2) gasp I think if I save two projects files in the same folder, they both look at the same data set left over from each other's processing?!

Reply all
Reply to author
Forward
0 new messages