Define Ground Plane and mesh center via control points

Hi,

I was wondering if there could be a process implemented to align the mesh to a set of control points, similar to the scale tool in that it will rotate and translate the mesh to the center of the grid based on a control point with ‘Mesh Center’ as a new attribute.

You can get the level by adding in a second control point which could be used to define the X axis, so that the mesh is squared off and perfectly aligned to the grid.

Thanks
Erik

Hi,
yes you can do it.

Workflow :
0. set project coordinate system and output coordinate system to “local:1 - Euclidean” ( WORKFLOW \ Settings \ Coordinate Systems )

  1. Add images, align ( compute model ), define control points … each at least in 2 images
  2. Change the type of the control point from “Tie point” to “Ground control” and define the coordinate system as “local:1 - Euclidean” and set the point positions. You need to do it for three control points to properly define your coordinate system.
  3. Press update
  4. Export model so that in export dialog you will chose coordinate system as “Project output”

The steps order as well as the update is important if you do not have very exact positions of the control points. The update will just rotate, scale, and translate whole scene to best match the control points.

Hi Michalj,

Is it possible to automate this process via command line? If not, is it planned in the near future?

Thank you for your support
jmon.

now possible with: https://support.capturingreality.com/hc/en-us/community/posts/115000775071-Define-Ground-Plane-and-mesh-center-via-control-points

Hi Lucia, 

i think your link is wrong, they are no explanation of how i can do it via cli. Can you update it?

thank you

 

best regards 

Hi nicolas, 

Yes it is possble via cli, you can use control points to set a reconstruction region using

| setReconstructionRegionOnCPs followed by the command
setGroundPlaneFromReconstructionRegion
|