<?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=V.tournadre</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=V.tournadre"/>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php/Sp%C3%A9cial:Contributions/V.tournadre"/>
		<updated>2026-04-15T17:45:26Z</updated>
		<subtitle>Contributions de l’utilisateur</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Install_MicMac_Ubuntu&amp;diff=2468</id>
		<title>Install MicMac Ubuntu</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Install_MicMac_Ubuntu&amp;diff=2468"/>
				<updated>2017-03-21T10:55:51Z</updated>
		
		<summary type="html">&lt;p&gt;V.tournadre : &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 Linux system using apt-get (such as Ubuntu), 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;sudo apt-get 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;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>V.tournadre</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=GCPCtrl&amp;diff=2467</id>
		<title>GCPCtrl</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=GCPCtrl&amp;diff=2467"/>
				<updated>2017-03-21T10:48:43Z</updated>
		
		<summary type="html">&lt;p&gt;V.tournadre : Page créée avec « ==Description==  GCPCtrl can be used to assess the accuracy of a set of orientation from Check Points. The tool computes the image and ground reprojection error for each G... »&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
GCPCtrl can be used to assess the accuracy of a set of orientation from Check Points.&lt;br /&gt;
The tool computes the image and ground reprojection error for each GCP.&lt;br /&gt;
The tool is documented in DocMicMac.pdf (3.10.1.6 Accuracy Control with GCPCtrl).&lt;br /&gt;
&lt;br /&gt;
==DocMicMac.pdf==&lt;br /&gt;
In photogrammetry, a standard method to control the accuracy of georeferencing result is to use couple of points called Check Points (CP). Check points, unlike Ground Control Points (GCPs), are used either to estimate the 3d similarity (GCPBascule) or for the compensation (Campari) on ground measurements. Residuals on check points allow to qualify the accuracy of the georeferencing result. If for a dataset, several ground measurements are available, a part may serve to perform georeferencing step (GCPBascule) while the rest of ground measurements can be used to qualify the accuracy and used as check points. &lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d GCPCtrl -help&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mandatory unnamed args : &lt;br /&gt;
* string :: {Full name (Dir+Pat)}&lt;br /&gt;
* string :: {Orientation in}&lt;br /&gt;
* string :: {Ground Control Points File}&lt;br /&gt;
* string :: {Image Measurements File}&lt;br /&gt;
Named args : &lt;br /&gt;
* [Name=CPI] bool :: {when Calib Per Image has to be used}&lt;br /&gt;
* [Name=ShowU] bool :: {Show unused point (def=true)}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
An example of the use of GCPCtrl:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d GCPCtrl &amp;quot;.*JPG&amp;quot; Ori-RTL-Bascule CP.xml MesuresFinales-S2D.xml&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
&lt;br /&gt;
— Ori-RTL-Bascule : are sets of orientations computed using Ground Control Points with (GCPBascule)&lt;br /&gt;
&lt;br /&gt;
— CP.xml : are Check Points coordinates (not used to compute orientations of Ori-RTL-Bascule)&lt;br /&gt;
&lt;br /&gt;
— MesuresFinales-S2D.xml : 2d Check Points coordinates&lt;br /&gt;
&lt;br /&gt;
Residuals are used to estimate the accuracy. It is printed by GCPCtrl where D is the 3d residual and&lt;br /&gt;
P is vector of deviations in axial components:&lt;br /&gt;
&lt;br /&gt;
''...&lt;br /&gt;
&lt;br /&gt;
''Ctrl 1 GCP-Bundle, D=0.00711013 P=[0.00157584,0.00215343,0.0065904]&lt;br /&gt;
&lt;br /&gt;
''Ctrl 2 GCP-Bundle, D=0.00213116 P=[-0.000812961,-7.10012e-05,0.00196873]&lt;br /&gt;
&lt;br /&gt;
''Ctrl 3 GCP-Bundle, D=0.00503373 P=[-0.00225834,0.000504016,0.00447037]&lt;br /&gt;
&lt;br /&gt;
''Ctrl 4 GCP-Bundle, D=0.013416 P=[-0.00209372,0.00171374,0.0131404]&lt;br /&gt;
&lt;br /&gt;
''Ctrl 5 GCP-Bundle, D=0.00778608 P=[-0.00129931,-0.000609828,-0.00765265]&lt;br /&gt;
&lt;br /&gt;
''Ctrl 6 GCP-Bundle, D=0.00432863 P=[-0.00166909,-0.00255773,-0.00306743]&lt;br /&gt;
&lt;br /&gt;
''Ctrl 7 GCP-Bundle, D=0.00536168 P=[0.00157972,-0.0050588,0.000812824]&lt;br /&gt;
&lt;br /&gt;
''Ctrl 8 GCP-Bundle, D=0.00493167 P=[-0.000829516,0.00146171,-0.00463645]&lt;br /&gt;
&lt;br /&gt;
''Ctrl 9 GCP-Bundle, D=0.00217372 P=[-0.000790291,-0.00131989,0.0015357]&lt;br /&gt;
&lt;br /&gt;
''============================= ERRROR MAX PTS FL ======================&lt;br /&gt;
&lt;br /&gt;
''|| Value=0.80781 for Cam=DSC08643.JPG and Pt=7 ; MoyErr=0.698737&lt;br /&gt;
&lt;br /&gt;
''======================================================================&lt;/div&gt;</summary>
		<author><name>V.tournadre</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=ConvertCalib&amp;diff=2466</id>
		<title>ConvertCalib</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=ConvertCalib&amp;diff=2466"/>
				<updated>2017-03-21T10:36:17Z</updated>
		
		<summary type="html">&lt;p&gt;V.tournadre : Page créée avec « ==Description==  ConvertCalib is a tool that can be used to convert a camera model into another form (ex : convert a RadialStd model into FraserBasic). Both models (in and... »&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
ConvertCalib is a tool that can be used to convert a camera model into another form (ex : convert a RadialStd model into FraserBasic).&lt;br /&gt;
Both models (in and out) have to be in the MicMac form.&lt;br /&gt;
The tool is documented in DocMicMac.pdf (16.9.1 ConvertCalib to Calibration conversion).&lt;br /&gt;
&lt;br /&gt;
==DocMicMac.pdf==&lt;br /&gt;
Sometimes it may be necessary to export a given calibration from one model to another model. For example from Fraser terrestrial model to aerial model. Of course as the mathematicall modelisation of the camera is not the same, this conversion will generally imlply some lost of accuracy. The tool ConvertCalib allow to do such conversion.&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d ConvertCalib -help&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mandatory unnamed args :&lt;br /&gt;
* string :: {Input Calibration}&lt;br /&gt;
* string :: {Output calibration}&lt;br /&gt;
Named args :&lt;br /&gt;
* [Name=NbXY] INT :: {Number of point of the Grid}&lt;br /&gt;
* [Name=NbProf] INT :: {Number of depth}&lt;br /&gt;
* [Name=DRMax] INT :: {Max degree of radial dist (def=depend Output calibration)}&lt;br /&gt;
* [Name=DegGen] INT :: {Max degree of generik polynom (def=depend Output calibration)}&lt;br /&gt;
* [Name=PPFree] bool :: {Principal point free (Def=true)}&lt;br /&gt;
* [Name=CDFree] bool :: {Distorsion center free (def=true)}&lt;br /&gt;
* [Name=FocFree] bool :: {Focal free (def=true)}&lt;br /&gt;
* [Name=DecFree] bool :: {Decentrik free (def=true when appliable)}&lt;br /&gt;
&lt;br /&gt;
The first argument is a file containg the calibration to be converted. &lt;br /&gt;
The second is a file that contains a model of the targeted calibration.&lt;br /&gt;
The optional arguments can be used to control which of the parameters should be adjusted or not.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
The folder Documentation/NEW-DATA/DocConvertCalib contains data to test this tool :&lt;br /&gt;
— Aerial.xml a calibration with aerial model (PPA and PPS separated);&lt;br /&gt;
— Fraser-Affine.xml a calibration with fraser model (PPA and PPS merged, decentric distorsion);&lt;br /&gt;
For example , if we want to produce a convertion to fraser model, without affine distorsion and a one&lt;br /&gt;
parameter of radial distorsion, we can run :&lt;br /&gt;
mm3d ConvertCalib Aerial.xml Fraser-Affine.xml DRMax=1 DegGen=0&lt;br /&gt;
....&lt;br /&gt;
&lt;br /&gt;
''============================= ERRROR MAX PTS FL ======================&lt;br /&gt;
&lt;br /&gt;
''||&lt;br /&gt;
&lt;br /&gt;
''Value=0.145258 for Cam=Fraser-Affine.xml and Pt=Pt_0_0_1 ; MoyErr=0.0623394&lt;br /&gt;
&lt;br /&gt;
''======================================================================&lt;br /&gt;
&lt;br /&gt;
''--- End Iter 16 ETAPE 0&lt;br /&gt;
&lt;br /&gt;
The average accuracy will be 0.063 pixel, it is measured as the average error re-projection of synthetic 3d points.&lt;/div&gt;</summary>
		<author><name>V.tournadre</name></author>	</entry>

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=SetExif&amp;diff=2465</id>
		<title>SetExif</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=SetExif&amp;diff=2465"/>
				<updated>2017-03-21T10:00:20Z</updated>
		
		<summary type="html">&lt;p&gt;V.tournadre : Page créée avec « ==Description==  SetExif is a handy tool to fill in (or modify) the main exif metadata required by MicMac (Focal Length, Focal Length equivalent 35mm, Camera Model Name).... »&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
SetExif is a handy tool to fill in (or modify) the main exif metadata required by MicMac (Focal Length, Focal Length equivalent 35mm, Camera Model Name).&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
The global syntax for SetExif is &lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d SetExif ImagePattern&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As is, the above command will have no effect, as the metadata to be written in the exif has to be specified through the optional arguments.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Here is an example to fill in the metadata for an Olympus OM-D EM-5&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d SetExif &amp;quot;DSC.*JPG&amp;quot; F=24 F35=48 Cam=&amp;quot;OM-D EM-5&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note : You can implement new camera models in DicoCam.xml or by using MicMac-LocalChantierDescripteur.xml in your working directory&lt;br /&gt;
===Help===&lt;br /&gt;
You can access to the help by typing :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d SetExif -help &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mandatory unnamed args : &lt;br /&gt;
* string :: {Pattern of images}&lt;br /&gt;
Named args : &lt;br /&gt;
* [Name=F] REAL :: {Focal length}&lt;br /&gt;
* [Name=F35] REAL :: {Focal length equiv 35mm}&lt;br /&gt;
* [Name=Cam] string :: {Camera model}&lt;br /&gt;
* [Name=Purge] bool :: {Purge created exiv2 command file (Def=true)}&lt;/div&gt;</summary>
		<author><name>V.tournadre</name></author>	</entry>

	</feed>