<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>http://micmac.ensg.eu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zarg</id>
		<title>MicMac - Contributions de l’utilisateur [fr]</title>
		<link rel="self" type="application/atom+xml" href="http://micmac.ensg.eu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zarg"/>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php/Sp%C3%A9cial:Contributions/Zarg"/>
		<updated>2026-04-15T19:19:41Z</updated>
		<subtitle>Contributions de l’utilisateur</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Tapas&amp;diff=3190</id>
		<title>Tapas</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Tapas&amp;diff=3190"/>
				<updated>2024-04-15T08:31:43Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : ForCalib doc update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:picto-liste.png|25px]] [[Command|List of commands]]&lt;br /&gt;
==Description==&lt;br /&gt;
Tapas is a tool offering most of the posssibilities of [[Apero]] for computing purely relative orientations&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
The global syntax for Tapas is &lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas ModeCalib NamedArgs&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Allowed commands ===&lt;br /&gt;
This allowed commands, correspond to the distorsion model you want to use :&lt;br /&gt;
*&amp;lt;b&amp;gt;RadialBasic&amp;lt;/b&amp;gt; : for Classic Lens&lt;br /&gt;
*&amp;lt;b&amp;gt;RadialStd&amp;lt;/b&amp;gt; : for Classic Lens&lt;br /&gt;
*&amp;lt;b&amp;gt;RadialExtended&amp;lt;/b&amp;gt; : Classic Lens with extra distorsion parameters.&lt;br /&gt;
*&amp;lt;b&amp;gt;FraserBasic&amp;lt;/b&amp;gt;&lt;br /&gt;
*&amp;lt;b&amp;gt;Fraser&amp;lt;/b&amp;gt;&lt;br /&gt;
*&amp;lt;b&amp;gt;FishEyeEqui&amp;lt;/b&amp;gt; : for FishEye Lens&lt;br /&gt;
*&amp;lt;b&amp;gt;FE_EquiSolBasic&amp;lt;/b&amp;gt;&lt;br /&gt;
* FishEyeBasic&lt;br /&gt;
* FishEyeStereo&lt;br /&gt;
*&amp;lt;b&amp;gt;Four&amp;lt;/b&amp;gt;&lt;br /&gt;
*&amp;lt;b&amp;gt;AddFour&amp;lt;/b&amp;gt;&lt;br /&gt;
*&amp;lt;b&amp;gt;AddPolyDeg&amp;lt;/b&amp;gt;&lt;br /&gt;
* Ebner&lt;br /&gt;
* Brown&lt;br /&gt;
* AutoCal&lt;br /&gt;
* Figee&lt;br /&gt;
* HemiEqui&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Description of the basic distortion models easily accessible in MicMac &lt;br /&gt;
!scope=col|Command&lt;br /&gt;
!scope=col|PPA/PPS&lt;br /&gt;
!scope=col|Polynomial correction&lt;br /&gt;
!scope=col|Decentric/Affine correction&lt;br /&gt;
!scope=col|Number of parameters to estimate&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;center&amp;gt;&amp;lt;code&amp;gt;RadialBasic&amp;lt;/code&amp;gt;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;Equals&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;r³, r⁵, r⁷&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;No&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;5&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;center&amp;gt;&amp;lt;code&amp;gt;RadialStd&amp;lt;/code&amp;gt;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;Different&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;r³, r⁵, r⁷&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;No&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;8&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;center&amp;gt;&amp;lt;code&amp;gt;RadialExtended&amp;lt;/code&amp;gt;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;Different&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;r³, r⁵, r⁷, r⁹, r¹¹&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;No&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;10&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;center&amp;gt;&amp;lt;code&amp;gt;FraserBasic&amp;lt;/code&amp;gt;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;Equals&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;r³, r⁵, r⁷&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;10&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;center&amp;gt;&amp;lt;code&amp;gt;Fraser&amp;lt;/code&amp;gt;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;Different&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;r³, r⁵, r⁷&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;Yes&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;12&amp;lt;/center&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
Source : https://www.int-arch-photogramm-remote-sens-spatial-inf-sci.net/XL-3-W3/327/2015/isprsarchives-XL-3-W3-327-2015.pdf&lt;br /&gt;
&lt;br /&gt;
===Results===&lt;br /&gt;
Tapas produce a directory named &amp;quot;Ori-Out_name&amp;quot; which contain :&lt;br /&gt;
*Camera calibration file : AutoCal[...].xml with camera parameters : focal length, PPP, distorsion parameters.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;ExportAPERO&amp;gt;&lt;br /&gt;
     &amp;lt;CalibrationInternConique&amp;gt;&lt;br /&gt;
          &amp;lt;KnownConv&amp;gt;eConvApero_DistM2C&amp;lt;/KnownConv&amp;gt;&lt;br /&gt;
          &amp;lt;PP&amp;gt;3036.5765679584747 1998.71167135734891&amp;lt;/PP&amp;gt; %Position of PPS in image&lt;br /&gt;
          &amp;lt;F&amp;gt;4037.08453810194351&amp;lt;/F&amp;gt; %Focal length&lt;br /&gt;
          &amp;lt;SzIm&amp;gt;6000 4000&amp;lt;/SzIm&amp;gt; %Image size&lt;br /&gt;
          &amp;lt;CalibDistortion&amp;gt;&lt;br /&gt;
               &amp;lt;ModRad&amp;gt; %Coefficient of distorsion&lt;br /&gt;
                    &amp;lt;CDist&amp;gt;3052.42394103968081 2001.86999748472294&amp;lt;/CDist&amp;gt;&lt;br /&gt;
                    &amp;lt;CoeffDist&amp;gt;-4.50469053927919027e-09&amp;lt;/CoeffDist&amp;gt;&lt;br /&gt;
                    &amp;lt;CoeffDist&amp;gt;3.40541430467215144e-16&amp;lt;/CoeffDist&amp;gt;&lt;br /&gt;
                    &amp;lt;CoeffDist&amp;gt;6.26870361086794563e-25&amp;lt;/CoeffDist&amp;gt;&lt;br /&gt;
                    &amp;lt;CoeffDistInv&amp;gt;4.51807038353698039e-09&amp;lt;/CoeffDistInv&amp;gt;&lt;br /&gt;
                    &amp;lt;CoeffDistInv&amp;gt;-2.83621415930942252e-16&amp;lt;/CoeffDistInv&amp;gt;&lt;br /&gt;
                    &amp;lt;CoeffDistInv&amp;gt;-1.28602811626265918e-23&amp;lt;/CoeffDistInv&amp;gt;&lt;br /&gt;
                    &amp;lt;CoeffDistInv&amp;gt;5.99729269914569738e-31&amp;lt;/CoeffDistInv&amp;gt;&lt;br /&gt;
               &amp;lt;/ModRad&amp;gt;&lt;br /&gt;
          &amp;lt;/CalibDistortion&amp;gt;&lt;br /&gt;
     &amp;lt;/CalibrationInternConique&amp;gt;&lt;br /&gt;
&amp;lt;/ExportAPERO&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Orientation file for each picture : Orientation-image_name.xml with :camera orientation (3D similarity), tie points used for orientation etc...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;ExportAPERO&amp;gt;&lt;br /&gt;
     &amp;lt;OrientationConique&amp;gt;&lt;br /&gt;
          &amp;lt;OrIntImaM2C&amp;gt;&lt;br /&gt;
               &amp;lt;I00&amp;gt;0 0&amp;lt;/I00&amp;gt;&lt;br /&gt;
               &amp;lt;V10&amp;gt;1 0&amp;lt;/V10&amp;gt;&lt;br /&gt;
               &amp;lt;V01&amp;gt;0 1&amp;lt;/V01&amp;gt;&lt;br /&gt;
          &amp;lt;/OrIntImaM2C&amp;gt;&lt;br /&gt;
          &amp;lt;TypeProj&amp;gt;eProjStenope&amp;lt;/TypeProj&amp;gt;&lt;br /&gt;
          &amp;lt;ZoneUtileInPixel&amp;gt;true&amp;lt;/ZoneUtileInPixel&amp;gt;&lt;br /&gt;
          &amp;lt;FileInterne&amp;gt;Ori-Arbitrary/AutoCal_Foc-16000_Cam-ILCE6000.xml&amp;lt;/FileInterne&amp;gt; %Camera model&lt;br /&gt;
          &amp;lt;RelativeNameFI&amp;gt;true&amp;lt;/RelativeNameFI&amp;gt;&lt;br /&gt;
          &amp;lt;Externe&amp;gt;&lt;br /&gt;
               &amp;lt;AltiSol&amp;gt;-8.50917595677101524&amp;lt;/AltiSol&amp;gt; &lt;br /&gt;
               &amp;lt;Profondeur&amp;gt;9.9233022137615734&amp;lt;/Profondeur&amp;gt;&lt;br /&gt;
               &amp;lt;Time&amp;gt;-1.00000000000000002e+30&amp;lt;/Time&amp;gt;&lt;br /&gt;
               &amp;lt;KnownConv&amp;gt;eConvApero_DistM2C&amp;lt;/KnownConv&amp;gt;&lt;br /&gt;
               &amp;lt;Centre&amp;gt;0.33581992261091842 -26.3001714173638206 0.000147586637632812767&amp;lt;/Centre&amp;gt; %Position of the PPS in arbitrary system&lt;br /&gt;
               &amp;lt;IncCentre&amp;gt;1 1 1&amp;lt;/IncCentre&amp;gt;&lt;br /&gt;
               &amp;lt;ParamRotation&amp;gt;&lt;br /&gt;
                    &amp;lt;CodageMatr&amp;gt; %Boresight matrix (arbitrary system)&lt;br /&gt;
                         &amp;lt;L1&amp;gt;-0.981263794354502505 -0.155204851492389134 0.11416137684098876&amp;lt;/L1&amp;gt;&lt;br /&gt;
                         &amp;lt;L2&amp;gt;-0.192442661386862057 0.818245676864819083 -0.541700871672157969&amp;lt;/L2&amp;gt;&lt;br /&gt;
                         &amp;lt;L3&amp;gt;-0.00933744972389951265 -0.553520971929031491 -0.832782892275888531&amp;lt;/L3&amp;gt;&lt;br /&gt;
                    &amp;lt;/CodageMatr&amp;gt;&lt;br /&gt;
               &amp;lt;/ParamRotation&amp;gt;&lt;br /&gt;
          &amp;lt;/Externe&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When you use Tapas, a important part of informations are displaying directly in the terminal window, like image resiual or number of tie points used per images. Don't forget to look at this residuals when you use Tapas, for a good orientation you can decrease under 0.5px. All this informations are stocked in a file named &amp;quot;Residual.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Workflow===&lt;br /&gt;
