De MicMac
Aller à : navigation, rechercher

Picto-liste.png List of commands


The GCPBascule command, allows to transform a purely relative orientation, as computed with Tapas, in an absolute one, as soon as there is at least 3 GCP whose projection are known in at least 2 images.


The global syntax for GCPBascule is :

mm3d GCPBascule FullName OrientationIn OrientationOut GroundControlPointsFile ImageMeasurementFile NamedArgs


You can access to the help by typing :

mm3d GCPBascule -help

Mandatory unnamed args :

  • string :: {Full name (Dir+Pat)}
  • string :: {Orientation in}
  • string :: {Orientation out}
  • string :: {Ground Control Points File}
  • string :: {Image Measurements File}

Named args :

  • [Name=L1] bool :: {L1 minimisation vs L2 (Def=false)}
  • [Name=CPI] bool :: {when Calib Per Image has to be used}
  • [Name=ShowU] bool :: {Show unused point (def=true)}
  • [Name=ShowD] bool :: {Show details (def=false)}</span style>
  • [Name=PatNLD] string :: {Pattern for Non linear deformation, with aerial like geometry (def,unused)}
  • [Name=NLDegX] vector<std::string> :: {Non Linear monoms for X, when PatNLD, (Def =[1,X,Y])}
  • [Name=NLDegY] vector<std::string> :: {Non Linear monoms for Y, when PatNLD, (Def =[1,X,Y])}
  • [Name=NLDegZ] vector<std::string> :: {Non Linear monoms for Z, when PatNLD, (Def =[1,X,X2])}
  • [Name=NLFR] bool :: {Non Linear : Force True Rot (Def=true)}
  • [Name=NLShow] bool :: {Non Linear : Show Details (Def=false)}


In the Mur Saint Martin data set, you can find two files:

  • Ground-Pts3D.xml contains the definition of 3D points, using the syntax.
  • GroundMeasure.xml contains the 2D measurement of these points in images.

Here for example:

mm3d GCPBascule "IMGP41((6[7-9])|([7-8][0-9])).JPG" Mur Ground Ground-Pts3D.xml GroundMeasure.xml