#LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass book \use_default_options false \maintain_unincluded_children false \language french \language_package default \inputencoding latin9 \fontencoding T1 \font_roman default \font_sans helvet \font_typewriter default \font_default_family sfdefault \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \paperfontsize 10 \spacing single \use_hyperref true \pdf_bookmarks true \pdf_bookmarksnumbered false \pdf_bookmarksopen false \pdf_bookmarksopenlevel 1 \pdf_breaklinks false \pdf_pdfborder false \pdf_colorlinks true \pdf_backref false \pdf_pdfusetitle true \pdf_quoted_options "linkcolor=blue" \papersize a4paper \use_geometry true \use_amsmath 1 \use_esint 1 \use_mhchem 0 \use_mathdots 0 \cite_engine basic \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date true \use_refstyle 0 \index Index \shortcut idx \color #008000 \end_index \leftmargin 1.5cm \topmargin 3cm \rightmargin 1.5cm \bottommargin 3cm \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language french \papercolumns 1 \papersides 2 \paperpagestyle fancy \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Chapter Annexes \end_layout \begin_layout Standard \begin_inset CommandInset label LatexCommand label name "cha:Annexes" \end_inset \end_layout \begin_layout Section Formats de fichiers \end_layout \begin_layout Standard \begin_inset CommandInset label LatexCommand label name "section:fileFormats" \end_inset \end_layout \begin_layout Subsection Fichiers de primitives 2D/3D reconnus \begin_inset Index idx status collapsed \begin_layout Plain Layout fichiers!formats \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout fichiers!ouvrir|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset ouvrir des objets \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout ouvrir des objets \end_layout \end_inset \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout Extension \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Type \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout P \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout M \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout RGB \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout NG \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout N \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout S \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Autre \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Description \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asc, txt, neu, xyz, etc. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ascii \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout nuage de points ASCII \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout bin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout binaire \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout toutes entités, format binaire spécifique à CloudCompare \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout las \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout binaire \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout nuage de points au format LAS (ASPRS) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e57 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout binaire \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout nuage(s) de points au format E57 avec photos calibrées \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ply \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ascii / binaire \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout maillage (Stanford) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout obj \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ascii \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout maillage (Wavefront) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout vtk \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ascii \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout nuage(s) ou maillage(s) VTK \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ma \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ascii \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout maillage MAYA \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout soi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ascii \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout nuage(s) (Soisic, Mensi) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pn \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout binaire \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout nuage (point + normale) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pv \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout binaire \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout nuage (point + valeur) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout icm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ascii \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout association nuages/images calibrées \end_layout \end_inset \end_inset \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout P \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout : \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Points \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout M \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout : \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maillages \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout RGB \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout : \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Couleurs (Red, Green, Blue) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout NG \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout : \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Niveaux de Gris \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout N \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout : \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Normales \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout S \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout : \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Scalaires \end_layout \end_inset \end_inset \begin_inset Newline newline \end_inset \end_layout \begin_layout Subsection Chargement et sauvegarde \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Chargement \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Sauvegarde \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asc, txt, neu, xyz, etc. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout bin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout las \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e57 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ply \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout obj \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout vtk \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ma \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout soi s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pn \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pv \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout icm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ✔ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \begin_inset Newline newline \end_inset \end_layout \begin_layout Subsection Lecture de fichiers ASCII \end_layout \begin_layout Standard \begin_inset Float figure placement !htb wide false sideways false status open \begin_layout Plain Layout \align center \begin_inset Graphics filename images/Partie4_Annexes/asciiFilterDialog.png width 70text% \end_inset \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:asciiFilterDialog" \end_inset Interface de paramètrage de la lecture de fichiers ASCII. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Les nuages de points stockés au format ASCII (i.e. des fichiers textes) ne suivent pas tous la même organisation selon l'applicati on à partir de laquelle ils ont été créés, notamment concernant : \end_layout \begin_layout Itemize la quantité d'information renseignée pour chaque point. La seule certitude est que l'on dispose systématiquement des coordonnées cartésiennes (X, Y, Z) des points. Peuvent s'ajouter à cela les normales et des couleurs (RGB ou intensité). Voire encore des champs scalaires ou vectoriels. \end_layout \begin_layout Itemize l'ordre d'apparition des informations présentes. \end_layout \begin_layout Itemize les caractères de séparation des informations. \end_layout \begin_layout Itemize d'éventuels en-têtes \begin_inset Index idx status collapsed \begin_layout Plain Layout en-tete@en-tête \end_layout \end_inset de fichiers permettant d'apporter diverses informations, généralement liées à l'application ayant permis la sauvegarde du fichier. \end_layout \begin_layout Standard Pour palier à ce problème, CloudCompare propose, à l'ouverture de tels fichiers, une boîte de dialogue (figure \begin_inset CommandInset ref LatexCommand ref reference "fig:asciiFilterDialog" \end_inset ) permettant à l'utilisateur de paramètrer la lecture des données. Ainsi, il est possible d'ouvrir n'importe quel fichier ASCII, quelle que soit l'application ayant permis de le créer, sous réserve que les données qui s'y trouvent soient suffisamment structurées : \end_layout \begin_layout Itemize chaque ligne correspond à un point \end_layout \begin_layout Itemize chaque donnée est séparée de la suivante par un caractère unique commun à l'ensemble du fichier (typiquement une tabulation ou un espace) \end_layout \begin_layout Itemize la quantité d'information ainsi que l'ordre d'appartion des ces informations sont les mêmes pour chaque ligne (donc pour chaque point) \end_layout \begin_layout Standard La partie centrale de la boîte de dialogue d'ouverture de fichiers ASCII est un tableau dans lequel chaque ligne correspond à une ligne du fichier lu (donc à un point), et chaque colonne correspond à une information. L'utilisateur a la possibilité de définir le type d'information contenue dans une colonne, en sélectionnant son type dans la liste déroulante en tête de colonne (figure \begin_inset CommandInset ref LatexCommand ref reference "fig:asciiInformationChoice" \end_inset ). \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement !htb wide false sideways false status open \begin_layout Plain Layout \align center \begin_inset Graphics filename images/Partie4_Annexes/asciiInformationChoice.png width 13text% \end_inset \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:asciiInformationChoice" \end_inset Sélection de l'information portée par une colonne. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Remarques : \end_layout \begin_layout Itemize il est possible d'ignorer le contenu d'une colonne lors de la lecture, en sélectionnant l'élément "Ignore" en tête de colonne (par exemple lorsqu'on ne sait pas à quoi correspond une colonne, il est judicieux de l'ignorer plutôt que de faire une manipulation pouvant induire des erreurs dans la construction du nuage de points). \end_layout \begin_layout Itemize lorsque le premier élément d'un vecteur est sélectionné pour une colonne, les colonnes suivantes sont automatiquement modifiées si elles ne sont pas déja renseignées, de sorte à recréer le vecteur (si l'utilisateur sélection ne Nx pour une colonne par exemple, et que les deux colonnes suivantes sont non encore paramétrées, alors elles seront automatiquement basculées à Ny et Nz respectivement). \end_layout \begin_layout Standard Cette boîte de dialogue permet aussi d'indiquer à partir de quelle ligne la lecture de données peut commencer, de manière à pouvoir ignorer d'éventuels en-têtes de fichiers ne portant aucune information liée au nuage de points. Pour celà, il suffit de renseigner le champ "Skip lines". Par exemple, dans la figure \begin_inset CommandInset ref LatexCommand ref reference "fig:asciiFilterDialog" \end_inset , les deux premières lignes composent l'en-tête du fichier, et la lecture doit donc commencer à partir de la troisième ligne (il faut donc renseigner la valeur 2 pour le champ "Skip lines"). \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard Pour finir, il est possible de renseigner le caractère servant de séparateur \begin_inset Index idx status collapsed \begin_layout Plain Layout separateur@séparateur \end_layout \end_inset dans le fichier (caractère séparant deux informations successives sur une même ligne), via le champ "Separator". Les boutons "ESP" (espace), "TAB" (tabulation), "," (virgule) et ";" (point virgule) permettent de sélectionner rapidement les caractères les plus communément utilisés à cet effet. \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard Une fois l'interface paramétrée, cliquez sur OK pour lancer le chargement du fichier. \begin_inset Newline newline \end_inset \end_layout \begin_layout Subsection Formats spéciaux \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout %DGM: pas inclus dans la version 2.1 \end_layout \begin_layout Plain Layout \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout % \backslash subsubsection{Fichiers de défauts (.txt)} \end_layout \begin_layout Plain Layout \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout %Liste de défauts surfaciques sur un ouvrage de génie civil (polylignes \end_layout \begin_layout Plain Layout \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout %3D accompagnées de diverses caractéristiques). Source : EDF/DTG. \backslash \backslash \end_layout \begin_layout Plain Layout \end_layout \end_inset \end_layout \begin_layout Subsubsection Fichier ICM \end_layout \begin_layout Standard Fichier d'association entre un nuage de points et un fichier VRML de définition des photos calibrées (caméra + fichier image). \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard Exemple : \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \color blue fichier \begin_inset Quotes ard \end_inset toto.icm \begin_inset Quotes ald \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout #CC_ICM_FILE \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //header \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout FILENAME=pa4.asc \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //Fichier de points \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout FILETYPE=ASC \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //Type du fichier de points \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout IMAGES_DESCRIPTOR=photo_match.wrl \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //Fichier VRML de description des photos calibrées \end_layout \end_inset \end_inset \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \color blue fichier \begin_inset Quotes ard \end_inset photos_match.wrl \begin_inset Quotes ald \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout #VRML v2.0 utf8 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout DEF photo1.jpg Viewpoint{ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //Header photo #1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout fieldOfView 0.621379 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //F.O.V. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout position -10.5418 -15.6091 5.95961 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //Centre optique \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout description \begin_inset Quotes ard \end_inset VANNE + PETIT TUYEAU \begin_inset Quotes ald \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //Description \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout orientation 0.70724 -0.37292 -0.600618 3.74252 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //Vecteur \begin_inset Quotes ard \end_inset visée \begin_inset Quotes ald \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout } \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //Fin de photo #1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout DEF photo2.jpg Viewpoint{ \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //Header photo #2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout fieldOfView 0.621379 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout //etc. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout position -3.9782 -21.276 5.95616 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout description \begin_inset Quotes ard \end_inset PORTE \begin_inset Quotes ald \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout orientation 0.572629 0.696275 -0.432778 2.02135 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout } \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard Un tel fichier VRML peut être généré quasi-automatiquement par un logiciel comme \emph on RealWorks \emph default (Mensi). \begin_inset Newline newline \end_inset \end_layout \begin_layout Subsubsection Fichier d'export de carte de profondeur \end_layout \begin_layout Standard \begin_inset CommandInset label LatexCommand label name "subsection:depthMapFileDescription" \end_inset \end_layout \begin_layout Standard Fichier ASCII d'export de carte de profondeur associée à un \emph on capteur \emph default . Peut être généré via la fonction \emph on Sensor > Ground-Based Lidar > Export depth buffer \emph default (section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsection:exportGBLDepthBuffer" \end_inset ). \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard Exemple : \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \color blue fichier \begin_inset Quotes ard \end_inset Ground Based Laser Scanner.txt \begin_inset Quotes ald \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout // CLOUDCOMPARE DEPTH MAP \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout // Associated cloud: Cloud #0 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \emph on associated cloud name (as disp. in CC) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout // dPhi = 0.005000 [ -0.383052 : 0.319331 ] \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \emph on horizontal angular step \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout // dTheta = 0.005000 [ -1.626588 : 0.137948 ] \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \emph on vertical angular step \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout // pMax = 78823.398438 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \emph on max depth \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout // L = 353 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \emph on number of horiz. pixels \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout // H = 141 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \emph on number of vert. pixels \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ///////////////////////// \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.000000 0.000000 18132.496094 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1st pixel coordinates (i,j) and depth (z) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1.000000 0.000000 15145.963154 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2nd pixel coordinates (i,j) and depth (z) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ... \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 352.000000 140.000000 132135.321542 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout L*H pixel coordinates (i,j) and depth (z) \end_layout \end_inset \end_inset \begin_inset Newline newline \end_inset \end_layout \begin_layout Section Ligne de commande \end_layout \begin_layout Standard \begin_inset CommandInset label LatexCommand label name "subsection:commandeLine" \end_inset \end_layout \begin_layout Standard Certaines fonctions de CloudCompare peuvent être appelée en \shape italic ligne de commande \shape default (i.e. via la console - sous Windows, tapez 'cmd' dans \begin_inset Quotes fld \end_inset Démarrer > exécuter \begin_inset Quotes frd \end_inset ). \end_layout \begin_layout Standard Par défaut, le mode \shape italic ligne de commande \shape default fait tout de même apparaitre une console (pour afficher les messages et l'avancement des opérations). Il applique les actions spécifiées par l'utilisateur (voir ci-dessous) puis sauve le résultat à côté du ou des fichiers d'entrée. Les actions sont appliquées dans l'ordre où elles apparaissent dans la commande d'appel (la ligne de commande se comporte comme une machine d'état). \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard Options : \end_layout \begin_layout Itemize \begin_inset Quotes fld \end_inset -SILENT \begin_inset Quotes frd \end_inset : mode silencieux = cache la console (doit toujours être en première position si appelé). \end_layout \begin_layout Itemize \begin_inset Quotes fld \end_inset -O [filename] \begin_inset Quotes frd \end_inset : ouvre le fichier 'filename' (le type de fichier est déduit de l'extension). Seuls les nuages et les maillages sont pris en compte. Pour le cas particulier des fichiers \shape italic Bundler \shape default (images calibrées), voir l'option -BUNDLER_IMPORT ci dessous. \end_layout \begin_layout Itemize \begin_inset Quotes fld \end_inset -SS [algorithm] [parameter] \begin_inset Quotes frd \end_inset : applique au(x) nuage(s) chargé(s) l'algorithme de sous-échantillonnage (voir section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsection:subsample" \end_inset ). \end_layout \begin_deeper \begin_layout Itemize \shape italic [algorithm] \shape default : type de sous-échantillonnage \end_layout \begin_deeper \begin_layout Itemize RANDOM (au hasard) \end_layout \begin_layout Itemize SPATIAL (densité maximale) \end_layout \begin_layout Itemize OCTREE \begin_inset Quotes frd \end_inset (à un niveau de subdivision de l'octree donné) \end_layout \end_deeper \begin_layout Itemize \shape italic [parameter] \shape default : paramètre (dépend du type de sous-échantillonnage) \end_layout \begin_deeper \begin_layout Itemize RANDOM : nombre de points sélectionnés au hasard \end_layout \begin_layout Itemize SPATIAL : distance minimum entre deux points \end_layout \begin_layout Itemize OCTREE: niveau de subdivision (entre 1 et 10 dans la version standard de CloudCompare) \end_layout \end_deeper \end_deeper \begin_layout Itemize \begin_inset Quotes fld \end_inset -BUNDLER_IMPORT [filename] \begin_inset Quotes frd \end_inset : importe un fichier \shape italic Bundler \shape default de nom 'filename'. Ceci permet de générer automatiquement des versions ortho-rectifiées des images calibrées décrites dans ce type de fichier. Des options supplémentaires peuvent être rajoutées à la suite : \end_layout \begin_deeper \begin_layout Itemize \begin_inset Quotes fld \end_inset -ALT_KEYPOINTS [filename] \begin_inset Quotes frd \end_inset : charge des \shape italic keypoints \shape default alternatifs (depuis le fichier 'filename' \end_layout \begin_layout Itemize \begin_inset Quotes fld \end_inset -SCALE_FACTOR [value] \begin_inset Quotes frd \end_inset : défini le facteur d'échelle entre les images chargées par CloudCompare et celles qui ont permis de générer les keypoints \end_layout \begin_layout Itemize \begin_inset Quotes fld \end_inset -COLOR_DTM [vertices count] \begin_inset Quotes frd \end_inset : génère un nuage coloré correspondant aux sommets d'un pseudo-MNT avec approximativement 'vertices count' éléments (en mode \shape italic ligne de commande \shape default , le nuage est automatiquement sauvé à côté des images ortho-rectifiées sous le nom 'colored_dtm_vertices.bin') \end_layout \begin_layout Itemize \begin_inset Quotes fld \end_inset -UNDISTORT \begin_inset Quotes frd \end_inset : corrige la distorsion des images \end_layout \end_deeper \begin_layout Itemize \begin_inset Quotes fld \end_inset -CLEAR \begin_inset Quotes frd \end_inset : libère la mémoire, i.e. supprime tous les entités chargées \end_layout \begin_layout Itemize \begin_inset Quotes fld \end_inset -CLEAR_CLOUDS \begin_inset Quotes frd \end_inset : supprime uniquement les nuages chargés en mémoire \end_layout \begin_layout Itemize \begin_inset Quotes fld \end_inset -CLEAR_MESHES \begin_inset Quotes frd \end_inset : supprime uniquement les maillages chargés en mémoire \end_layout \begin_layout Subsection* Exemple 1 \end_layout \begin_layout Standard \begin_inset listings inline false status open \begin_layout Plain Layout qCC -O myhugecloud.bin -SS SPATIAL 0.1 \end_layout \end_inset \end_layout \begin_layout Standard Cet appel charge le fichier 'myhugecloud.bin' puis applique un sous-échantillonna ge spatial avec un pas de \begin_inset Formula $0.1$ \end_inset . Le résultat sera sauvé dans 'myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin ' (où HH:MM est l'heure courante et DD/MM/YYYY la date). \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard \begin_inset listings inline false status open \begin_layout Plain Layout qCC -O myhugecloud1.bin -SS SPATIAL 0.1 -O 'myhugecloud2.bin' -SS RANDOM 1000000 -CLEAR_ALL -O 'myhugecloud3.bin' -SS OCTREE 9 \end_layout \end_inset \end_layout \begin_layout Standard Cet appel charge le fichier 'myhugecloud.bin' puis applique un sous-échantillonna ge spatial avec un pas de \begin_inset Formula $0.1$ \end_inset .Ensuite, le fichier 'myhugecloud2.bin' est ouvert et CloudCompare applique \series bold aux deux nuages \series default un sous-échantillonnage aléatoire (1000000 points à chaque fois). Ensuite les deux nuages sont fermés, et un troisième fichier 'myhugecloud3.bin' est ouvert. Enfin CloudCompare applique un sous échantillonnage par octree (niveau 9) à ce nuage. Les fichiers résultants seront : \end_layout \begin_layout Itemize myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin \end_layout \begin_layout Itemize myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin \end_layout \begin_layout Itemize myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin \end_layout \begin_layout Itemize myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin \end_layout \begin_layout Standard \begin_inset listings inline false status open \begin_layout Plain Layout qCC -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000 \end_layout \end_inset \end_layout \begin_layout Standard Cet appel génère les versions ortho-rectifiées des images calibrées décrites dans le fichier 'bundle.out' (la liste des noms de fichiers doit être présente dans un fichier 'list.txt' à côté) ainsi que les sommets colorés d'un pseudo-MNT construit à partir des \shape italic keypoints \shape default (approximativement 1000000 de sommets). \end_layout \end_body \end_document