Tapas process internal and relative orientation, you it's placed just after Tapas. The way to visualize relative orientation is to use AperiCloud.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Picto-previous.png|20px]] Previous Command : [[Tapioca]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Picto-next.png|20px]] Next Command : [[AperiCloud]].&lt;br /&gt;
&lt;br /&gt;
==RadialBasic==&lt;br /&gt;
a subset of previous model: radial distortion with limited degrees of freedom ; adapted when there is a risk of divergence of RadialExtended; in this model there are 5 degrees of freedom : 1 for focal length , 2 for principal point and distortion center 3 , 2 for coefficients of radial distortion (r3 and r5 ).&lt;br /&gt;
&lt;br /&gt;
===Help=== &lt;br /&gt;
You can access to the help by typing :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas RadialBasic -help&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mandatory unnamed args :&lt;br /&gt;
*string :: {Calibration model}&lt;br /&gt;
*string :: {Full Directory (Dir+Pattern)}&lt;br /&gt;
&lt;br /&gt;
Named args :&lt;br /&gt;
*[Name=ExpTxt] INT :: {Export in text format (Def=false)}&lt;br /&gt;
*[Name=Out] string :: {Directory of Output Orientation}&lt;br /&gt;
*[Name=InCal] string :: {Directory of Input Internal Orientation (Calibration)}&lt;br /&gt;
*[Name=InOri] string :: {Directory of Input External Orientation}&lt;br /&gt;
*[Name=DoC] INT :: {Do Compensation}&lt;br /&gt;
*[Name=ForCalib] INT :: {1 for calibration }&lt;br /&gt;
*[Name=Focs] Pt2dr :: {Keep images with focal length inside range [A,B] (A,B in mm) (Def=keep all)}&lt;br /&gt;
*[Name=VitesseInit] INT&lt;br /&gt;
*[Name=PPRel] Pt2dr :: {Principal point shift}''&amp;lt;/span style&amp;gt;&lt;br /&gt;
*[Name=Decentre] INT :: {Principal point is shifted (Def=false)}''&amp;lt;/span style&amp;gt;&lt;br /&gt;
*[Name=PropDiag] REAL :: {Hemi-spherik fisheye diameter to diagonal ratio}''&amp;lt;/span style&amp;gt;&lt;br /&gt;
*[Name=SauvAutom] string :: {Save intermediary results to, Set NONE if dont want any}''&amp;lt;/span style&amp;gt;&lt;br /&gt;
*[Name=ImInit] string :: {Force first image}''&amp;lt;/span style&amp;gt;&lt;br /&gt;
*[Name=MOI] bool :: {MOI}''&amp;lt;/span style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RadialExtended==&lt;br /&gt;
A model with radial distortion.&lt;br /&gt;
&lt;br /&gt;
===Help=== &lt;br /&gt;
You can access to the help by typing :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas RadialExtended -help&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Mandatory unnamed args :&lt;br /&gt;
*string :: {Calibration model}&lt;br /&gt;
*string :: {Full Directory (Dir+Pattern)}&lt;br /&gt;
&lt;br /&gt;
Named args :&lt;br /&gt;
*[Name=ExpTxt] INT :: {Export in text format (Def=false)}&lt;br /&gt;
*[Name=Out] string :: {Directory of Output Orientation} ''&amp;lt;/span style&amp;gt;&lt;br /&gt;
*[Name=InCal] string :: {Directory of Input Internal Orientation (Calibration)}&lt;br /&gt;
*[Name=InOri] string :: {Directory of Input External Orientation}&lt;br /&gt;
*[Name=DoC] INT :: {Do Compensation}&lt;br /&gt;
*[Name=ForCalib] INT :: {1 for calibration }&lt;br /&gt;
*[Name=Focs] Pt2dr :: {Keep images with focal length inside range [A,B] (A,B in mm) (Def=keep all)}&lt;br /&gt;
*[Name=VitesseInit] INT &lt;br /&gt;
*[Name=PPRel] Pt2dr :: {Principal point shift}&lt;br /&gt;
*[Name=Decentre] INT :: {Principal point is shifted (Def=false)}&lt;br /&gt;
*[Name=PropDiag] REAL :: {Hemi-spherik fisheye diameter to diagonal ratio}&lt;br /&gt;
*[Name=SauvAutom] string :: {Save intermediary results to, Set NONE if dont want any}&lt;br /&gt;
*[Name=ImInit] string :: {Force first image}&lt;br /&gt;
*[Name=MOI] bool :: {MOI}&lt;br /&gt;
*[Name=DBF] INT :: {Debug (internal use : DebugPbCondFaisceau=true) &lt;br /&gt;
*[Name=Debug] bool :: {Partial file for debug}&lt;br /&gt;
*[Name=DegRadMax] INT :: {Max degree of radial, default model dependent}&lt;br /&gt;
*[Name=DegGen] INT :: {Max degree of general polynome, default model dependent (generally 0 or 1)}&lt;br /&gt;
*[Name=LibAff] bool :: {Free affine parameter, Def=true}&lt;br /&gt;
*[Name=LibDec] bool :: {Free decentric parameter, Def=true}&lt;br /&gt;
*[Name=LibPP] bool :: {Free principal point, Def=true}&lt;br /&gt;
*[Name=LibCP] bool :: {Free distorsion center, Def=true}&lt;br /&gt;
*[Name=LibFoc] bool :: {Free focal, Def=true}&lt;br /&gt;
*[Name=RapTxt] string :: {RapTxt}&lt;br /&gt;
*[Name=LinkPPaPPs] REAL :: {Link PPa and PPs (double)}&lt;br /&gt;
*[Name=FrozenPoses] string :: {List of frozen poses (pattern)}&lt;br /&gt;
*[Name=SH] string :: {Set of Hom, Def=&amp;quot;&amp;quot;, give MasqFiltered for result of HomolFilterMasq}&lt;br /&gt;
*[Name=RefineAll] bool :: {More refinement at all step, safer and more accurate, but slower, def=true}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
For example with the Mur Saint Martin dataset, you can launch : &lt;br /&gt;
&amp;lt;pre&amp;gt;Tapas RadialExtended &amp;quot;IMGP41((6[7-9])|([7-8][0-9])).JPG&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Fraser==&lt;br /&gt;
a radial model, with decentric and affine parameters there are 12 degrees of freedom: 1 for focal length , 2 for principal point, 2 for distortion center , 3 for coefficients of radial distorsion (r3 , r5 r7 ), 2 for decentric parameters, 2 for affine parameters; the optional parameters LibAff and LibDec (def value true) can be set to false if decentric of affine parameters must stay frozen.&lt;br /&gt;
&lt;br /&gt;
===Help=== &lt;br /&gt;
You can access to the help by typing :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas Fraser -help&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Mandatory unnamed args :&lt;br /&gt;
*{Calibration model} &lt;br /&gt;
*string :: {Full Directory (Dir+Pattern)}&lt;br /&gt;
&lt;br /&gt;
Named args :&lt;br /&gt;
*[Name=ExpTxt] INT :: {Export in text format (Def=false)}&lt;br /&gt;
*[Name=Out] string :: {Directory of Output Orientation}&lt;br /&gt;
*[Name=InCal] string :: {Directory of Input Internal Orientation (Calibration)}&lt;br /&gt;
*[Name=InOri] string :: {Directory of Input External Orientation}&lt;br /&gt;
*[Name=DoC] INT :: {Do Compensation}&lt;br /&gt;
*[Name=ForCalib] INT :: {1 for calibration }&lt;br /&gt;
*[Name=Focs] Pt2dr :: {Keep images with focal length inside range [A,B] (A,B in mm) (Def=keep all)}&lt;br /&gt;
*[Name=VitesseInit] INT&lt;br /&gt;
*[Name=PPRel] Pt2dr :: {Principal point shift}&lt;br /&gt;
*[Name=Decentre] INT :: {Principal point is shifted (Def=false)}&lt;br /&gt;
*[Name=PropDiag] REAL :: {Hemi-spherik fisheye diameter to diagonal ratio}&lt;br /&gt;
*[Name=SauvAutom] string :: {Save intermediary results to, Set NONE if dont want any}&lt;br /&gt;
*[Name=ImInit] string :: {Force first image}&lt;br /&gt;
*[Name=MOI] bool :: {MOI}&lt;br /&gt;
*[Name=DBF] INT :: {Debug (internal use : DebugPbCondFaisceau=true) }&lt;br /&gt;
*[Name=Debug] bool :: {Partial file for debug}&lt;br /&gt;
*[Name=DegRadMax] INT :: {Max degree of radial, default model dependent}&lt;br /&gt;
*[Name=DegGen] INT :: {Max degree of general polynome, default model dependent (generally 0 or 1)}&lt;br /&gt;
*[Name=LibAff] bool :: {Free affine parameter, Def=true}&lt;br /&gt;
*[Name=LibDec] bool :: {Free decentric parameter, Def=true}&lt;br /&gt;
*[Name=LibPP] bool :: {Free principal point, Def=true}&lt;br /&gt;
*[Name=LibCP] bool :: {Free distorsion center, Def=true}&lt;br /&gt;
*[Name=LibFoc] bool :: {Free focal, Def=true}&lt;br /&gt;
*[Name=RapTxt] string :: {RapTxt}&lt;br /&gt;
*[Name=LinkPPaPPs] REAL :: {Link PPa and PPs (double)}&lt;br /&gt;
*[Name=FrozenPoses] string :: {List of frozen poses (pattern)}&lt;br /&gt;
*[Name=SH] string :: {Set of Hom, Def=&amp;quot;&amp;quot;, give MasqFiltered for result of HomolFilterMasq}&lt;br /&gt;
*[Name=RefineAll] bool :: {More refinement at all step, safer and more accurate, but slower, def=true}&lt;br /&gt;
*[Name=ImMinMax] vector :: {Image min and max (may avoid tricky pattern ...)}&lt;br /&gt;
*[Name=EcMax] REAL :: {Final threshold for residual, def = 5.0 }&lt;br /&gt;
&lt;br /&gt;
==FraserBasic==&lt;br /&gt;
same as previous with for principal point and distortion center constrained to have the same value (so 10 degree of freedom)&lt;br /&gt;
&lt;br /&gt;
===Help=== &lt;br /&gt;
You can access to the help by typing :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas FraserBasic -help&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Mandatory unnamed args :&lt;br /&gt;
*string :: {Calibration model}&lt;br /&gt;
*string :: {Full Directory (Dir+Pattern)}&lt;br /&gt;
&lt;br /&gt;
Named args :&lt;br /&gt;
*[Name=ExpTxt] INT :: {Export in text format (Def=false)}&lt;br /&gt;
*[Name=Out] string :: {Directory of Output Orientation}&lt;br /&gt;
*[Name=InCal] string :: {Directory of Input Internal Orientation (Calibration)}&lt;br /&gt;
*[Name=InOri] string :: {Directory of Input External Orientation}&lt;br /&gt;
*[Name=DoC] INT :: {Do Compensation}&lt;br /&gt;
*[Name=ForCalib] INT :: {1 for calibration }&lt;br /&gt;
*[Name=Focs] Pt2dr :: {Keep images with focal length inside range [A,B] (A,B in mm) (Def=keep all)}&lt;br /&gt;
*[Name=VitesseInit] INT&lt;br /&gt;
*[Name=PPRel] Pt2dr :: {Principal point shift}&lt;br /&gt;
*[Name=Decentre] INT :: {Principal point is shifted (Def=false)}&lt;br /&gt;
*[Name=PropDiag] REAL :: {Hemi-spherik fisheye diameter to diagonal ratio}&lt;br /&gt;
*[Name=SauvAutom] string :: {Save intermediary results to, Set NONE if dont want any}&lt;br /&gt;
*[Name=ImInit] string :: {Force first image}&lt;br /&gt;
*[Name=MOI] bool :: {MOI}&lt;br /&gt;
*[Name=DBF] INT :: {Debug (internal use : DebugPbCondFaisceau=true) }&lt;br /&gt;
*[Name=Debug] bool :: {Partial file for debug}&lt;br /&gt;
*[Name=DegRadMax] INT :: {Max degree of radial, default model dependent}&lt;br /&gt;
*[Name=DegGen] INT :: {Max degree of general polynome, default model dependent (generally 0 or 1)}&lt;br /&gt;
*[Name=LibAff] bool :: {Free affine parameter, Def=true}&lt;br /&gt;
*[Name=LibDec] bool :: {Free decentric parameter, Def=true}&lt;br /&gt;
*[Name=LibPP] bool :: {Free principal point, Def=true}&lt;br /&gt;
*[Name=LibCP] bool :: {Free distorsion center, Def=true}&lt;br /&gt;
*[Name=LibFoc] bool :: {Free focal, Def=true}&lt;br /&gt;
*[Name=RapTxt] string :: {RapTxt}&lt;br /&gt;
*[Name=LinkPPaPPs] REAL :: {Link PPa and PPs (double)}&lt;br /&gt;
*[Name=FrozenPoses] string :: {List of frozen poses (pattern)}&lt;br /&gt;
*[Name=SH] string :: {Set of Hom, Def=&amp;quot;&amp;quot;, give MasqFiltered for result of HomolFilterMasq}&lt;br /&gt;
*[Name=RefineAll] bool :: {More refinement at all step, safer and more accurate, but slower, def=true}&lt;br /&gt;
*[Name=ImMinMax] vector :: {Image min and max (may avoid tricky pattern ...)}&lt;br /&gt;
*[Name=EcMax] REAL :: {Final threshold for residual, def = 5.0 } &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==FishEyeEqui==&lt;br /&gt;
a model adapted for diagonal fisheyes equilinear ( with atan physicall model com- pleted with polynomial parameters there are 14 degrees of freedom: 1 for focal length , 2 for principal point, 2 for distorsion center , 5 for coefficients of radial distortion (r3 , r5 r7 ), 2 for decentric parameters, 2 for affine parameters; by default the ray defining the useful mask is 95% of the diagonal.&lt;br /&gt;
&lt;br /&gt;
===Help=== &lt;br /&gt;
You can access to the help by typing :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas FishEyeEqui -help&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Mandatory unnamed args :&lt;br /&gt;
*string :: {Calibration model}&lt;br /&gt;
*string :: {Full Directory (Dir+Pattern)}&lt;br /&gt;
&lt;br /&gt;
Named args :&lt;br /&gt;
*[Name=ExpTxt] INT :: {Export in text format (Def=false)}&lt;br /&gt;
*[Name=Out] string :: {Directory of Output Orientation}&lt;br /&gt;
*[Name=InCal] string :: {Directory of Input Internal Orientation (Calibration)}&lt;br /&gt;
*[Name=InOri] string :: {Directory of Input External Orientation}&lt;br /&gt;
*[Name=DoC] INT :: {Do Compensation}&lt;br /&gt;
*[Name=ForCalib] INT :: {1 for calibration }&lt;br /&gt;
*[Name=Focs] Pt2dr :: {Keep images with focal length inside range [A,B] (A,B in mm) (Def=keep all)}&lt;br /&gt;
*[Name=VitesseInit] INT&lt;br /&gt;
*[Name=PPRel] Pt2dr :: {Principal point shift}&lt;br /&gt;
*[Name=Decentre] INT :: {Principal point is shifted (Def=false)}&lt;br /&gt;
*[Name=PropDiag] REAL :: {Hemi-spherik fisheye diameter to diagonal ratio}&lt;br /&gt;
*[Name=SauvAutom] string :: {Save intermediary results to, Set NONE if dont want any}&lt;br /&gt;
*[Name=ImInit] string :: {Force first image}&lt;br /&gt;
*[Name=MOI] bool :: {MOI}&lt;br /&gt;
*[Name=DBF] INT :: {Debug (internal use : DebugPbCondFaisceau=true) }&lt;br /&gt;
*[Name=Debug] bool :: {Partial file for debug}&lt;br /&gt;
*[Name=DegRadMax] INT :: {Max degree of radial, default model dependent}&lt;br /&gt;
*[Name=DegGen] INT :: {Max degree of general polynome, default model dependent (generally 0 or 1)}&lt;br /&gt;
*[Name=LibAff] bool :: {Free affine parameter, Def=true}&lt;br /&gt;
*[Name=LibDec] bool :: {Free decentric parameter, Def=true}&lt;br /&gt;
*[Name=LibPP] bool :: {Free principal point, Def=true}&lt;br /&gt;
*[Name=LibCP] bool :: {Free distorsion center, Def=true}&lt;br /&gt;
*[Name=LibFoc] bool :: {Free focal, Def=true}&lt;br /&gt;
*[Name=RapTxt] string :: {RapTxt}&lt;br /&gt;
*[Name=LinkPPaPPs] REAL :: {Link PPa and PPs (double)}&lt;br /&gt;
*[Name=FrozenPoses] string :: {List of frozen poses (pattern)}&lt;br /&gt;
*[Name=SH] string :: {Set of Hom, Def=&amp;quot;&amp;quot;, give MasqFiltered for result of HomolFilterMasq}&lt;br /&gt;
*[Name=RefineAll] bool :: {More refinement at all step, safer and more accurate, but slower, def=true}&lt;br /&gt;
*[Name=ImMinMax] vector :: {Image min and max (may avoid tricky pattern ...)}&lt;br /&gt;
*[Name=EcMax] REAL :: {Final threshold for residual, def = 5.0 } &lt;br /&gt;
&lt;br /&gt;
==HemiEqui==&lt;br /&gt;
same model as previous, but by default the ray defining the useful mask s 52% of the diagonal; adapted to hemispheric equilinear fisheye.&lt;br /&gt;
&lt;br /&gt;
===Help=== &lt;br /&gt;
You can access to the help by typing :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas HemiEqui -help&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Mandatory unnamed args :&lt;br /&gt;
*string :: {Calibration model}&lt;br /&gt;
*string :: {Full Directory (Dir+Pattern)} &lt;br /&gt;
&lt;br /&gt;
Named args :&lt;br /&gt;
*[Name=ExpTxt] INT :: {Export in text format (Def=false)}&lt;br /&gt;
*[Name=Out] string :: {Directory of Output Orientation}&lt;br /&gt;
*[Name=InCal] string :: {Directory of Input Internal Orientation (Calibration)}&lt;br /&gt;
*[Name=InOri] string :: {Directory of Input External Orientation}&lt;br /&gt;
*[Name=DoC] INT :: {Do Compensation}&lt;br /&gt;
*[Name=ForCalib] INT :: {1 for calibration }&lt;br /&gt;
*[Name=Focs] Pt2dr :: {Keep images with focal length inside range [A,B] (A,B in mm) (Def=keep all)}&lt;br /&gt;
*[Name=VitesseInit] INT&lt;br /&gt;
*[Name=PPRel] Pt2dr :: {Principal point shift}&lt;br /&gt;
*[Name=Decentre] INT :: {Principal point is shifted (Def=false)}&lt;br /&gt;
*[Name=PropDiag] REAL :: {Hemi-spherik fisheye diameter to diagonal ratio}&lt;br /&gt;
*[Name=SauvAutom] string :: {Save intermediary results to, Set NONE if dont want any}&lt;br /&gt;
*[Name=ImInit] string :: {Force first image}&lt;br /&gt;
*[Name=MOI] bool :: {MOI}&lt;br /&gt;
*[Name=DBF] INT :: {Debug (internal use : DebugPbCondFaisceau=true) }&lt;br /&gt;
*[Name=Debug] bool :: {Partial file for debug}&lt;br /&gt;
*[Name=DegRadMax] INT :: {Max degree of radial, default model dependent}&lt;br /&gt;
*[Name=DegGen] INT :: {Max degree of general polynome, default model dependent (generally 0 or 1)}&lt;br /&gt;
*[Name=LibAff] bool :: {Free affine parameter, Def=true}&lt;br /&gt;
*[Name=LibDec] bool :: {Free decentric parameter, Def=true}&lt;br /&gt;
*[Name=LibPP] bool :: {Free principal point, Def=true}&lt;br /&gt;
*[Name=LibCP] bool :: {Free distorsion center, Def=true}&lt;br /&gt;
*[Name=LibFoc] bool :: {Free focal, Def=true}&lt;br /&gt;
*[Name=RapTxt] string :: {RapTxt}&lt;br /&gt;
*[Name=LinkPPaPPs] REAL :: {Link PPa and PPs (double)}&lt;br /&gt;
*[Name=FrozenPoses] string :: {List of frozen poses (pattern)}&lt;br /&gt;
*[Name=SH] string :: {Set of Hom, Def=&amp;quot;&amp;quot;, give MasqFiltered for result of HomolFilterMasq}&lt;br /&gt;
*[Name=RefineAll] bool :: {More refinement at all step, safer and more accurate, but slower, def=true}&lt;br /&gt;
*[Name=ImMinMax] vector :: {Image min and max (may avoid tricky&lt;br /&gt;
&lt;br /&gt;
== Error messages ==&lt;br /&gt;
* Pt Out Cam in ElCamera::F2toPtDirRayonL3 : occurs when an image in a sequence have been rotated before processing (happens sometime when dealing with old aerial scans)&lt;br /&gt;
* very singular matrix in Gausj : choose a distortion model with a lower number of parameters to estimate.&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=GrandLeez&amp;diff=3180</id>
		<title>GrandLeez</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=GrandLeez&amp;diff=3180"/>
				<updated>2024-03-28T10:20:43Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : Annulation des modifications 3179 de Zarg (discussion)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:picto-liste.png|25px|link=Tutorials]] [[Tutorials|Tutorials index]]&lt;br /&gt;
=Description=&lt;br /&gt;
This dataset will allow you to process a UAV mission a more generally a aerial mission. You will go trough direct georeferencing, GNSS delay correction, coordinate system change. We apply all this concepts to canopy model generation.&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
You can find this dataset at &amp;lt;code&amp;gt;https://micmac.ensg.eu/data/uas_grand_leez_dataset.zip&amp;lt;/code&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Once you have downloaded it, you have to unzip the &amp;quot;.zip&amp;quot; archive.&lt;br /&gt;
&lt;br /&gt;
=Presentation=&lt;br /&gt;
This dataset is kindly provided by  &amp;quot;l’Unité Gestion des Ressources Forestières et des Milieux Naturels (GRFMN), Université de Liège&amp;quot;. Contact: jo.lisein@ulg.ac.be&lt;br /&gt;
File present in the directory are :&lt;br /&gt;
*200 images : (800x600px) captured by a RICOH GR DIGITAL 3&lt;br /&gt;
[[Image:Carroussel_grandleez.png|x200px]]&lt;br /&gt;
*2 files to change coordinate system : &amp;lt;i&amp;gt;SysCoBL72_EPSG31370.xml&amp;lt;/i&amp;gt; et &amp;lt;i&amp;gt;SysCoRTL.xml&amp;lt;/i&amp;gt;&lt;br /&gt;
*Image Neighboors : &amp;lt;i&amp;gt;FileImagesNeighbour.xml&amp;lt;/i&amp;gt;&lt;br /&gt;
*Image geolocation : &amp;lt;i&amp;gt;GPS_WPK_Grand-Leez.csv&amp;lt;/i&amp;gt;&lt;br /&gt;
*2 commands scripts : &amp;lt;i&amp;gt;UASGrandLeez.sh&amp;lt;/i&amp;gt; (Linux) et &amp;lt;i&amp;gt;UASGrandLeez.bat&amp;lt;/i&amp;gt; (Windows)&lt;br /&gt;
*1 file with detailed commands : &amp;lt;i&amp;gt;cmd_UAS_Grand-Leez.txt&amp;lt;/i&amp;gt;&lt;br /&gt;
This dataset is a UAV mission realised in GrandLeez, Belgium for forest canopy survey.&lt;br /&gt;
&lt;br /&gt;
=Tutorial=&lt;br /&gt;
==Conversion of image coordinates==&lt;br /&gt;
OriConvert is used for 5 purposes:&lt;br /&gt;
#Conversion of the embedded GPS data into the micmac format : OriTxtInFile&lt;br /&gt;
#Generate the image pairs file&lt;br /&gt;
#Change the coordinate system (from WGS84 to a locally tangent system) with the argument : ChSys=DegreeWGS84@SysCoRTL.xml&lt;br /&gt;
#Compute relative speed of the camera (for GPS delay determination) : MTD1=1 CalcV=1&lt;br /&gt;
#Select a sample of the image block (PATC) for camera calibration : NameCple=FileImagesNeighbour.xml ImC=R0040536.JPG NbImC=25&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d OriConvert OriTxtInFile GPS_WPK_Grand-Leez.csv Nav-Brut-RTL ChSys=DegreeWGS84@SysCoRTL.xml MTD1=1 NameCple=FileImagesNeighbour.xml CalcV=1 ImC=R0040536.JPG NbImC=25&amp;lt;/pre&amp;gt;&lt;br /&gt;
See [[OriConvert]] for more details on arguments and file format.&lt;br /&gt;
&lt;br /&gt;
==Tie Point Generation with Tapioca==&lt;br /&gt;
The file &amp;lt;i&amp;gt;FileImagesNeighbour.xml&amp;lt;/i&amp;gt; contain for each images, his differents neighboors. If you open the file, you can see :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040519.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040514.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040444.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040517.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040438.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040440.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040441.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040516.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040442.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040515.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040443.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It means, image &amp;lt;i&amp;gt;R0040439.JPG&amp;lt;/i&amp;gt; is connected with all the images detailed in &amp;lt;Cple&amp;gt; tag. So you can run the tie point generation with [[Tapioca]] using this file :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapioca File FileImagesNeighbour.xml -1&amp;lt;/pre&amp;gt;&lt;br /&gt;
The processing time is shorter, because micmac knows which pictures to match.&lt;br /&gt;
&lt;br /&gt;
==Camera Calibration==&lt;br /&gt;
To run a Camera calibration with [[Tapas]], you can take an other dataset (here using a block of 25 images), with exactly the same camera settings, or you can use a part of the principal dataset. Here we use the same images as in [[OriConvert]] to determine Internal Orientation Parameters (IOP) :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas RadialBasic &amp;quot;R0040536.JPG|R0040537.JPG|R0040535.JPG|R0040578.JPG|R0040498.JPG|R0040499.JPG|R0040579.JPG|R0040538.JPG|R0040577.JPG|R0040534.JPG|R0040497.JPG|R0040500.JPG|R0040580.JPG|R0040456.JPG|R0040616.JPG|R0040576.JPG|R0040496.JPG|R0040617.JPG|R004045.JPG|R0040457.JPG|R0040615.JPG|R0040539.JPG|R0040501.JPG|R0040581.JPG|R0040533.JPG&amp;quot; Out=Sample4Calib-Rel&amp;lt;/pre&amp;gt;&lt;br /&gt;
This is the result of the last iteration :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
| |  Residual = 0.474718 ;; Evol, Moy=5.50743e-015 ,Max=3.70866e-014&lt;br /&gt;
| |  Worst, Res 0.618139 for R0040576.JPG,  Perc 99.446 for R0040496.JPG&lt;br /&gt;
| |  Cond , Aver 6.46061 Max 42.4603 Prop&amp;gt;100 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Orientation of the complete block in a relative system==&lt;br /&gt;
You can directly integrate the IOP determination in the relative orientation processing, by using [[Tapas]] and the argument InCal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas RadialBasic &amp;quot;R.*.JPG&amp;quot; Out=All-Rel InCal=Sample4Calib-Rel&amp;lt;/pre&amp;gt;&lt;br /&gt;
This is the results of the last iteration :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
| |  Residual = 0.420786 ;; Evol, Moy=3.64623e-014 ,Max=4.34387e-013&lt;br /&gt;
| |  Worst, Res 0.662578 for R0040576.JPG,  Perc 98.5075 for R0040472.JPG&lt;br /&gt;
| |  Cond , Aver 5.84769 Max 47.5369 Prop&amp;gt;100 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;Go further&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;When you are using a pre-calibration in Tapas, you give a initial solution to the least squares algorithm, you improve the convergence speed/chances.&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas RadialBasic &amp;quot;R.*.JPG&amp;quot; Out=All-Rel-b&amp;lt;/pre&amp;gt;&lt;br /&gt;
The results of the last iteration is :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
| |  Residual = 0.420786 ;; Evol, Moy=4.39195e-013 ,Max=1.7138e-012&lt;br /&gt;
| |  Worst, Res 0.662578 for R0040576.JPG,  Perc 98.5075 for R0040472.JPG&lt;br /&gt;
| |  Cond , Aver 5.40335 Max 52.3331 Prop&amp;gt;100 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The processing time is longer, but the residuals are the same, which prove the algortihm efficiency.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will know compute a sparse cloud with image relative position and orientation, to check if the block is correctly computed :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d AperiCloud &amp;quot;R.*.JPG&amp;quot; All-Rel&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Image:05 ori rel.png|x300px]]&amp;lt;br&amp;gt;&lt;br /&gt;
Optionnaly, if meshlab is installed, you can vizualise the sparse cloud:&lt;br /&gt;
&amp;lt;pre&amp;gt;meshlab All-Rel.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Absolute orientation and correction of the GNSS delay==&lt;br /&gt;
The position of the UAV are computed for the phase center of the GNSS which not correspond to the camera center. Moreover, the UAV is moving when you take the picture so you have to compute relative speed of each camera in order to determine and correct GNSS systematic error(delay).&lt;br /&gt;
&lt;br /&gt;
First, we have to use the embedded GNSS data to set (&amp;quot;bascule&amp;quot;) our system in the geographical coordinate system of choice (here a local radial tangential system - RTL) :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d CenterBascule &amp;quot;R.*.JPG&amp;quot; All-Rel Nav-Brut-RTL tmp CalcV=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : the target system NEEDS to be at least pseudo-euclidean (axes orthonormales). Lat/long/height is not such a system.&lt;br /&gt;
&lt;br /&gt;
This is the result of the bascule&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
BEGIN Compensation&lt;br /&gt;
BEGIN AMD&lt;br /&gt;
END AMD&lt;br /&gt;
APPLI APERO, NbUnknown = 1208&lt;br /&gt;
delay init :::    -0.0787348&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Here we compute a pre-absolute orientation from the relative one and we compare it to the image geolocation. The delay is estimated from the residuals and the UAV speed (here -0.0787348s).&lt;br /&gt;
OriConvert is (again) used for taking the delay into account and generate a new (accurate) orientation :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d OriConvert OriTxtInFile GPS_WPK_Grand-Leez.csv Nav-adjusted-RTL ChSys=DegreeWGS84@SysCoRTL.xml MTD1=1 Delay=-0.0787348&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now we can use the precise georeferencing to compute the absolute orientation from the aerotriangulated model with CenterBascule&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d CenterBascule &amp;quot;R.*.JPG&amp;quot; All-Rel Nav-adjusted-RTL All-RTL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Change the coordinate system==&lt;br /&gt;
Here we want to use the canopy model in other tools such OTB or QGIS for image segmentation/classification. So we have to backward transform our orientation coordinate system from local euclidian system to a geographic system. The tool to perform this transform is [[ChgSysCo]]. Here we transform to Belgian Lambert 72 (EPSG31370). More information about EPSG codes here : &amp;lt;code&amp;gt;http://spatialreference.org/ref/epsg/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d ChgSysCo  &amp;quot;R.*JPG&amp;quot; All-RTL SysCoRTL.xml@SysCoBL72_EPSG31370.xml All-BL72&amp;lt;/pre&amp;gt;&lt;br /&gt;
Compute an orientation vizualisation :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d AperiCloud &amp;quot;R.*.JPG&amp;quot; All-BL72 Out=All-BL72-cam.ply WithPoints=0&amp;lt;/pre&amp;gt;&lt;br /&gt;
The argument WithPoints, allow you to export only image position and orientation.&lt;br /&gt;
Optionnaly, if meshlab is installed, you can vizualise the orientation cloud :&lt;br /&gt;
&amp;lt;pre&amp;gt;meshlab All-BL72-cam.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Canopy Surface Model==&lt;br /&gt;
===With Old pipeline===&lt;br /&gt;
Dense-matching with [[Malt]].&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Malt Ortho &amp;quot;R.*JPG&amp;quot; All-BL72 DirMEC=MEC DefCor=0 AffineLast=1 Regul=0.005 HrOr=0 LrOr=0 ZoomF=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
This command line generate depth map by iteration on sub-sampling models. So we have to use the highest resolution, this is the file &amp;lt;i&amp;gt;MEC/Z_Num8_DeZoom1_STD-MALT.tif&amp;lt;/i&amp;gt;&lt;br /&gt;
Here, we aren't interested in the generation of orthophoto, but we want to compute a Digital Elevation Model (DEM) for canopy survey, so we convert the depth map in 8bits&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d to8Bits MEC/Z_Num8_DeZoom1_STD-MALT.tif Out=Canopy_dem.tif&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Image:Canopy DEM.png|x200px]]&lt;br /&gt;
&amp;lt;br&amp;gt;We can also export the dense point cloud and color it with [[Nuage2Ply]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Nuage2Ply &amp;quot;MEC/NuageImProf_STD-MALT_Etape_8.xml&amp;quot; Scale=8 Attr=&amp;quot;Canopy_dem.tif&amp;quot; Out=CanopySurfaceModel.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One can compute the orthoimage with:&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tawny Ortho-MEC&amp;lt;/pre&amp;gt;&lt;br /&gt;
The orthoimage will be the file Ortho-MEC/Orthophotomoisaic.tif .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Optionnaly, if meshlab is installed&lt;br /&gt;
&amp;lt;pre&amp;gt;meshlab CanopySurfaceModel.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===With New pipeline===&lt;br /&gt;
If you want to use the new pipeline, yo have to use [[PIMs]] and [[PIMs2MNT]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Pims MicMac &amp;quot;R.*JPG&amp;quot; All-BL72 DefCor=0 ZoomF=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Pims2MNT MicMac DoOrtho=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d to8Bits PIMs-TmpBasc/PIMs-Merged_Prof.tif Out=Canopy_dem.tif&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Nuage2Ply PIMs-TmpBasc/PIMs-Merged.xml Attr=&amp;quot;Canopy_dem.tif&amp;quot; Out=CanopySurfaceModel.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Optionnaly, if meshlab is installed&lt;br /&gt;
&amp;lt;pre&amp;gt;meshlab CanopySurfaceModel.ply&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=GrandLeez&amp;diff=3179</id>
		<title>GrandLeez</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=GrandLeez&amp;diff=3179"/>
				<updated>2024-03-28T10:16:12Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : /* Absolute orientation and correction of the GNSS delay */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:picto-liste.png|25px|link=Tutorials]] [[Tutorials|Tutorials index]]&lt;br /&gt;
