TestKey : Différence entre versions

De MicMac
Aller à : navigation, rechercher
(Description)
(Description)
Ligne 1 : Ligne 1 :
 
[[Image:picto-liste.png|25px]] [[Command|List of commands]]
 
[[Image:picto-liste.png|25px]] [[Command|List of commands]]
 
==Description==
 
==Description==
AperiCloud is used for generating a visualization of camera position computed by [[Tapas]].
+
TestKey is a basic tool for testing a regular expression for image pattern selection.
  
 
===Syntax===
 
===Syntax===
The global syntax for AperiCloud is :
+
The global syntax for TestKey is :
<pre>mm3d AperiCloud FullName Orientation NamedArgs</pre>
+
<pre>mm3d TestKey pattern</pre>
  
 
===Results===
 
===Results===
AperiCloud, generate a sparse 3D cloud (".ply") with the position and orientation of each camera. If you don't use "Out" option, the file will be stored in your working directory at the name : <i>AperiCloud-Ori_Name.ply</i>. You can use MeshLab to visualize the file.<br>
+
TestKey print on the screen which images are included in the image pattern. If the pattern isn't correct, micmac print an error message, so you can easily check if your pattern is correct or not.
[[Image:01_Gravillonn_AO.jpg|x200px]]
+
By default it is limited to 10 Name, the Nb optionale parameters can increase this default value.
[[Image:Pierrerue2.png|x200px]]
+
[[Image:Exercice_Fontaine1.png|x200px]]
+
  
 
===Workflow===
 
===Workflow===
AperiCloud is a tool dedicated to visualization of orientations. So you can use it every times you process a orientation. When you have processed the final orientation, you can define a 3D mask with the ".ply" file generated by AperiCloud (SaisieMasqQT).<br>
+
TestKey didn't take part of any workflow, it's just a tool to test an image pattern.
[[Image:Picto-previous.png|20px]] Previous Command : [[Tapas]],[[GCPBascule]],[[Campari]]<br>
+
[[Image:Picto-next.png|20px]] Next Command : [[SaisieMasqQT]].<br>
+
<!--
+
<div style="z-index:1;position:relative;">[[Image:Pipeline GI.png|x300px]]</div>
+
<div style="background-color:green;width:19px;height:19px;left:477px;top:-94px;position:relative;border-radius:10px">
+
</div>
+
-->
+
  
 
===Help===  
 
===Help===  
 
You can access to the help by typing :
 
You can access to the help by typing :
<pre>mm3d AperiCLoud -help</pre>
+
<pre>mm3d TestKey -help</pre>
 +
 
 +
Mandatory unnamed args :
 +
*string :: {Full Directory (Dir+Pattern)}
 +
Named args :
 +
*[Name=Nb] INT :: {Nb Max printed (def=10)}
  
Mandatory unnamed args :
 
*string :: {Full name (Dir+Pattern)}
 
*string :: {Orientation directory}
 
Named args :
 
*[Name=ExpTxt] INT :: {Point in txt format ? (Def=false)}
 
*[Name=Out] string :: {Result (Def=AperiCloud.ply)}
 
*[Name=Bin] INT :: {Ply in binary mode (Def=true)}
 
*[Name=RGB] INT :: {Use RGB image to texturate points (Def=true)}
 
*[Name=SeuilEc] REAL :: {Max residual (Def=10)}
 
*[Name=LimBsH] REAL :: {Limit ratio base to height (Def=1e-2)}
 
*[Name=WithPoints] bool :: {Do we add point cloud? (Def=true) }
 
*[Name=CalPerIm] bool :: {If a calibration per image was used (Def=false)}
 
*[Name=Focs] Pt2dr :: {Interval of Focal}
 
*[Name=WithCam] bool :: {With Camera (Def=true)}
 
*[Name=ColCadre] Pt3di :: {Col of camera rect Def= 255 0 0 (Red)}
 
*[Name=ColRay] Pt3di :: {Col of camera rect Def= 0 255 0 (Green)}
 
*[Name=SH] string :: {Set of Hom, Def="", give MasqFiltered for result of HomolFilterMasq}
 
  
 
===Example===
 
===Example===

Version du 27 août 2016 à 14:52

Picto-liste.png List of commands

Description

TestKey is a basic tool for testing a regular expression for image pattern selection.

Syntax

The global syntax for TestKey is :

mm3d TestKey pattern

Results

TestKey print on the screen which images are included in the image pattern. If the pattern isn't correct, micmac print an error message, so you can easily check if your pattern is correct or not. By default it is limited to 10 Name, the Nb optionale parameters can increase this default value.

Workflow

TestKey didn't take part of any workflow, it's just a tool to test an image pattern.

Help

You can access to the help by typing :

mm3d TestKey -help

Mandatory unnamed args :

  • string :: {Full Directory (Dir+Pattern)}

Named args :

  • [Name=Nb] INT :: {Nb Max printed (def=10)}


Example

In example, you can launch this command in the Mur Saint Martin dataset :

mm3d AperiCloud «.*JPG » Out=MEP