De MicMac
Révision de 24 avril 2017 à 12:58 par Luc Girod (discussion | contributions) (XML file for image measurements)

(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

Picto-liste.png List of commands


It runs with the same arguments as SaisieAppuisInitQT.


The global syntax for SaisieAppuispredicQT is

mm3d SaisieAppuisPredicQT FullName Orientation FileForGroundControlPoints FileForImageMeasurements NamedArgs


You can access to the help by typing :

mm3d SaisieAppuisPredicQT -help

Mandatory unnamed args :

  • string :: {Full Name (Dir+Pattern)}
  • string :: {Orientation}
  • string :: {File for Ground Control Points}
  • string :: {File for Image Measurements}

Named args :

  • [Name=SzW] Pt2di :: {Size of global window (Def 800 800)}
  • [Name=NbF] Pt2di :: {Number of Sub Window (Def 2 2)}
  • [Name=WBlur] REAL :: {Size IN GROUND GEOMETRY of bluring for target}
  • [Name=Type] string :: {in [MaxLoc,MinLoc,GeoCube]}
  • [Name=ForceGray] bool :: {Force gray image, def=true}
  • [Name=OriMode] string :: {Orientation type (GRID) (Def=Std)}
  • [Name=ZMoy] REAL :: {Average Z, Mandatory in PB}
  • [Name=ZInc] REAL :: {Incertitude on Z, Mandatory in PB}
  • [Name=Masq3D] string :: {3D Masq used for visibility}
  • [Name=PIMsF] string :: {PIMs filter used for visibility}
  • [Name=InputSec] string :: {PIMs filter used for visibility}


For example with the Saint-Michel de Cuxa data set :

mm3d SaisieAppuisPredicQT "Abbey-.*jpg" RTL-Init AppRTL.xml MesureFinale.xml


XML file for image measurements

The last mandatory named argument is the name of an XML file where the image coordinates (X and Y in pixels) of the points are stored. Note : if you specify "MesureInit.xml" for this argument, two files will be created with slightly different names (and no "MesureInit.xml") :

  • MesureInit-S2D.xml, which stores points in 2D coordinates for each image;
  • MesureInit-S3D.xml, which stores points in 3D coordinates, computed by spatial resection in the relative coordinate systems given by the input orientation.

Validation of targeted points

In the SaisieAppuisPredicQT window, when you point a target you have to validate it by right click and "Validate" in the contextual menu to get the coordinates stored.
Other values as "Dubious", "Refuted", "Not captured" change the color of the target and seems to have the same effect as a reverse of the validation.