=Description=&lt;br /&gt;
This dataset will allow you to process a UAV mission a more generally a aerial mission. You will go trough direct georeferencing, GNSS delay correction, coordinate system change. We apply all this concepts to canopy model generation.&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
You can find this dataset at &amp;lt;code&amp;gt;https://micmac.ensg.eu/data/uas_grand_leez_dataset.zip&amp;lt;/code&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Once you have downloaded it, you have to unzip the &amp;quot;.zip&amp;quot; archive.&lt;br /&gt;
&lt;br /&gt;
=Presentation=&lt;br /&gt;
This dataset is kindly provided by  &amp;quot;l’Unité Gestion des Ressources Forestières et des Milieux Naturels (GRFMN), Université de Liège&amp;quot;. Contact: jo.lisein@ulg.ac.be&lt;br /&gt;
File present in the directory are :&lt;br /&gt;
*200 images : (800x600px) captured by a RICOH GR DIGITAL 3&lt;br /&gt;
[[Image:Carroussel_grandleez.png|x200px]]&lt;br /&gt;
*2 files to change coordinate system : &amp;lt;i&amp;gt;SysCoBL72_EPSG31370.xml&amp;lt;/i&amp;gt; et &amp;lt;i&amp;gt;SysCoRTL.xml&amp;lt;/i&amp;gt;&lt;br /&gt;
*Image Neighboors : &amp;lt;i&amp;gt;FileImagesNeighbour.xml&amp;lt;/i&amp;gt;&lt;br /&gt;
*Image geolocation : &amp;lt;i&amp;gt;GPS_WPK_Grand-Leez.csv&amp;lt;/i&amp;gt;&lt;br /&gt;
*2 commands scripts : &amp;lt;i&amp;gt;UASGrandLeez.sh&amp;lt;/i&amp;gt; (Linux) et &amp;lt;i&amp;gt;UASGrandLeez.bat&amp;lt;/i&amp;gt; (Windows)&lt;br /&gt;
*1 file with detailed commands : &amp;lt;i&amp;gt;cmd_UAS_Grand-Leez.txt&amp;lt;/i&amp;gt;&lt;br /&gt;
This dataset is a UAV mission realised in GrandLeez, Belgium for forest canopy survey.&lt;br /&gt;
&lt;br /&gt;
=Tutorial=&lt;br /&gt;
==Conversion of image coordinates==&lt;br /&gt;
OriConvert is used for 5 purposes:&lt;br /&gt;
#Conversion of the embedded GPS data into the micmac format : OriTxtInFile&lt;br /&gt;
#Generate the image pairs file&lt;br /&gt;
#Change the coordinate system (from WGS84 to a locally tangent system) with the argument : ChSys=DegreeWGS84@SysCoRTL.xml&lt;br /&gt;
#Compute relative speed of the camera (for GPS delay determination) : MTD1=1 CalcV=1&lt;br /&gt;
#Select a sample of the image block (PATC) for camera calibration : NameCple=FileImagesNeighbour.xml ImC=R0040536.JPG NbImC=25&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d OriConvert OriTxtInFile GPS_WPK_Grand-Leez.csv Nav-Brut-RTL ChSys=DegreeWGS84@SysCoRTL.xml MTD1=1 NameCple=FileImagesNeighbour.xml CalcV=1 ImC=R0040536.JPG NbImC=25&amp;lt;/pre&amp;gt;&lt;br /&gt;
See [[OriConvert]] for more details on arguments and file format.&lt;br /&gt;
&lt;br /&gt;
==Tie Point Generation with Tapioca==&lt;br /&gt;
The file &amp;lt;i&amp;gt;FileImagesNeighbour.xml&amp;lt;/i&amp;gt; contain for each images, his differents neighboors. If you open the file, you can see :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040519.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040514.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040444.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040517.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040438.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040440.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040441.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040516.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040442.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040515.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
     &amp;lt;Cple&amp;gt;R0040439.JPG R0040443.JPG&amp;lt;/Cple&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It means, image &amp;lt;i&amp;gt;R0040439.JPG&amp;lt;/i&amp;gt; is connected with all the images detailed in &amp;lt;Cple&amp;gt; tag. So you can run the tie point generation with [[Tapioca]] using this file :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapioca File FileImagesNeighbour.xml -1&amp;lt;/pre&amp;gt;&lt;br /&gt;
