﻿{"id":11581,"date":"2023-07-27T09:00:00","date_gmt":"2023-07-27T07:00:00","guid":{"rendered":"https:\/\/www.sigterritoires.fr\/?p=11581"},"modified":"2025-04-25T14:54:49","modified_gmt":"2025-04-25T12:54:49","slug":"qgis-for-lidarcolorizing-from-an-image","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/qgis-for-lidarcolorizing-from-an-image\/","title":{"rendered":"QGis for LIDAR:colorizing from an image"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Tutoriel : LIDAR HD avec QGIS 3.32<\/h2>\n\n\n\n<p>In this article you&rsquo;ll find out how to transfer colors (colorize) from an image or orthophoto to the points of a LIDAR cloud using CloudCompare. The result is an orthophoto-like rendering that makes it easier to work with both unclassified clouds and classified data.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/lidar-data-in-qgis-3-32\/\">1- LIDAR data in QGis 3.32<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/loading-ign-france-hd-lidar-data\/\">2- Download LIDAR HD data from IGN and load it into QGis<\/a><\/p>\n\n\n\n<p>3- <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/qgis-3-32-tools-for-lidar-data\/\" title=\"Tools for LIDAR data in QGis 3.32\">Tools for LIDAR data in QGis 3.32<\/a><\/p>\n\n\n\n<p>4-Colorize a point cloud from an orthophoto<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jetpack-video-wrapper\"><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/cDz7-H_sFsA?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=fr-FR&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/div>\n<\/div><figcaption class=\"wp-element-caption\">Watch this video and many others on our Youtube channel: <a href=\"https:\/\/www.youtube.com\/@sigterritoires\" title=\"https:\/\/www.youtube.com\/@sigterritoiresritoires\">https:\/\/www.youtube.com\/@sigterritoiresrit<\/a><a href=\"https:\/\/www.youtube.com\/@sigterritoires\" title=\"oire\">oire<\/a><a href=\"https:\/\/www.youtube.com\/@sigterritoires\" title=\"https:\/\/www.youtube.com\/@sigterritoiresritoires\">s<\/a><\/figcaption><\/figure>\n\n\n\n<p>When you load LIDAR data into QGis, you are faced with two types of rendering.<\/p>\n\n\n\n<p>In the case of unclassified data, you&rsquo;ll either get a gray square if the symbology is set to classification:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"323\" data-attachment-id=\"11542\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/donnees_brutes_lidar_classes\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?fit=3830%2C1930&amp;ssl=1\" data-orig-size=\"3830,1930\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"donnees_brutes_lidar_classes\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?fit=640%2C323&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?resize=640%2C323&#038;ssl=1\" alt=\"display the classes of an unclassified point cloud\" class=\"wp-image-11542\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?resize=1024%2C516&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?resize=300%2C151&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?resize=768%2C387&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?resize=1536%2C774&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?resize=2048%2C1032&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_classes.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>or a color gradient if you have a ramped symbology on an attribute (in this case, signal intensity):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"323\" data-attachment-id=\"11543\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/donnees_brutes_lidar_rampe\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?fit=3830%2C1930&amp;ssl=1\" data-orig-size=\"3830,1930\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"donnees_brutes_lidar_rampe\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?fit=640%2C323&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?resize=640%2C323&#038;ssl=1\" alt=\"display the signal intensity of a lidar cloud\" class=\"wp-image-11543\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?resize=1024%2C516&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?resize=300%2C151&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?resize=768%2C387&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?resize=1536%2C774&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?resize=2048%2C1032&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_brutes_lidar_rampe.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>In the case of classified data, the display of classes is a little (not much) more meaningful:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"323\" data-attachment-id=\"11544\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/donnees_classees_lidar\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?fit=3830%2C1930&amp;ssl=1\" data-orig-size=\"3830,1930\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"donnees_classees_lidar\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?fit=640%2C323&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?resize=640%2C323&#038;ssl=1\" alt=\"display of lidar classes\" class=\"wp-image-11544\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?resize=1024%2C516&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?resize=300%2C151&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?resize=768%2C387&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?resize=1536%2C774&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?resize=2048%2C1032&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/donnees_classees_lidar.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>If we compare these renderings with an orthophotograph :<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"323\" data-attachment-id=\"11547\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/orthophoto-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?fit=3830%2C1930&amp;ssl=1\" data-orig-size=\"3830,1930\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"orthophoto-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?fit=640%2C323&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?resize=640%2C323&#038;ssl=1\" alt=\"orthophotograph\" class=\"wp-image-11547\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?resize=1024%2C516&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?resize=300%2C151&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?resize=768%2C387&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?resize=1536%2C774&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?resize=2048%2C1032&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/orthophoto-1.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>We have to admit that it&rsquo;s much nicer to work on the latter type of rendering, where you see the objects as you&rsquo;d normally see them.<\/p>\n\n\n\n<p>Well, it&rsquo;s perfectly possible to work with LIDAR point clouds with the same type of rendering as with orthophotography. One of the standard attributes of LIDAR points is the RGB attribute, which allows you to store a color value for each point. To display point colors, simply select the RGB symbology in the symbology tab of the layer properties.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"644\" data-attachment-id=\"11548\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/symbologie_lidar_rgb\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?fit=2012%2C2025&amp;ssl=1\" data-orig-size=\"2012,2025\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"symbologie_lidar_rgb\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?fit=640%2C644&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?resize=640%2C644&#038;ssl=1\" alt=\"lidar cloud qgis symbology by rgb\" class=\"wp-image-11548\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?resize=1017%2C1024&amp;ssl=1 1017w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?resize=298%2C300&amp;ssl=1 298w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?resize=768%2C773&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?resize=1526%2C1536&amp;ssl=1 1526w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?resize=120%2C120&amp;ssl=1 120w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?w=2012&amp;ssl=1 2012w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/symbologie_lidar_rgb.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>But, of course, these values must have been entered beforehand. And this is not the case with IGN HD data. So here&rsquo;s how to transfer color values from orthophoto pixels to the corresponding points in the LIDAR point cloud.<\/p>\n\n\n\n<p>To do this, you need your LIDAR point cloud and an orthophoto or other aerial image of the same area.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Colorizing LIDAR data with CloudCompare<\/h2>\n\n\n\n<p>In this chapter, we&rsquo;ll use CloudCompare to perform the operation. In the next chapter, we&rsquo;ll use the <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/qgis-3-32-tools-for-lidar-data\/\">LAStools<\/a> toolbox.<\/p>\n\n\n\n<p>Why should we do this? Because the tool that performs this operation in LAStools is part of the paid-license processing. You can still carry out the processing, but the result is deliberately degraded by LAStools. Even if you can&rsquo;t see the difference to the naked eye, let&rsquo;s start with a treatment that will give you the best result for the best (free) price.<\/p>\n\n\n\n<p>What&rsquo;s more, processing with CloudCompare is fairly straightforward, but it does allow you to familiarize yourself with how it works. You&rsquo;ll then be able to use CloudCompare for more complicated operations.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.danielgm.net\/cc\/release\/\" title=\"Click here to download CloudCompare\">Click here to download CloudCompare<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Starting CloudCompare<\/h2>\n\n\n\n<p>Once installed, open the program.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" data-attachment-id=\"11550\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/fenetre_lancement_cloudcompare\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?fit=3842%2C2160&amp;ssl=1\" data-orig-size=\"3842,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"fenetre_lancement_cloudcompare\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?fit=640%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?resize=640%2C360&#038;ssl=1\" alt=\"cloudcompare start screen\" class=\"wp-image-11550\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?resize=2048%2C1151&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/fenetre_lancement_cloudcompare.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Use the <strong><em>File-&gt;Open<\/em><\/strong> menu to load the point cloud to be processed: point to the file, click on <strong><em>Open<\/em><\/strong>, in the window that opens click on the <strong><em>Apply all button<\/em><\/strong>.<\/p>\n\n\n\n<p>You&rsquo;ll be presented with a window that deserves some explanation:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"418\" data-attachment-id=\"11551\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/cloudcompare_shift_scale\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?fit=2207%2C1442&amp;ssl=1\" data-orig-size=\"2207,1442\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"cloudcompare_shift_scale\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?fit=640%2C418&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?resize=640%2C418&#038;ssl=1\" alt=\"cloudcompare shift\/scale screen\" class=\"wp-image-11551\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?resize=1024%2C669&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?resize=300%2C196&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?resize=768%2C502&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?resize=1536%2C1004&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?resize=2048%2C1338&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/cloudcompare_shift_scale.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Before loading a file, CloudCompare analyzes the X, Y and Z coordinates. It calculates \u00ab\u00a0offsets\u00a0\u00bb for the coordinates so as to keep only the part that really varies over the extent of the work area. For example, in this window, it suggests subtracting the value -6225500 from the Y values, which are of the order of 6 million. This will produce significant Y values. Once processing is complete, in the resulting files, it will add the same value to the Y values obtained. This allows you to work only with significant values while preserving the true coordinates, but outside the processing.<\/p>\n\n\n\n<p>For point clouds, you can simply accept the proposed values, which will always be correct.<\/p>\n\n\n\n<p>You&rsquo;ll find your point cloud in the main window, and when loading, the viewpoint is placed on top of the point cloud.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" data-attachment-id=\"11552\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/nuage_au_chargement_cloudcompare\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?fit=3842%2C2160&amp;ssl=1\" data-orig-size=\"3842,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"nuage_au_chargement_cloudcompare\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?fit=640%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?resize=640%2C360&#038;ssl=1\" alt=\"lidar display in cloudcompare\" class=\"wp-image-11552\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?resize=2048%2C1151&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/nuage_au_chargement_cloudcompare.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Use the mouse to display the cloud in any of three dimensions.<br>For a better view of the points, in the <strong><em>Properties <\/em><\/strong>panel, look for the <strong><em>Color Scale<\/em><\/strong> section and in <strong><em>Current <\/em><\/strong>select<strong><em> High contrast<\/em><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" data-attachment-id=\"11554\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/rotation_nuage_cloudcompare-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?fit=3842%2C2160&amp;ssl=1\" data-orig-size=\"3842,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"rotation_nuage_cloudcompare-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?fit=640%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?resize=640%2C360&#038;ssl=1\" alt=\"cloudcompare lidar display enhancement\" class=\"wp-image-11554\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?resize=2048%2C1151&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/rotation_nuage_cloudcompare-1.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Loading the orthophoto<\/h2>\n\n\n\n<p>Now let&rsquo;s load the orthophotograph.<\/p>\n\n\n\n<p>If you use the same procedure as for the point cloud, you&rsquo;ll load the image as a tif file. For what we want to do, we need to load it as a point cloud. To do this, open the file manager, go to the image directory then click on the image file and drag it into the CloudCompare window.<\/p>\n\n\n\n<p>This window will appear:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/charger_tiff_comme_nuage.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"214\" data-attachment-id=\"11555\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/charger_tiff_comme_nuage\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/charger_tiff_comme_nuage.png?fit=1060%2C355&amp;ssl=1\" data-orig-size=\"1060,355\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"charger_tiff_comme_nuage\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/charger_tiff_comme_nuage.png?fit=640%2C214&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/charger_tiff_comme_nuage.png?resize=640%2C214&#038;ssl=1\" alt=\"\nimport message as point cloud\" class=\"wp-image-11555\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/charger_tiff_comme_nuage.png?resize=1024%2C343&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/charger_tiff_comme_nuage.png?resize=300%2C100&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/charger_tiff_comme_nuage.png?resize=768%2C257&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/charger_tiff_comme_nuage.png?w=1060&amp;ssl=1 1060w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Click on <strong><em>Yes<\/em><\/strong>.<\/p>\n\n\n\n<p>As with the point cloud, the shift\/scale window appears.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"418\" data-attachment-id=\"11556\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/shift_scale_image_tiff\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?fit=2207%2C1442&amp;ssl=1\" data-orig-size=\"2207,1442\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"shift_scale_image_tiff\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?fit=640%2C418&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?resize=640%2C418&#038;ssl=1\" alt=\"image height correction in cloudcompare\" class=\"wp-image-11556\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?resize=1024%2C669&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?resize=300%2C196&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?resize=768%2C502&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?resize=1536%2C1004&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?resize=2048%2C1338&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/shift_scale_image_tiff.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Here we have a value to modify. You may have already realized that in the CloudCompare window we&rsquo;re in a 3D box that looks like our real world but has its own references. Unlike a GIS, which will determine whether two points in two different layers are in the same place by comparing their XY coordinates, in CloudCompare this will be done by calculating the distance in the internal 3D references. When you want to assign an RGB value to a point in the point cloud, it will look for the nearest pixel in the image. But as we&rsquo;re in a 3D world, this pixel isn&rsquo;t necessarily the one with the same XY, it&rsquo;s the one with the smallest XYZ distance. In rough terrain, this can be very different from the result you&rsquo;d get with a GIS.<\/p>\n\n\n\n<p>When we loaded the point cloud (see image above), the Z values were around 589 meters. Our orthophoto has no Z coordinates, i.e. it has Z values =0. If we were to leave the Z offset unchanged (with a value of 0), we can be sure that the nearest points would not correspond to the correct XY coordinates. We&rsquo;ll shift the image pixels by 589 meters. This will bring the two layers very close together and minimize errors.<\/p>\n\n\n\n<p>If we enter this value as 589, the image will be in the middle of the point cloud.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" data-attachment-id=\"11557\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/image_et_nuage_dans_cloudcompare\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?fit=3842%2C2160&amp;ssl=1\" data-orig-size=\"3842,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image_et_nuage_dans_cloudcompare\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?fit=640%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?resize=640%2C360&#038;ssl=1\" alt=\"\nlidar and orthophoto display in cloudcompare\" class=\"wp-image-11557\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?resize=2048%2C1151&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/image_et_nuage_dans_cloudcompare.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Pre-treatment for colorizing<\/h3>\n\n\n\n<p>You&rsquo;d think we&rsquo;d have all the ingredients we need for our colorization operation. But the problem is that we have two layers of dots, each with millions of dots. Finding the correspondence between these two layers would take far too much time. One way of significantly reducing this processing time is to create a TIN raster of our photo. Then we can use the vertices of the TIN to colorize our LIDAR cloud.<\/p>\n\n\n\n<p>To create a TIN, click on the photo layer in the layer list, then on CloudCompare&rsquo;s Raster tool.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"11559\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/outil_raster_cloudcompare\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?fit=2458%2C384&amp;ssl=1\" data-orig-size=\"2458,384\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"outil_raster_cloudcompare\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?fit=640%2C100&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?resize=640%2C100&#038;ssl=1\" alt=\"rasterize button in cloudcompare\" class=\"wp-image-11559\" width=\"640\" height=\"100\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?resize=1024%2C160&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?resize=300%2C47&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?resize=768%2C120&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?resize=1536%2C240&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?resize=2048%2C320&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/outil_raster_cloudcompare.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>This brings up the raster transformation configuration window.<\/p>\n\n\n\n<p>Except in exceptional cases, you&rsquo;ll see an <strong><em>invalid grid box<\/em><\/strong> message in the <strong><em>size <\/em><\/strong>parameter. Don&rsquo;t worry, click on the <strong><em>Edit Grid<\/em><\/strong> button and, in the window that opens, tick the <strong><em>keep square<\/em><\/strong> box, then click on <strong><em>OK<\/em><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"546\" data-attachment-id=\"11560\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/correction_grille_raster\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?fit=2519%2C2148&amp;ssl=1\" data-orig-size=\"2519,2148\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"correction_grille_raster\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?fit=640%2C546&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?resize=640%2C546&#038;ssl=1\" alt=\"raster grid correction cloudcompare\" class=\"wp-image-11560\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?resize=1024%2C873&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?resize=300%2C256&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?resize=768%2C655&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?resize=1536%2C1310&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?resize=2048%2C1746&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/correction_grille_raster.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>The step parameter indicates the precision of the grid. The default setting is 1 metre, which gives good results, but you can increase the precision, bearing in mind that this will increase processing times.<\/p>\n\n\n\n<p>In <strong><em>Active Layer<\/em><\/strong>, select <strong><em>RGB<\/em><\/strong><\/p>\n\n\n\n<p>The direction parameter should be set to Z for horizontal interpolation and the <strong><em>cell height<\/em><\/strong> you can leave at minimum or change it, but it won&rsquo;t really make a difference.<\/p>\n\n\n\n<p>Click on <strong><em>Update grid <\/em><\/strong>and you&rsquo;ll see a preview of the result<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"569\" data-attachment-id=\"11562\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/configure_raster_cloudcompare\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?fit=2417%2C2148&amp;ssl=1\" data-orig-size=\"2417,2148\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"configure_raster_cloudcompare\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?fit=640%2C569&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?resize=640%2C569&#038;ssl=1\" alt=\"grid to be used for cloudcompare rasterization\" class=\"wp-image-11562\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?resize=1024%2C910&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?resize=300%2C267&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?resize=768%2C683&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?resize=1536%2C1365&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?resize=2048%2C1820&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/configure_raster_cloudcompare.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>You can uncheck <strong><em>Export statistics<\/em><\/strong>, then click on <strong><em>Mesh <\/em><\/strong>to start creating the TIN.<\/p>\n\n\n\n<p>You&rsquo;ll see the TIN added to the list of project layers. You can then close the rasterization window.<\/p>\n\n\n\n<p>You can uncheck the original ortho in the layer list to see the TIN that will be used.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Colorizing the point cloud<\/h2>\n\n\n\n<p>Now we&rsquo;re ready to transfer the colors from the TIN to our LIDAR cloud. Select the <strong><em>vertices <\/em><\/strong>layer and the <strong><em>Lidar <\/em><\/strong>layer<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/couches_coloriser.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"440\" data-attachment-id=\"11563\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/couches_coloriser\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/couches_coloriser.png?fit=768%2C528&amp;ssl=1\" data-orig-size=\"768,528\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"couches_coloriser\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/couches_coloriser.png?fit=640%2C440&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/couches_coloriser.png?resize=640%2C440&#038;ssl=1\" alt=\"layer selection for colorization\" class=\"wp-image-11563\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/couches_coloriser.png?w=768&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/couches_coloriser.png?resize=300%2C206&amp;ssl=1 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>To colorize, we&rsquo;ll use the <strong><em>Edit -&gt; Color -&gt; Interpolate from another entity menu.<\/em><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/menu_coloriser.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"373\" data-attachment-id=\"11564\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/menu_coloriser\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/menu_coloriser.png?fit=1556%2C905&amp;ssl=1\" data-orig-size=\"1556,905\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"menu_coloriser\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/menu_coloriser.png?fit=640%2C373&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/menu_coloriser.png?resize=640%2C373&#038;ssl=1\" alt=\"interpolate from another entity cloudcompare\" class=\"wp-image-11564\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/menu_coloriser.png?resize=1024%2C596&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/menu_coloriser.png?resize=300%2C174&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/menu_coloriser.png?resize=768%2C447&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/menu_coloriser.png?resize=1536%2C893&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/menu_coloriser.png?w=1556&amp;ssl=1 1556w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/menu_coloriser.png?w=1280&amp;ssl=1 1280w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>As soon as you click on the menu, the command is executed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/execution_coloriser.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" data-attachment-id=\"11565\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/execution_coloriser\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/execution_coloriser.png?fit=1860%2C1046&amp;ssl=1\" data-orig-size=\"1860,1046\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"execution_coloriser\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/execution_coloriser.png?fit=640%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/execution_coloriser.png?resize=640%2C360&#038;ssl=1\" alt=\"start colorize processing\" class=\"wp-image-11565\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/execution_coloriser.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/execution_coloriser.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/execution_coloriser.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/execution_coloriser.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/execution_coloriser.png?w=1860&amp;ssl=1 1860w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/execution_coloriser.png?w=1280&amp;ssl=1 1280w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>CloudCompare doesn&rsquo;t ask which layer is the source and which is the destination. It assumes that the source layer is the one with RGB values and the destination layer is the one without. If both have values set, you must first use the <strong><em>CLEAR <\/em><\/strong>command on the destination layer..<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/commande_clear_color.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"330\" data-attachment-id=\"11567\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/commande_clear_color\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/commande_clear_color.png?fit=1539%2C793&amp;ssl=1\" data-orig-size=\"1539,793\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"commande_clear_color\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/commande_clear_color.png?fit=640%2C330&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/commande_clear_color.png?resize=640%2C330&#038;ssl=1\" alt=\"clear colors menu cloudcompare\" class=\"wp-image-11567\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/commande_clear_color.png?resize=1024%2C528&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/commande_clear_color.png?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/commande_clear_color.png?resize=768%2C396&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/commande_clear_color.png?resize=1536%2C791&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/commande_clear_color.png?w=1539&amp;ssl=1 1539w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/commande_clear_color.png?w=1280&amp;ssl=1 1280w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>The result of our command, after waiting patiently for processing to finish, is:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" data-attachment-id=\"11566\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/resultat_coloriser\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?fit=3842%2C2160&amp;ssl=1\" data-orig-size=\"3842,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"resultat_coloriser\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?fit=640%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?resize=640%2C360&#038;ssl=1\" alt=\"result colorize cloudcompare\" class=\"wp-image-11566\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?resize=2048%2C1151&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/resultat_coloriser.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>All that remains is to export the result as a .las or .laz file<\/p>\n\n\n\n<p>Select the original LIDAR layer, which now has RGB values, then in the <strong><em>File-&gt;Save<\/em><\/strong> menu. Enter a name (here <strong><em>resultat<\/em><\/strong>) and the desired extension (.las or .laz). You&rsquo;ll have your new, colorized LIDAR cloud ready for loading into QGis:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" data-attachment-id=\"11568\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/lidar_colorise\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?fit=3842%2C2160&amp;ssl=1\" data-orig-size=\"3842,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"lidar_colorise\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?fit=640%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?resize=640%2C360&#038;ssl=1\" alt=\"display colorize qgis\" class=\"wp-image-11568\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?resize=2048%2C1151&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/lidar_colorise.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Zoom in to see the colorized points.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"360\" data-attachment-id=\"11569\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/qgis-pour-lidarcoloriser-a-partir-dune-image\/zoom_lidar_colorise\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?fit=3842%2C2160&amp;ssl=1\" data-orig-size=\"3842,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"zoom_lidar_colorise\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?fit=640%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?resize=640%2C360&#038;ssl=1\" alt=\"zoom display colorized cloud in qgis\" class=\"wp-image-11569\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?resize=2048%2C1151&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Tutoriel : LIDAR HD avec QGIS 3.32 In this article you&rsquo;ll find out how to transfer colors (colorize) from an image or orthophoto to the points of a LIDAR cloud using CloudCompare. The result is an&hellip;<\/p>\n","protected":false},"author":1,"featured_media":11569,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"give_campaign_id":0,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2422],"tags":[2459,2543,2545,2090,2549,2547,1386],"class_list":["post-11581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lidar-en","tag-cloudcompare-en","tag-colorize","tag-data","tag-lidar-en","tag-orthophotography","tag-points-clouds","tag-qgis-en"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/07\/zoom_lidar_colorise.png?fit=3842%2C2160&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-30N","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/11581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/comments?post=11581"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/11581\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media\/11569"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=11581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=11581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=11581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}