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

	<entry>
		<id>http://micmac.ensg.eu/index.php?title=Gravillons_tutorial&amp;diff=2321</id>
		<title>Gravillons tutorial</title>
		<link rel="alternate" type="text/html" href="http://micmac.ensg.eu/index.php?title=Gravillons_tutorial&amp;diff=2321"/>
				<updated>2016-12-04T12:24:22Z</updated>
		
		<summary type="html">&lt;p&gt;Barbero-Garcia : Minor corrections of the code&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;
During this tutorial, we will approach general concepts, basics tools and how to process an image dataset with overlapping with MicMac. This dataset is willingly light (4 images) to focus under MicMac tools rapidly.&lt;br /&gt;
This tutorial is designed specially for MicMac debutant with a light photogrammetry background.&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
*You can find this dataset at :&amp;lt;code&amp;gt;http://logiciels.ign.fr/?Telechargement,20&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Datasets are available at the bottom of the page, in part test datasets. Then, UnZip the &amp;quot;.zip&amp;quot; archive.&lt;br /&gt;
&lt;br /&gt;
*There is also a direct link to download it in zip format here : &amp;lt;code&amp;gt;http://micmac.ensg.eu/data/gravillons_dataset.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Presentation==&lt;br /&gt;
This dataset was created by L.Girod at the University of Oslo, Norway. This dataset was acquired to model a volcano model created by O.Galland.&lt;br /&gt;
File present in the directory are :&lt;br /&gt;
*4 images : 1.JPG, 2.JPG, 3.JPG, 4.JPG.&lt;br /&gt;
[[Image:01_gravillons_caroussel.png]]&lt;br /&gt;
*GCPs coordinates : Dico-Appuis.xml.&lt;br /&gt;
*Mesure of GCPs in images : Mesure-Appuis.xml.&lt;br /&gt;
*1 Mask : 1_Masq.tif/1_Masq.xml&lt;br /&gt;
*2 commands scripts : gravillons.sh (Linux) et gravillons.bat (Windows)&lt;br /&gt;
&lt;br /&gt;
==Tutorial==&lt;br /&gt;
&lt;br /&gt;
===1 Tie-Points search===&lt;br /&gt;
The first step of each MicMac pipline is to look for tie points (points that are seen in more than one image), this step is call image matching and performed by the command [[Tapioca]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapioca All &amp;quot;.*.JPG&amp;quot; 1500&amp;lt;/pre&amp;gt;&lt;br /&gt;
The All option is used here because we know that all the images are going to have tie points with each other (they all depict the same area).&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;Go further&amp;lt;/h6&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;To process tie points at full resolution, use &amp;quot;-1&amp;quot; (instead of 1500 here):&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapioca All &amp;quot;.*.JPG&amp;quot; -1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===2 Internal Orientation+Relative Orientation===&lt;br /&gt;
Photogrammetry is composed of three steps :&lt;br /&gt;
*Internal Orientation : which consist to determine camera's paremeter (focal length, PPA, PPS, distorsion center, or distorsion parameters).&lt;br /&gt;
*Relative Orientation : which consist to determine position of each camera's from each other in an arbitrary system.&lt;br /&gt;
*Absolute Orientation : which consist to bascule the relative orientation to a scaled and oriented system (typically WGS84)&lt;br /&gt;
In digital photogrammetry, the two first steps are generally processed at the same time. In MicMac, the tools which perform internal and relative orientation is call [[Tapas]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Tapas FraserBasic &amp;quot;.*.JPG&amp;quot; Out=Arbitrary&amp;lt;/pre&amp;gt;&lt;br /&gt;
This tools use a compensation by least squares to determine camera's parameter and relative orientation. The option &amp;quot;FraserBasic&amp;quot;, correspond to a model of distorsion for our camera. The &amp;quot;option&amp;quot; Out specify the name of the orientation directory (here it will be Ori-Arbitrary).&lt;br /&gt;
&lt;br /&gt;
===3 Visualize Relative Orientation===&lt;br /&gt;
[[Image:01_Gravillonn_RO.jpg|thumb|250px||alt=Relative Orientation|Meshlab visualization]]&lt;br /&gt;
MicMac include a tools which create a sparse point clouds (TPs) for visualization. This tool is [[AperiCloud]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d AperiCloud &amp;quot;.*.JPG&amp;quot; Arbitrary&amp;lt;/pre&amp;gt;&lt;br /&gt;
After this step, a &amp;quot;.ply&amp;quot; file will appear in your working directory, open it with Meshlab (Screenshot 1 : see [[Install|Useful softwares for MicMac]])&lt;br /&gt;
&lt;br /&gt;
===4 Absolute Orientation===&lt;br /&gt;
[[Image:01_Gravillonn_AO.jpg|thumb|250px||alt=Absolute Orientation|Absolute Orientation]]&lt;br /&gt;
For this datasets, Ground Control Points, are already measured in images (file &amp;quot;Mesure-Appuis.xml&amp;quot;). With 3 points (X,Y,Z) we can determine the 3D transformation between the arbitrary system (Relative Orientation) and the georeferenced system, this operation is call &amp;quot;Bascule&amp;quot; and can be performed by the command [[GCPBascule]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d GCPBascule &amp;quot;.*.JPG&amp;quot; Arbitrary Ground_Init Dico-Appuis.xml Mesure-Appuis.xml&amp;lt;/pre&amp;gt;&lt;br /&gt;
This tool process a first Bascule only with the GCPs (Directory Ori-Ground_Init), we will now calculate a second Bascule with GCPs and TPs. To do that, we use the command [[Campari]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Campari &amp;quot;.*.JPG&amp;quot; Ground_Init Ground&amp;lt;/pre&amp;gt;&lt;br /&gt;
The new orientation is stocked in the directory &amp;quot;Ori-Ground&amp;quot;. We can visualize it with [[AperiCloud]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d AperiCloud &amp;quot;.*.JPG&amp;quot; Ground&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can visualize the points cloud created in Meshlab.&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;width: 1400px&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;The file &amp;quot;Mesure-Appuis.xml&amp;quot; is already provided in the dataset, it contain the measurements of each GCPs in image coordinates (px). If you want to mesure the GCPs by yourself, you can use the tool [[SaisieAppuisInitQT]] before GCPBascule etc...&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d SaisieAppuisInitQT &amp;quot;.*.JPG&amp;quot; Arbitrary Dico-Appuis.xml Mesure-Appuis.xml&amp;lt;/pre&amp;gt;&lt;br /&gt;
It launch a GUI to click on GCPs, when it's finish don't forget to save before leaving. It will create to files :&lt;br /&gt;
*Mesure-Appuis-S2D.xml : Measurements of GCPs in images coordinates.&lt;br /&gt;
*Mesure-Appuis-S3D.xml : Measurements of GCPs in Relative Orientation (here &amp;quot;Arbitrary&amp;quot;). Warning no unit.&lt;br /&gt;
So for the following command don't forget to use &amp;quot;Mesure-Appuis-S2D.xml&amp;quot; instead of &amp;quot;Mesure-Appuis.xml&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This command is best explained in the [[Pierrerue_tutorial|Pierrerue tutorial]].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===5 Create a depth map===&lt;br /&gt;
[[Image:01_Gravillonn_3DC.jpg|thumb|250px|3D Points Cloud]]&lt;br /&gt;
With any orientation directory, you can compute a depth map. The method consisting on using all the images to create a 3D model is call dense correlation or densification. In MicMac, it's performed by the command [[Malt]] :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Malt GeomImage &amp;quot;.*.JPG&amp;quot; Ground Master=&amp;quot;1.JPG&amp;quot; ZoomF=2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===6 Create a Dense Points Cloud===&lt;br /&gt;
This last tool doesn't create directly a 3D point cloud. To generate it, you have to run an other tools, Nuage2Ply :&lt;br /&gt;
&amp;lt;pre&amp;gt;mm3d Nuage2Ply &amp;quot;MM-Malt-Img-1/NuageImProf_STD-MALT_Etape_7.xml&amp;quot; Attr=&amp;quot;1.JPG&amp;quot; Out=1.ply RatioAttrCarte=2&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then visualize the 3D model &amp;quot;1.ply&amp;quot; in Meshlab.&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
With this tutorial, you went through a complete photogrammetric process with MicMac. This first tutorial was willingly easy and on a minimal dataset to help you kickstart your MicMac skills. To go further, try the next tutorials.&lt;/div&gt;</summary>
		<author><name>Barbero-Garcia</name></author>	</entry>

	</feed>