The processing time is shorter, because micmac knows which pictures to match.&lt;br /&gt;
&lt;br /&gt;
==Camera Calibration==&lt;br /&gt;
To run a Camera calibration with [[Tapas]], you can take an other dataset (here using a block of 25 images), with exactly the same camera settings, or you can use a part of the principal dataset. Here we use the same images as in [[OriConvert]] to determine Internal Orientation Parameters (IOP) :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas RadialBasic &amp;quot;R0040536.JPG|R0040537.JPG|R0040535.JPG|R0040578.JPG|R0040498.JPG|R0040499.JPG|R0040579.JPG|R0040538.JPG|R0040577.JPG|R0040534.JPG|R0040497.JPG|R0040500.JPG|R0040580.JPG|R0040456.JPG|R0040616.JPG|R0040576.JPG|R0040496.JPG|R0040617.JPG|R004045.JPG|R0040457.JPG|R0040615.JPG|R0040539.JPG|R0040501.JPG|R0040581.JPG|R0040533.JPG&amp;quot; Out=Sample4Calib-Rel&amp;lt;/pre&amp;gt;&lt;br /&gt;
This is the result of the last iteration :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
| |  Residual = 0.474718 ;; Evol, Moy=5.50743e-015 ,Max=3.70866e-014&lt;br /&gt;
| |  Worst, Res 0.618139 for R0040576.JPG,  Perc 99.446 for R0040496.JPG&lt;br /&gt;
| |  Cond , Aver 6.46061 Max 42.4603 Prop&amp;gt;100 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Orientation of the complete block in a relative system==&lt;br /&gt;
You can directly integrate the IOP determination in the relative orientation processing, by using [[Tapas]] and the argument InCal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas RadialBasic &amp;quot;R.*.JPG&amp;quot; Out=All-Rel InCal=Sample4Calib-Rel&amp;lt;/pre&amp;gt;&lt;br /&gt;
This is the results of the last iteration :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
| |  Residual = 0.420786 ;; Evol, Moy=3.64623e-014 ,Max=4.34387e-013&lt;br /&gt;
| |  Worst, Res 0.662578 for R0040576.JPG,  Perc 98.5075 for R0040472.JPG&lt;br /&gt;
| |  Cond , Aver 5.84769 Max 47.5369 Prop&amp;gt;100 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;Go further&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;When you are using a pre-calibration in Tapas, you give a initial solution to the least squares algorithm, you improve the convergence speed/chances.&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas RadialBasic &amp;quot;R.*.JPG&amp;quot; Out=All-Rel-b&amp;lt;/pre&amp;gt;&lt;br /&gt;
The results of the last iteration is :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
| |  Residual = 0.420786 ;; Evol, Moy=4.39195e-013 ,Max=1.7138e-012&lt;br /&gt;
| |  Worst, Res 0.662578 for R0040576.JPG,  Perc 98.5075 for R0040472.JPG&lt;br /&gt;
| |  Cond , Aver 5.40335 Max 52.3331 Prop&amp;gt;100 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The processing time is longer, but the residuals are the same, which prove the algortihm efficiency.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will know compute a sparse cloud with image relative position and orientation, to check if the block is correctly computed :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d AperiCloud &amp;quot;R.*.JPG&amp;quot; All-Rel&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Image:05 ori rel.png|x300px]]&amp;lt;br&amp;gt;&lt;br /&gt;
Optionnaly, if meshlab is installed, you can vizualise the sparse cloud:&lt;br /&gt;
&amp;lt;pre&amp;gt;meshlab All-Rel.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Absolute orientation and correction of the GNSS delay==&lt;br /&gt;
The position of the UAV are computed for the phase center of the GNSS which not correspond to the camera center. Moreover, the UAV is moving when you take the picture so you have to compute relative speed of each camera in order to determine and correct GNSS systematic error(delay).&lt;br /&gt;
&lt;br /&gt;
First, we have to use the embedded GNSS data to set (&amp;quot;bascule&amp;quot;) our system in the geographical coordinate system of choice (here a local radial tangential system - RTL) :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d CenterBascule &amp;quot;R.*.JPG&amp;quot; All-Rel Nav-Brut-RTL Nav-adjusted-RTL CalcV=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : the target system NEEDS to be at least pseudo-euclidean (axes orthonormales). Lat/long/height is not such a system.&lt;br /&gt;
&lt;br /&gt;
This is the result of the bascule&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
BEGIN Compensation&lt;br /&gt;
BEGIN AMD&lt;br /&gt;
END AMD&lt;br /&gt;
APPLI APERO, NbUnknown = 1208&lt;br /&gt;
delay init :::    -0.0787348&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Here we compute a pre-absolute orientation from the relative one and we compare it to the image geolocation. The delay is estimated from the residuals and the UAV speed (here -0.0787348s).&lt;br /&gt;
OriConvert is (again) used for taking the delay into account and generate a new (accurate) orientation :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d OriConvert OriTxtInFile GPS_WPK_Grand-Leez.csv Nav-adjusted-RTL ChSys=DegreeWGS84@SysCoRTL.xml MTD1=1 Delay=-0.0787348&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now we can use the precise georeferencing to compute the absolute orientation from the aerotriangulated model with CenterBascule&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d CenterBascule &amp;quot;R.*.JPG&amp;quot; All-Rel Nav-adjusted-RTL All-RTL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Change the coordinate system==&lt;br /&gt;
Here we want to use the canopy model in other tools such OTB or QGIS for image segmentation/classification. So we have to backward transform our orientation coordinate system from local euclidian system to a geographic system. The tool to perform this transform is [[ChgSysCo]]. Here we transform to Belgian Lambert 72 (EPSG31370). More information about EPSG codes here : &amp;lt;code&amp;gt;http://spatialreference.org/ref/epsg/&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d ChgSysCo  &amp;quot;R.*JPG&amp;quot; All-RTL SysCoRTL.xml@SysCoBL72_EPSG31370.xml All-BL72&amp;lt;/pre&amp;gt;&lt;br /&gt;
Compute an orientation vizualisation :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d AperiCloud &amp;quot;R.*.JPG&amp;quot; All-BL72 Out=All-BL72-cam.ply WithPoints=0&amp;lt;/pre&amp;gt;&lt;br /&gt;
The argument WithPoints, allow you to export only image position and orientation.&lt;br /&gt;
Optionnaly, if meshlab is installed, you can vizualise the orientation cloud :&lt;br /&gt;
&amp;lt;pre&amp;gt;meshlab All-BL72-cam.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Canopy Surface Model==&lt;br /&gt;
===With Old pipeline===&lt;br /&gt;
Dense-matching with [[Malt]].&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Malt Ortho &amp;quot;R.*JPG&amp;quot; All-BL72 DirMEC=MEC DefCor=0 AffineLast=1 Regul=0.005 HrOr=0 LrOr=0 ZoomF=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
This command line generate depth map by iteration on sub-sampling models. So we have to use the highest resolution, this is the file &amp;lt;i&amp;gt;MEC/Z_Num8_DeZoom1_STD-MALT.tif&amp;lt;/i&amp;gt;&lt;br /&gt;
Here, we aren't interested in the generation of orthophoto, but we want to compute a Digital Elevation Model (DEM) for canopy survey, so we convert the depth map in 8bits&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d to8Bits MEC/Z_Num8_DeZoom1_STD-MALT.tif Out=Canopy_dem.tif&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Image:Canopy DEM.png|x200px]]&lt;br /&gt;
&amp;lt;br&amp;gt;We can also export the dense point cloud and color it with [[Nuage2Ply]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Nuage2Ply &amp;quot;MEC/NuageImProf_STD-MALT_Etape_8.xml&amp;quot; Scale=8 Attr=&amp;quot;Canopy_dem.tif&amp;quot; Out=CanopySurfaceModel.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One can compute the orthoimage with:&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tawny Ortho-MEC&amp;lt;/pre&amp;gt;&lt;br /&gt;
The orthoimage will be the file Ortho-MEC/Orthophotomoisaic.tif .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Optionnaly, if meshlab is installed&lt;br /&gt;
&amp;lt;pre&amp;gt;meshlab CanopySurfaceModel.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===With New pipeline===&lt;br /&gt;
If you want to use the new pipeline, yo have to use [[PIMs]] and [[PIMs2MNT]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Pims MicMac &amp;quot;R.*JPG&amp;quot; All-BL72 DefCor=0 ZoomF=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Pims2MNT MicMac DoOrtho=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d to8Bits PIMs-TmpBasc/PIMs-Merged_Prof.tif Out=Canopy_dem.tif&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Nuage2Ply PIMs-TmpBasc/PIMs-Merged.xml Attr=&amp;quot;Canopy_dem.tif&amp;quot; Out=CanopySurfaceModel.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Optionnaly, if meshlab is installed&lt;br /&gt;
&amp;lt;pre&amp;gt;meshlab CanopySurfaceModel.ply&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=XifGps2Txt&amp;diff=3178</id>
		<title>XifGps2Txt</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=XifGps2Txt&amp;diff=3178"/>
				<updated>2024-03-28T08:40:33Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:picto-liste.png|25px]] [[Command|List of commands]]&lt;br /&gt;
