SaisieAppuisPredicQT : Différence entre versions

De MicMac
Aller à : navigation, rechercher
(XML file for image measurements)
 
(10 révisions intermédiaires par 4 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
 +
[[Image:picto-liste.png|25px]] [[Command|List of commands]]
 
==Description==
 
==Description==
It runs with the same arguments as SaisieAppuisPredicQT.
+
It runs with the same arguments as [[SaisieAppuisInitQT]].
  
 
===Syntax===
 
===Syntax===
The global syntax for SaisieAppuispredicQT is <br>
+
The global syntax for SaisieAppuispredicQT is  
<code>mm3d SaisieAppuisPredicQT Unnamedargs Namedargs</code>
+
<pre>mm3d SaisieAppuisPredicQT FullName Orientation FileForGroundControlPoints FileForImageMeasurements NamedArgs</pre>
  
 
===Help===  
 
===Help===  
You can access to the help by typing :<br>
+
You can access to the help by typing :
<br>
+
<pre>mm3d SaisieAppuisPredicQT -help</pre>  
<code>mm3d SaisieAppuisPredicQT -help</code> <br>
+
 
<br>
+
 
Mandatory unnamed args :
 
Mandatory unnamed args :
string :: {Full Name (Dir+Pattern)}
+
*string :: {Full Name (Dir+Pattern)}
*<span style="font-family:times roman;"> ''string :: {Orientation}''</span style>
+
*string :: {Orientation}
*<span style="font-family:times roman;"> ''string :: {File for Ground Control Points}''</span style>
+
*string :: {File for Ground Control Points}
*<span style="font-family:times roman;"> ''string :: {File for Image Measurements}''</span style>
+
*string :: {File for Image Measurements}
 +
 
 
Named args :  
 
Named args :  
*<span style="font-family:times roman;"> ''[Name=SzW] Pt2di :: {Size of global window (Def 800 800)}''</span style>
+
*[Name=SzW] Pt2di :: {Size of global window (Def 800 800)}
*<span style="font-family:times roman;"> ''[Name=NbF] Pt2di :: {Number of Sub Window (Def 2 2)}''</span style>
+
*[Name=NbF] Pt2di :: {Number of Sub Window (Def 2 2)}
*<span style="font-family:times roman;"> ''[Name=WBlur] REAL :: {Size IN GROUND GEOMETRY of bluring for target}''</span style>
+
*[Name=WBlur] REAL :: {Size IN GROUND GEOMETRY of bluring for target}
*<span style="font-family:times roman;"> ''[Name=Type] string :: {in [MaxLoc,MinLoc,GeoCube]}''</span style>
+
*[Name=Type] string :: {in [MaxLoc,MinLoc,GeoCube]}
*<span style="font-family:times roman;"> ''[Name=ForceGray] bool :: {Force gray image, def=true}''</span style>
+
*[Name=ForceGray] bool :: {Force gray image, def=true}
*<span style="font-family:times roman;"> ''[Name=OriMode] string :: {Orientation type (GRID) (Def=Std)}''</span style>
+
*[Name=OriMode] string :: {Orientation type (GRID) (Def=Std)}
*<span style="font-family:times roman;"> ''[Name=ZMoy] REAL :: {Average Z, Mandatory in PB}''</span style>
+
*[Name=ZMoy] REAL :: {Average Z, Mandatory in PB}
*<span style="font-family:times roman;"> ''[Name=ZInc] REAL :: {Incertitude on Z, Mandatory in PB}''</span style>
+
*[Name=ZInc] REAL :: {Incertitude on Z, Mandatory in PB}
*<span style="font-family:times roman;"> ''[Name=Masq3D] string :: {3D Masq used for visibility}''</span style>
+
*[Name=Masq3D] string :: {3D Masq used for visibility}
*<span style="font-family:times roman;"> ''[Name=PIMsF] string :: {PIMs filter used for visibility}''</span style>
+
*[Name=PIMsF] string :: {PIMs filter used for visibility}
*<span style="font-family:times roman;"> ''[Name=InputSec] string :: {PIMs filter used for visibility}''</span style>
+
*[Name=InputSec] string :: {PIMs filter used for visibility}
  
 
===Example===
 
===Example===
<code>mm3d SaisieAppuisPredicQT "Abbey-.*jpg" RTL-Init AppRTL.xml MesureFinale.xml</code>
+
For example with the Saint-Michel de Cuxa data set :
 +
<pre>mm3d SaisieAppuisPredicQT "Abbey-.*jpg" RTL-Init AppRTL.xml MesureFinale.xml</pre>
 +
 
 +
 
 +
== Notes ==
 +
=== 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. <br>
 +
Other values as "Dubious", "Refuted", "Not captured" change the color of the target and [http://forum-micmac.forumprod.com/saisieappuispredicqt-attributes-of-gcp-t1409.html| seems to have the same effect] as a reverse of the validation.

Version actuelle en date du 24 avril 2017 à 11:58

Picto-liste.png List of commands

Description

It runs with the same arguments as SaisieAppuisInitQT.

Syntax

The global syntax for SaisieAppuispredicQT is

mm3d SaisieAppuisPredicQT FullName Orientation FileForGroundControlPoints FileForImageMeasurements NamedArgs

Help

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}

Example

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

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


Notes

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.