==Description==&lt;br /&gt;
Often the GPS information is not in separate files but directly embedded in the EXIF metadata. The tools&lt;br /&gt;
[[XifGps2Xml]] and [[XifGps2Txt]] allow to do extract this information and convert it to text or XML file.&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
The global syntax for XifGps2Txt is :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d XifGps2Txt FullName NamedArgs&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Help=== &lt;br /&gt;
You can access to the help by typing :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d XifGps2Txt -help&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Mandatory unnamed args====&lt;br /&gt;
* string :: {Full Name}&lt;br /&gt;
====Named args====&lt;br /&gt;
* [Name=OutTxtFile] string :: {Def file created : ’GpsCoordinatesFromExif.txt’ }&lt;br /&gt;
* [Name=Sys] string :: {System to express output coordinates : WGS84_deg/WGS84_rad/GeoC ; Def=WGS84_deg}&lt;br /&gt;
* [Name=DefZ] REAL&lt;br /&gt;
&lt;br /&gt;
If there is no GPS data into EXIF metadata, the output file will be created as an empty file.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
For example, with :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d XifGps2Txt &amp;quot;.*jpg&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
It returns the GpsCoordinatesFromExif.txt file:&lt;br /&gt;
&amp;lt;pre&amp;gt;2016-04-02_12-22-07.jpg 1.908783 47.902767 161.000000&lt;br /&gt;
2016-04-02_12-22-18.jpg 1.908758 47.902861 161.000000&lt;br /&gt;
2016-04-02_12-22-29.jpg 1.908717 47.902964 159.000000&lt;br /&gt;
2016-04-02_12-22-56.jpg 1.908556 47.902828 154.000000&lt;br /&gt;
2016-04-02_12-23-07.jpg 1.908506 47.902789 157.000000&lt;br /&gt;
2016-04-02_12-23-12.jpg 1.908511 47.902722 157.000000&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=XifGps2Xml&amp;diff=3177</id>
		<title>XifGps2Xml</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=XifGps2Xml&amp;diff=3177"/>
				<updated>2024-03-28T08:40:16Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:picto-liste.png|25px]] [[Command|List of commands]]&lt;br /&gt;
==Description==&lt;br /&gt;
Often the GPS information is not in separate files but directly embedded in the EXIF metadata. The tools&lt;br /&gt;
[[XifGps2Xml]] and [[XifGps2Txt]] allow to do extract this information and convert it to text or XML file.&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
The global syntax for XifGps2Xmlt is :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d XifGps2Xml FullName Orientation NamedArgs&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Help=== &lt;br /&gt;
You can access to the help by typing :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d XifGps2Xml -help&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Mandatory unnamed args :====&lt;br /&gt;
* string :: {Full Name}&lt;br /&gt;
* string :: {Orientation}&lt;br /&gt;
====Named args :====&lt;br /&gt;
* [Name=DoRTL] bool :: {Do Local Tangent RTL (def=true)}&lt;br /&gt;
* [Name=RTL] string :: {Name RTL}&lt;br /&gt;
* [Name=SysCo] string :: {System of coordinates, by default RTL created (RTLFromExif.xml)}&lt;br /&gt;
* [Name=DefZ] REAL&lt;br /&gt;
&lt;br /&gt;
====Options :====&lt;br /&gt;
* &amp;lt;b&amp;gt;DoRTL&amp;lt;/b&amp;gt; : Transform the coordinate in RTL.&lt;br /&gt;
* &amp;lt;b&amp;gt;RTL&amp;lt;/b&amp;gt; : Name of the file which define the RTL.&lt;br /&gt;
* &amp;lt;b&amp;gt;DefZ&amp;lt;/b&amp;gt; : Will allow to specify the altitude value, not implemanted for now.&lt;br /&gt;
* &amp;lt;b&amp;gt;SysCo&amp;lt;/b&amp;gt; : Allow to change the coordinate system.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
For example, with :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d XifGps2Xml &amp;quot;.*jpg&amp;quot; Test&amp;lt;/pre&amp;gt;&lt;br /&gt;
* For each image, containing GPS data in EXIF, a file is created containing the GPS information in XML MicMac format.&lt;br /&gt;
* For example for &amp;lt;b&amp;gt;Image100.jpg&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;Ori-Test/Orientation-Image100.jpg.xml&amp;lt;/b&amp;gt; is created, in XML MicMac format.&lt;br /&gt;
* The coordinate system is a local tangent sytem, with origin at center of images.&lt;br /&gt;
* The file RTLFromExif.xml contains the definition of this system in MicMac format.&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3176</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3176"/>
				<updated>2024-03-26T09:30:21Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  Xcode and &amp;quot;command line developer tools&amp;quot; (sudo xcode-select --install) should be also installed&lt;br /&gt;
&lt;br /&gt;
 brew install qt-creator&lt;br /&gt;
 brew install qt5&lt;br /&gt;
 brew install qt-creator-dev&lt;br /&gt;
 &lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install Git ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
This script [https://raw.githubusercontent.com/sbonaime/micmac/master/macos_script_install.sh script] can be used for an automatic compilation from sources on macos&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case cmake complains about missing Widgets library, you must export manually CMAKE_PREFIX_PATH with &amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.10.0/ ../&amp;lt;/pre&amp;gt; replacing 5.10.0 with whatever version is the latest being used.&lt;br /&gt;
&lt;br /&gt;
We need to find the number of available processor on your mac using the following command&lt;br /&gt;
&lt;br /&gt;
sysctl -n hw.ncpu&lt;br /&gt;
&lt;br /&gt;
The result is the number should be used to finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K is the number previously found (like 8 or 16...)&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
For convenience we can add micmac bin folder to the PATH variable&lt;br /&gt;
&lt;br /&gt;
Depending of the result of the command&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo $0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for bash you should modify ~/.bashrc&lt;br /&gt;
* for zsh you should modify  ~/.zshrc&lt;br /&gt;
&lt;br /&gt;
And add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt; 'stdlib.h' file not found&amp;quot; &amp;lt;/code&amp;gt; =&amp;gt; [https://discourse.slicer.org/t/building-on-mac-10-14-mojave/4554]&lt;br /&gt;
*&amp;lt;code&amp;gt;Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3175</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3175"/>
				<updated>2024-03-26T09:17:20Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  Xcode and &amp;quot;command line developer tools&amp;quot; (sudo xcode-select --install) should be also installed&lt;br /&gt;
&lt;br /&gt;
 brew install qt-creator&lt;br /&gt;
 brew install qt5&lt;br /&gt;
 brew install qt-creator-dev&lt;br /&gt;
 &lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install Git ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
This script [https://raw.githubusercontent.com/sbonaime/micmac/master/macos_script_install.sh script] can be used for an automatic compilation from sources on macos&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case cmake complains about missing Widgets library, you must export manually CMAKE_PREFIX_PATH with &amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.10.0/ ../&amp;lt;/pre&amp;gt; replacing 5.10.0 with whatever version is the latest being used.&lt;br /&gt;
&lt;br /&gt;
We need to find the number of available processor on your mac using the following command&lt;br /&gt;
&lt;br /&gt;
sysctl -n hw.ncpu&lt;br /&gt;
&lt;br /&gt;
The result is the number should be used to finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K is the number previously found (like 8 or 16...)&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
We have now to edit the file wich contains environnement path which is located in &amp;quot;/etc/bash.bashrc&amp;quot;. The file is maybe hidden, so press CTRL+H, or activate &amp;quot;Hidden files&amp;quot; in Display (Top bar).&lt;br /&gt;
So open a terminal and type :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/bash.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : files in &amp;quot;/etc/&amp;quot; have to be opened in super user mode.&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory''/micmac/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt; 'stdlib.h' file not found&amp;quot; &amp;lt;/code&amp;gt; =&amp;gt; [https://discourse.slicer.org/t/building-on-mac-10-14-mojave/4554]&lt;br /&gt;
*&amp;lt;code&amp;gt;Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3174</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3174"/>
				<updated>2024-03-26T09:14:03Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  Xcode and &amp;quot;command line developer tools&amp;quot; (sudo xcode-select --install) should be also installed&lt;br /&gt;
&lt;br /&gt;
 brew install qt-creator&lt;br /&gt;
 brew install qt5&lt;br /&gt;
 brew install qt-creator-dev&lt;br /&gt;
 &lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install Git ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
This script [https://raw.githubusercontent.com/sbonaime/micmac/master/macos_script_install.sh script] can be used for an automatic compilation from sources on macos&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case cmake complains about missing Widgets library, you must export manually CMAKE_PREFIX_PATH with &amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.10.0/ ../&amp;lt;/pre&amp;gt; replacing 5.10.0 with whatever version is the latest being used.&lt;br /&gt;
&lt;br /&gt;
Now we can finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K=&amp;quot;number of processor in your computer&amp;quot; (if you are not sure how many cores you have, just write a big number and all of the cores will be used).&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
We have now to edit the file wich contains environnement path which is located in &amp;quot;/etc/bash.bashrc&amp;quot;. The file is maybe hidden, so press CTRL+H, or activate &amp;quot;Hidden files&amp;quot; in Display (Top bar).&lt;br /&gt;
So open a terminal and type :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/bash.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : files in &amp;quot;/etc/&amp;quot; have to be opened in super user mode.&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory''/micmac/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt; 'stdlib.h' file not found&amp;quot; &amp;lt;/code&amp;gt; =&amp;gt; [https://discourse.slicer.org/t/building-on-mac-10-14-mojave/4554]&lt;br /&gt;
*&amp;lt;code&amp;gt;Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3173</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3173"/>
				<updated>2024-03-26T09:10:15Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : update des install brew sans cask&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  Xcode and &amp;quot;command line developer tools&amp;quot; (sudo xcode-select --install) should be also installed&lt;br /&gt;
&lt;br /&gt;
 brew install qt-creator&lt;br /&gt;
 brew install qt5&lt;br /&gt;
 brew tap homebrew/cask-versions&lt;br /&gt;
 brew install qt-creator-dev&lt;br /&gt;
 &lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install Git ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
This script [https://raw.githubusercontent.com/sbonaime/micmac/master/macos_script_install.sh script] can be used for an automatic compilation from sources on macos&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case cmake complains about missing Widgets library, you must export manually CMAKE_PREFIX_PATH with &amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.10.0/ ../&amp;lt;/pre&amp;gt; replacing 5.10.0 with whatever version is the latest being used.&lt;br /&gt;
&lt;br /&gt;
Now we can finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K=&amp;quot;number of processor in your computer&amp;quot; (if you are not sure how many cores you have, just write a big number and all of the cores will be used).&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
We have now to edit the file wich contains environnement path which is located in &amp;quot;/etc/bash.bashrc&amp;quot;. The file is maybe hidden, so press CTRL+H, or activate &amp;quot;Hidden files&amp;quot; in Display (Top bar).&lt;br /&gt;
So open a terminal and type :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/bash.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : files in &amp;quot;/etc/&amp;quot; have to be opened in super user mode.&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory''/micmac/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt; 'stdlib.h' file not found&amp;quot; &amp;lt;/code&amp;gt; =&amp;gt; [https://discourse.slicer.org/t/building-on-mac-10-14-mojave/4554]&lt;br /&gt;
*&amp;lt;code&amp;gt;Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Pierrerue_tutorial&amp;diff=3144</id>
		<title>Pierrerue tutorial</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Pierrerue_tutorial&amp;diff=3144"/>
				<updated>2021-03-19T09:22:05Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : /* Measurement process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:picto-liste.png|25px|link=Tutorials]] [[Tutorials|Tutorials index]]&lt;br /&gt;
==Description==&lt;br /&gt;
This dataset allow you to process a georeferenced orthophoto from a front. This dataset was acquired by student of ENSG during their summer internship in Forcalquier. They have use targets surveyed with total station.&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
You can find this dataset at &amp;lt;code&amp;gt;http://micmac.ensg.eu/data/pierrerue_dataset.zip&amp;lt;/code&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Once you have downloaded it, you have to unzip the &amp;quot;.zip&amp;quot; archive.&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
[[Image:Pierrerue1.png|thumb|180px||alt=Pierrerue|Pierrerue Chapel]]&lt;br /&gt;
*31 JPG images&lt;br /&gt;
*1 file containing the support points (Pierrerue.xml)&lt;br /&gt;
*We will use the folder 001_Elements-de-georeferencement&lt;br /&gt;
&lt;br /&gt;
==About the data==&lt;br /&gt;
The shooting contain 31 images, taken with the Sony alpha850 with a 244mm lens.&lt;br /&gt;
Check that the folder contains images recovering :&lt;br /&gt;
*facade n°1&lt;br /&gt;
*facade n°2&lt;br /&gt;
* the corner between these 2 façade (images link).&lt;br /&gt;
Support points are available and allows to georeference the readings (see the folder 001_Elements-de-georeferencement).&lt;br /&gt;
&lt;br /&gt;
==Tutorial==&lt;br /&gt;
===Set up the images===&lt;br /&gt;
====Tie-Points search====&lt;br /&gt;
All the images should be set up simultaneously, in order that the georeference process will be expressed into one only cordinate system. First, we can run the tie-points search : &amp;lt;pre&amp;gt;mm3d Tapioca MulScale &amp;quot;.*JPG&amp;quot; 600 2000&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Internal orientation and relative orientation====&lt;br /&gt;
Then, we have to define the settings of the camera used from the images covering the corner between the 2 facades (more suitable than the others, because of the depth). &amp;lt;pre&amp;gt;mm3d Tapas RadialStd &amp;quot;angle.*JPG&amp;quot; Out=Calib24mm&amp;lt;/pre&amp;gt; Into the command prompt, we can check if the residual from the images is admissible (around the half pixel). We can check also the number of connection points, aswell as the percentage of points keeped (&amp;quot;99.8258 of 28466&amp;quot; : 99.8% of the connection points kept from 38466 points calculated). We can process yet the setting up of all the images. starting from the camera we calculated before. &amp;lt;pre&amp;gt;mm3d Tapas RadialStd &amp;quot;.*JPG&amp;quot; InCal=Calib24mm Out=MEP&amp;lt;/pre&amp;gt; Into the command prompt, we can control residual during the process. At the last step, we can see that the image residual are, for all the images, less than a half-pixel. We control also the number of support points, aswell that the percentage of points keeped (&amp;quot;99.8258 of 38466&amp;quot; : 99.8% of the support points keeped from the 38466 points calculated).&lt;br /&gt;
&lt;br /&gt;
====Visualization of relative orientation====&lt;br /&gt;
The [[AperiCloud]] command allows to generate 3D clouds, containing all the support points obtained with [[Tapioca]], and the position of the cameras obtained from the [[Tapas]] output.&lt;br /&gt;
[[Image:Pierrerue2.png|thumb|180px||alt=Pierrerue|Meshlab visualization]] &lt;br /&gt;
 &amp;lt;pre&amp;gt;mm3d AperiCloud &amp;quot;.*JPG&amp;quot; MEP&amp;lt;/pre&amp;gt;The result of this command can be seen for example with the meshlab software.&lt;br /&gt;
&lt;br /&gt;
===Set up the images into the coordinates system of the support points===&lt;br /&gt;
Now we have to measure the support points available to georeference the images, and so the incoming products, into the reference coordinate system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Explaining the process====&lt;br /&gt;
*1. We measure 3 support points well distributed ([[SaisieAppuisInit]] command) ;&lt;br /&gt;
*2. We can now create a 3D similarity (transformation from 7 settings containing one scale coefficient, one translation into space and one space rotation) between the arbitary system calculated while the setting up and the coordinate system chosen ([[GCPBascule]] command) ; &lt;br /&gt;
*3. We have now to measure the remaining points : the absolute orientation calculated from the previous step, allows to suggest an approximated position for each points ([[SaisieAppuisPredic]] command) ; &lt;br /&gt;
*4. We affine the absolute orientation ([[GCPBascule]] command) ; &lt;br /&gt;
*5. We start the final computation for the setting up (this offset allows to find the best position/orientation of the cameras while using the points measurements on the linking points and on the support points) ; ([[Campari]] command).&lt;br /&gt;
&lt;br /&gt;
====Measurement process====&lt;br /&gt;
*1. Measurements of almost 3 support points on the facade n°1 (At least one point should be measured to be valid on at least two images). To set the points, you need to get to know the position of the 3 points thanks to the folder 001_Elements-de-georeferencement. &amp;lt;pre&amp;gt;mm3d SaisieAppuisInitQT &amp;quot;facade1DSC0589[8|9].JPG&amp;quot; MEP 1001 MesureFacade.xml&amp;lt;/pre&amp;gt;&lt;br /&gt;
To validate two other support points (on two images each) : &amp;lt;pre&amp;gt;mm3d SaisieAppuisInitQT &amp;quot;facade1DSC0588[3|5].JPG&amp;quot; MEP 1002 MesureFacade.xml&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d SaisieAppuisInitQT &amp;quot;facade1DSC0589[3|6].JPG&amp;quot; MEP 1121 MesureFacade.xml&amp;lt;/pre&amp;gt;&lt;br /&gt;
*2. Computation of the 3D similarity (absolute orientation) &amp;lt;pre&amp;gt;mm3d GCPBascule &amp;quot;.*JPG&amp;quot; MEP MEP-Basc Pierrerue.xml MesureFacade-S2D.xml&amp;lt;/pre&amp;gt;&lt;br /&gt;
*3. Measurement of all available points : &amp;lt;pre&amp;gt;mm3d SaisieAppuisPredicQT &amp;quot;facade.*JPG&amp;quot; MEP-Basc Pierrerue.xml MesureFacade-Final.xml&amp;lt;/pre&amp;gt; We must now validate the points left. &lt;br /&gt;
*4. Update computation of the absolute orientation.&lt;br /&gt;
This time, we need all the support points to calclulate the 3D similarity of the absolute orientation.&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d GCPBascule &amp;quot;.*JPG&amp;quot; MEP MEP-Basc2 Pierrerue.xml MesureFacade-Final-S2D.xml&amp;lt;/pre&amp;gt;&lt;br /&gt;
*5. Final adjustement&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Campari &amp;quot;.*JPG&amp;quot; MEP-Basc2 MEP-Terrain GCP=[Pierrerue.xml,0.02,MesureFacade-Final-S2D.xml,0.5]&amp;lt;/pre&amp;gt;&lt;br /&gt;
This computation adjustement use to find the best position/orientation of the cameras when the shooting was made assuming that the support points have a 0.02m accuracy, and the linking points have a 0.5 pixel accuracy. This values allows to ponderate the measurements.  It suits, at the end of the process, to control the residues on the support points and on the images residuals.&lt;br /&gt;
The residual images look like this :&lt;br /&gt;
&amp;lt;pre&amp;gt;| |  RESIDU LIAISON MOYENS = 0.547721 pour Id_Pastis_Hom Evol, Moy=2.38308e-07 ,Max=0.00295916&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===3D Reconstruction===&lt;br /&gt;
As we did for the Fountain exercise, we have to do the 3D reconstruction with the image geometry with the [[C3DC]] tools. First, we have to limit the reconstruction area. To process it, we have to create a mask on the cloud points ([[AperiCloud]]), that we have to recalculate in the new set up. &amp;lt;pre&amp;gt;mm3d AperiCloud &amp;quot;.*JPG&amp;quot; MEP-Terrain&amp;lt;/pre&amp;gt;&lt;br /&gt;
To limit the computation area, we will create a 3D mask :&amp;lt;pre&amp;gt;mm3d SaisieMasqQT AperiCloud_MEP-Terrain.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once the mask is created, we can launch the 3D reconstruction : &amp;lt;pre&amp;gt;mm3d C3DC MicMac &amp;quot;facade.*JPG&amp;quot; MEP-Terrain Masq3D=AperiCloud_MEP-Terrain.ply Out=C3DC_MicMac_Pierrerue.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
The C3DC_MicMac_Pierrerue.ply file can be open with Meshlab.&lt;br /&gt;
&lt;br /&gt;
===Orthorectification===&lt;br /&gt;
To realize orthorectifications of the Pierrerue facade, we have to define a temporary landmark for each facade, where the Z axis will be perpendicular to the facade. In the first time, we will work on facade n°1. We processing it in 2 steps : &lt;br /&gt;
&lt;br /&gt;
1. Mask creation into the facade : &amp;lt;pre&amp;gt;mm3d SaisieMasqQT facade1DSC05893.JPG Attr=Facade1&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Computation of a local landmark where the Z axis is perpendicular and going through the support points included into the masks : &amp;lt;pre&amp;gt;mm3d RepLocBascule &amp;quot;facade1.*JPG&amp;quot; Ori-MEP-Terrain HOR Repere-Facade1.xml PostPlan=_MasqFacade1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The HOR setting show that for the Ox axis of our orthoimage, we use the horizontal of our worksite. It can be done here, because the set up MEP-Terrain was obtained from support points. The orthoimage will be calculated from new landmark. It is necessary here to reproject the 3D reconstruction process into this new landmark. Normally, a depthmap will be calculated into the orthorectification map : it's about an image applied on the object, where the pixels show the distance from map. We describe it as 2.5D (3D information isn't available only for a finite number of positions). &lt;br /&gt;
&lt;br /&gt;
The [[PIMs2MNT]] command allows to create a depth map into the map of the facade n°1 (the one calculated before : ''Repere-Facade1.xml'') : &lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Pims2MNT MicMac DoOrtho=1 Repere=Repere-Facade1.xml Pat=&amp;quot;facade1.*JPG&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
The correlation map resulting, calculated into the facade n°1, can be found into the folder ''PIMs-TmpBasc'' with the name ''PIMs-Merged_Correl.tif''. This file contains the correlation results : white is corresponding to a very good correlation scores ; more the grey is dark, less the matching process went well. &lt;br /&gt;
&lt;br /&gt;
Once the depth map processed, MicMac compute into the PIMs-ORTHO repertory the orthoimages for each image, aswell as incidence pictures, with the angle between the facade and the perspective ray (images Incid_facade1DSC###.tif) and images with hidden parts, that show in white the hidden parts into the image (imgaes PC_facade1DSC###.tif).&lt;br /&gt;
[[Image:Pierrerue1.png|thumb|180px||alt=Pierrerue|Pierrerue Chapel]]&lt;br /&gt;
After the calculation, each orthoimages should be mosaiced. The choice of the image to use for each pixel is done with these specificity : no hidden parts, best angle of attack, continuity in the choice of images :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tawny PIMs-ORTHO/&amp;lt;/pre&amp;gt;&lt;br /&gt;
The result is an image created into ''PIMs-ORTHO'' folder, called Orthophotomosaic.tif. Metadatas associated are available into the file Orthophotomosaic.tfw. We can see the resolution chosen for the orthoimage computation here (1.1mm).&lt;br /&gt;
&lt;br /&gt;
[[Image:Pierrerue5.png|thumb|180px||alt=Pierrerue|Meshlab visualization]]&lt;br /&gt;
We can now create a faded image relief, this image allows to evaluate the quality of the reconstruction, especially in detecting the noise existing on the reconstructed surface.&lt;br /&gt;
 &amp;lt;pre&amp;gt;mm3d GrShade PIMs-TmpBasc/PIMs-Merged_Prof.tif ModeOmbre=IgnE Mask=PIMs-TmpBasc/PIMs-Merged_Masq.tif Out=Facade1_Shade.tif&amp;lt;/pre&amp;gt;&lt;br /&gt;
Another product can be created, it's an colorized image into the facade depth (each colour is corresponding to a  scale of depth) :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d to8Bits PIMs-TmpBasc/PIMs-Merged_Prof.tif Coul=1 Circ=1 Mask=PIMs-TmpBasc/PIMs-Merged_Masq.tif Out=Facade1_8Bits.tif&amp;lt;/pre&amp;gt;&lt;br /&gt;
Files ''Facade1_Shade.tif'' and ''Facade1_8bits'' can be seen with any image viewer software. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, it can be helpful to regenerate a 3D cloud points from the depth map, by colorizing it with the orthoimage. The advantage is to use radiometric equalization calculated on the orthoimage (during the [[Tawny]]) to have an equalized 3D cloud points. The disadvantage is that the 3D area is only 2,5D and that the perpendicular object from the facade map aren't showed on the cloud. &lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Nuage2Ply PIMs-TmpBasc/PIMs-Merged.xml Attr=PIMs-ORTHO/Orthophotomosaic.tif Out=Facade1.ply&amp;lt;/pre&amp;gt;&lt;br /&gt;
The file ''Facade1.ply'' can be seen with Meshlab, and can be compared to the file ''C3DC_MicMac_Pierrerue.ply''. &lt;br /&gt;
&lt;br /&gt;
Everything executed on the facade n°1 can be done now on facade n°2.&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3086</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3086"/>
				<updated>2019-03-07T13:40:12Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  Xcode and &amp;quot;command line developer tools&amp;quot; (sudo xcode-select --install) should be also installed&lt;br /&gt;
&lt;br /&gt;
 brew cask install qt-creator&lt;br /&gt;
 brew install qt5&lt;br /&gt;
 brew tap homebrew/cask-versions&lt;br /&gt;
 brew cask install qt-creator-dev&lt;br /&gt;
 &lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install Git ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
This script [https://raw.githubusercontent.com/sbonaime/micmac/master/macos_script_install.sh script] can be used for an automatic compilation from sources on macos&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case cmake complains about missing Widgets library, you must export manually CMAKE_PREFIX_PATH with &amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.10.0/ ../&amp;lt;/pre&amp;gt; replacing 5.10.0 with whatever version is the latest being used.&lt;br /&gt;
&lt;br /&gt;
Now we can finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K=&amp;quot;number of processor in your computer&amp;quot; (if you are not sure how many cores you have, just write a big number and all of the cores will be used).&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
We have now to edit the file wich contains environnement path which is located in &amp;quot;/etc/bash.bashrc&amp;quot;. The file is maybe hidden, so press CTRL+H, or activate &amp;quot;Hidden files&amp;quot; in Display (Top bar).&lt;br /&gt;
So open a terminal and type :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/bash.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : files in &amp;quot;/etc/&amp;quot; have to be opened in super user mode.&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory''/micmac/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt; 'stdlib.h' file not found&amp;quot; &amp;lt;/code&amp;gt; =&amp;gt; [https://discourse.slicer.org/t/building-on-mac-10-14-mojave/4554]&lt;br /&gt;
*&amp;lt;code&amp;gt;Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Discussion:Install_MicMac_MAC&amp;diff=3085</id>
		<title>Discussion:Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Discussion:Install_MicMac_MAC&amp;diff=3085"/>
				<updated>2019-03-07T13:06:28Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : Page blanchie&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3084</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=3084"/>
				<updated>2019-03-05T12:44:55Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  Xcode and &amp;quot;command line developer tools&amp;quot; (sudo xcode-select --install) should be also installed&lt;br /&gt;
&lt;br /&gt;
 brew cask install qt-creator&lt;br /&gt;
 brew install qt5&lt;br /&gt;
 brew tap homebrew/cask-versions&lt;br /&gt;
 brew cask install qt-creator-dev&lt;br /&gt;
 &lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install GitHub ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
The script_jenkins.sh available in micmac repository (or here : [https://github.com/micmacIGN/micmac/blob/master/script_jenkins_unix.sh]) can be used for an automatic compilation from sources.&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case cmake complains about missing Widgets library, you must export manually CMAKE_PREFIX_PATH with &amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.10.0/ ../&amp;lt;/pre&amp;gt; replacing 5.10.0 with whatever version is the latest being used.&lt;br /&gt;
&lt;br /&gt;
Now we can finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K=&amp;quot;number of processor in your computer&amp;quot; (if you are not sure how many cores you have, just write a big number and all of the cores will be used).&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
We have now to edit the file wich contains environnement path which is located in &amp;quot;/etc/bash.bashrc&amp;quot;. The file is maybe hidden, so press CTRL+H, or activate &amp;quot;Hidden files&amp;quot; in Display (Top bar).&lt;br /&gt;
So open a terminal and type :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/bash.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : files in &amp;quot;/etc/&amp;quot; have to be opened in super user mode.&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory''/micmac/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)...&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;...&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=2525</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=2525"/>
				<updated>2017-07-03T16:13:58Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  Xcode and &amp;quot;command line developer tools&amp;quot; (sudo xcode-select --install) should be also installed&lt;br /&gt;
&lt;br /&gt;
 brew cask install qt-creator&lt;br /&gt;
 brew install qt5&lt;br /&gt;
 brew cask install qt-creator-dev&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install GitHub ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
The script_jenkins.sh available in micmac repository (or here : [https://github.com/micmacIGN/micmac/blob/master/script_jenkins_unix.sh]) can be used for an automatic compilation from sources.&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K=&amp;quot;number of processor in your computer&amp;quot; (if you are not sure how many cores you have, just write a big number and all of the cores will be used).&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
We have now to edit the file wich contains environnement path which is located in &amp;quot;/etc/bash.bashrc&amp;quot;. The file is maybe hidden, so press CTRL+H, or activate &amp;quot;Hidden files&amp;quot; in Display (Top bar).&lt;br /&gt;
So open a terminal and type :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/bash.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : files in &amp;quot;/etc/&amp;quot; have to be opened in super user mode.&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory''/micmac/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)...&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;...&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=2524</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=2524"/>
				<updated>2017-07-03T15:59:46Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  Xcode and &amp;quot;command line developer tools&amp;quot; (sudo xcode-select --install) should be also installed&lt;br /&gt;
&lt;br /&gt;
 brew cask install qt-creator&lt;br /&gt;
&lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install GitHub ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
The script_jenkins.sh available in micmac repository (or here : [https://github.com/micmacIGN/micmac/blob/master/script_jenkins_unix.sh]) can be used for an automatic compilation from sources.&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K=&amp;quot;number of processor in your computer&amp;quot; (if you are not sure how many cores you have, just write a big number and all of the cores will be used).&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
We have now to edit the file wich contains environnement path which is located in &amp;quot;/etc/bash.bashrc&amp;quot;. The file is maybe hidden, so press CTRL+H, or activate &amp;quot;Hidden files&amp;quot; in Display (Top bar).&lt;br /&gt;
So open a terminal and type :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/bash.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : files in &amp;quot;/etc/&amp;quot; have to be opened in super user mode.&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory''/micmac/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)...&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;...&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=2523</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=2523"/>
				<updated>2017-07-03T15:50:59Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  Xcode and &amp;quot;command line developer tools&amp;quot; (sudo xcode-select --install) should be also installed&lt;br /&gt;
&lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install GitHub ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
The script_jenkins.sh available in micmac repository (or here : [https://github.com/micmacIGN/micmac/blob/master/script_jenkins_unix.sh]) can be used for an automatic compilation from sources.&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K=&amp;quot;number of processor in your computer&amp;quot; (if you are not sure how many cores you have, just write a big number and all of the cores will be used).&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
We have now to edit the file wich contains environnement path which is located in &amp;quot;/etc/bash.bashrc&amp;quot;. The file is maybe hidden, so press CTRL+H, or activate &amp;quot;Hidden files&amp;quot; in Display (Top bar).&lt;br /&gt;
So open a terminal and type :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/bash.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : files in &amp;quot;/etc/&amp;quot; have to be opened in super user mode.&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory''/micmac/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)...&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;...&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=2522</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=2522"/>
				<updated>2017-07-03T15:47:33Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  Xcode and &amp;quot;command line developer tools&amp;quot; should be also installed&lt;br /&gt;
&lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install GitHub ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
The script_jenkins.sh available in micmac repository (or here : [https://github.com/micmacIGN/micmac/blob/master/script_jenkins_unix.sh]) can be used for an automatic compilation from sources.&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K=&amp;quot;number of processor in your computer&amp;quot; (if you are not sure how many cores you have, just write a big number and all of the cores will be used).&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
We have now to edit the file wich contains environnement path which is located in &amp;quot;/etc/bash.bashrc&amp;quot;. The file is maybe hidden, so press CTRL+H, or activate &amp;quot;Hidden files&amp;quot; in Display (Top bar).&lt;br /&gt;
So open a terminal and type :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/bash.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : files in &amp;quot;/etc/&amp;quot; have to be opened in super user mode.&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory''/micmac/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)...&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;...&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Discussion:Install_MicMac_MAC&amp;diff=2519</id>
		<title>Discussion:Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Discussion:Install_MicMac_MAC&amp;diff=2519"/>
				<updated>2017-07-03T12:14:18Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : Page créée avec « It does not yet compile and my mac :-( »&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It does not yet compile and my mac :-(&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=2518</id>
		<title>Install MicMac MAC</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_MAC&amp;diff=2518"/>
				<updated>2017-07-03T11:35:58Z</updated>
		
		<summary type="html">&lt;p&gt;Zarg : Not finished...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MicMac is an open source project and you can download the source code and compile the project yourself. This page presents the steps of the installation on a Mac system using  [https://brew.sh HomeBrew].  but similar steps work on other systems.&lt;br /&gt;
&lt;br /&gt;
Beware : the code available in the latest revision might not be stable or might not compile in a given OS.&lt;br /&gt;
&lt;br /&gt;
== Get the source ==&lt;br /&gt;
&lt;br /&gt;
The MicMac project is now hosted on the GitHub platform.&lt;br /&gt;
''On the former Mercuriel server (https://geoportail.forge.ign.fr/hg/culture3d), no source code updates will be applied (7017 is the latest revision).''&lt;br /&gt;
&lt;br /&gt;
=== Install GitHub ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; brew install git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source ===&lt;br /&gt;
Go to the installation directory, where you want to install MicMac.&lt;br /&gt;
&lt;br /&gt;
For “optimisation” reasons, the project files were divided into three GitHub sub-projects:&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/micmac : contains the source code of MicMac&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Documentation : contains the documentation/manuals&lt;br /&gt;
&lt;br /&gt;
* https://github.com/micmacIGN/Papers : contains some publications and other reports concerning MicMac&lt;br /&gt;
&lt;br /&gt;
To retrieve the source code to micmac folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/micmacIGN/micmac.git micmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build from sources ==&lt;br /&gt;
===Automatically===&lt;br /&gt;
The script_jenkins.sh available in micmac repository (or here : [https://github.com/micmacIGN/micmac/blob/master/script_jenkins_unix.sh]) can be used for an automatic compilation from sources.&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
From the installation directory, move to the 'micmac' directory :&lt;br /&gt;
&amp;lt;pre&amp;gt;cd micmac/&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, you have to create a build directory and go in it :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then we have to generate the makefile with the right options. To generate the defaut makefile, run :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake -DWITH_QT5=1 ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;background-color: Lavender&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h6 style=&amp;quot;font-family: Helvetica:font-size: 40px&amp;quot;&amp;gt;About option -DWITH_QT5=1&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this option if you want to use tools GUI such : SaisieAppuisInitQT, SaisieMasqQT etc... Instead, use :&lt;br /&gt;
&amp;lt;pre&amp;gt;cmake ../&amp;lt;/pre&amp;gt;&lt;br /&gt;
You have perhaps to install QT if it's not done :&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install qt5-default qttools5-dev-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : Version 5 is used here, use &amp;quot;-DWITH_QT4=1&amp;quot; instead if ou have QT v4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can finally build the sources by launching :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install -jK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where K=&amp;quot;number of processor in your computer&amp;quot; (if you are not sure how many cores you have, just write a big number and all of the cores will be used).&lt;br /&gt;
&lt;br /&gt;
==Add MicMac to path==&lt;br /&gt;
We have now to edit the file wich contains environnement path which is located in &amp;quot;/etc/bash.bashrc&amp;quot;. The file is maybe hidden, so press CTRL+H, or activate &amp;quot;Hidden files&amp;quot; in Display (Top bar).&lt;br /&gt;
So open a terminal and type :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/bash.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : files in &amp;quot;/etc/&amp;quot; have to be opened in super user mode.&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following lines at the bottom of the file :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;export PATH=/''micmac_install_directory''/micmac/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Check Installation==&lt;br /&gt;
===List of MicMac tools===&lt;br /&gt;
To check if MicMac is well installed, you can type in a terminal :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will return the list of all tools available for micmac library.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check dependencies===&lt;br /&gt;
Sometimes, even when the MicMac installation is good, you can encounter messages in the terminal such as :&lt;br /&gt;
*&amp;quot;Warning Exiftool not installed&amp;quot;&lt;br /&gt;
This warnings means that MicMac can't find an external tools.&lt;br /&gt;
MicMac integrates a module which can check if all dependencies are correctly installed. It can be called by typing :&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mm3d CheckDependencies&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:checkdependencies.png|thumb|250px||alt=Exemple d'image en hauteur|Screenshot 1]]&lt;br /&gt;
&lt;br /&gt;
You will get an output like Screenshot 1, with different informations :&lt;br /&gt;
*MicMac revision : micmac source code version number&lt;br /&gt;
*Qt : &amp;quot;enabled&amp;quot; permit you to use graphical interfaces such SaisieAppuisQT&lt;br /&gt;
*Kakadu : Image library for JPEG2000 management&lt;br /&gt;
*MicMac directory : Directory where MicMac is installed&lt;br /&gt;
*make : &lt;br /&gt;
*exiftool : library of image metadata management&lt;br /&gt;
*exiv2 : library of image metadata management&lt;br /&gt;
*convert :&lt;br /&gt;
*proj : library for cartographic projection&lt;br /&gt;
*cs2cs :&lt;br /&gt;
&lt;br /&gt;
== Update sources ==&lt;br /&gt;
To update the sources, go in the installtion directory (&amp;quot;installation_directory/micmac&amp;quot;) and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git pull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have now to build again the sources:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
make install -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NB : if you want still use QT, don't forget to use &amp;lt;code&amp;gt;cmake -DWITH_QT5=1 ../&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Errors with cmake ===&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)...&amp;lt;/code&amp;gt; =&amp;gt; Try to install Qt&lt;br /&gt;
*&amp;lt;code&amp;gt;No CMAKE_CXX_COMPILER could be found. &amp;lt;/code&amp;gt; =&amp;gt; install g++ (sudo apt-get install g++)&lt;br /&gt;
*&amp;lt;code&amp;gt;...Could not find a package configuration file provided by &amp;quot;Qt5OpenGL&amp;quot;...&amp;lt;/code&amp;gt; =&amp;gt; install libqt5opengl5-dev&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zarg</name></author>	</entry>

	</feed>